GiftSubView.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. //
  2. // GiftSubView.h
  3. // BuguLive
  4. //
  5. // Created by xfg on 16/5/20.
  6. // Copyright © 2016年 xfg. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. @protocol GiftSubViewDelegate <NSObject>
  10. @required
  11. - (void)cateBtn:(int)indexTag index_x:(NSInteger)index_x index_y:(NSInteger)index_y;
  12. @end
  13. @interface GiftSubView : UIView
  14. @property (nonatomic, weak) id<GiftSubViewDelegate>delegate;
  15. @property (nonatomic, strong) UIButton *bottomBtn;
  16. @property (nonatomic, strong) FLAnimatedImageView *imgView;
  17. @property (nonatomic, strong) UIImageView *diamondsImgView;
  18. @property (nonatomic, strong) UILabel *diamondsLabel; //需要钻石数量
  19. @property (nonatomic, strong) UILabel *txtLabel;
  20. @property (nonatomic, strong) UIImageView *continueImgView; //连
  21. @property (nonatomic, strong) UIImageView *luckyImgView;//幸运
  22. //@property (nonatomic, strong) UILabel *luckLabel;//幸
  23. @property (nonatomic, strong) UIButton *luckBtn;//幸
  24. //二维数组坐标
  25. @property (nonatomic, assign) NSInteger index_x;
  26. @property (nonatomic, assign) NSInteger index_y;
  27. - (void)resetDiamondsFrame;
  28. @end