HMCenterPopView.h 829 B

1234567891011121314151617181920212223242526272829303132333435
  1. //
  2. // HMCenterPopView.h
  3. // BuguLive
  4. //
  5. // Created by 范东 on 2019/1/16.
  6. // Copyright © 2019 xfg. All rights reserved.
  7. //
  8. #import "BGBaseView.h"
  9. NS_ASSUME_NONNULL_BEGIN
  10. typedef NS_ENUM(NSInteger, HMCenterPopViewBtnType) {
  11. HMCenterPopViewBtnTypeLive,
  12. HMCenterPopViewBtnTypeVideo,
  13. HMCenterPopViewBtnTypeClose
  14. };
  15. typedef void(^clickPopViewBtnBlock)(HMCenterPopViewBtnType type);
  16. @interface HMCenterPopView : BGBaseView
  17. @property (weak, nonatomic) IBOutlet QMUIButton *liveBtn;
  18. @property (weak, nonatomic) IBOutlet QMUIButton *videoBtn;
  19. @property (weak, nonatomic) IBOutlet QMUIButton *dynamicBtn;
  20. @property (weak, nonatomic) IBOutlet QMUIButton *voice;
  21. - (void)show:(UIView *)superView;
  22. - (void)hide;
  23. - (void)setClickPopViewBtnBlock:(clickPopViewBtnBlock)clickPopViewBtnBlock;
  24. @end
  25. NS_ASSUME_NONNULL_END