//
//  MenuButton.m
//  redstar
//
//  Created by admin on 15/10/27.
//  Copyright © 2015年 ZWF. All rights reserved.
//

#import "MenuButton.h"

@implementation MenuButton

- (CGRect)titleRectForContentRect:(CGRect)contentRect
{
    CGFloat w = self.frame.size.width;
    CGFloat h = self.frame.size.height;
    return CGRectMake(w / 2 - 30, 0, 32, h);
}
- (CGRect)imageRectForContentRect:(CGRect)contentRect;
{
    CGFloat w = self.frame.size.width;
    return CGRectMake(w / 2 + 3, 15, 13, 15);
}

- (void)setHighlighted:(BOOL)highlighted {
    
}

@end
