JXTopMenuView.h 682 B

123456789101112131415161718192021222324252627
  1. //
  2. // JXTopMenuView.h
  3. // sjvodios
  4. //
  5. // Created by daxiong on 13-4-17.
  6. //
  7. //
  8. #define MAX_MENU_ITEM 20
  9. #import <UIKit/UIKit.h>
  10. @interface JXTopMenuView : UIImageView{
  11. BOOL _showMore[MAX_MENU_ITEM];
  12. NSMutableArray* arrayBage;
  13. }
  14. @property (nonatomic,strong) NSMutableArray* arrayBtns;
  15. @property (nonatomic,strong) NSArray* items;
  16. @property (nonatomic, weak) NSObject* delegate;
  17. @property (nonatomic, assign) SEL onClick;
  18. @property (nonatomic, assign) int selected;
  19. -(void)unSelectAll;
  20. -(void)selectOne:(int)n;
  21. -(void)setBadge:(int)n title:(NSString*)s;
  22. -(void)setTitle:(int)n title:(NSString*)s;
  23. -(void)showMore:(int)index onSelected:(SEL)onSelected;
  24. @end