menuImageView.h 788 B

12345678910111213141516171819202122232425262728293031
  1. //
  2. // menuImageView.h
  3. // sjvodios
  4. //
  5. // Created by daxiong on 13-4-17.
  6. //
  7. //
  8. #import <UIKit/UIKit.h>
  9. @interface menuImageView : UIImageView{
  10. NSMutableArray* _arrayBtns;
  11. }
  12. @property (nonatomic,strong) NSMutableArray* arrayBtns;
  13. @property (nonatomic,strong) NSArray* items;
  14. @property (nonatomic,strong) UIFont* menuFont;
  15. @property (nonatomic, weak) NSObject* delegate;
  16. @property (nonatomic, assign) SEL onClick;
  17. @property (nonatomic, assign) int type;
  18. @property (nonatomic, assign) int offset;
  19. @property (nonatomic, assign) int itemWidth;
  20. @property (nonatomic, assign) int selected;
  21. @property (nonatomic, assign) BOOL showSelected;
  22. -(void)reset;
  23. -(void)draw;
  24. -(void)unSelectAll;
  25. -(void)selectOne:(int)n;
  26. -(void)setTitle:(int)n title:(NSString*)s;
  27. @end