ZDChatroomAlertView.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. //
  2. // ZDChatroomAlertView.h
  3. // Zhidao
  4. //
  5. // Created by zhuchao on 13-10-9.
  6. // Copyright (c) 2013年 Baidu. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. @interface ZDChatroomAlertView : UIView
  10. @property(nonatomic,assign) CGFloat rectangleWidth;
  11. @property(nonatomic,assign) CGFloat rectangleHeight;
  12. @property(nonatomic,assign) CGFloat blackAlpha;
  13. @property(nonatomic,assign) CGFloat cornerRadio;
  14. //调整位置
  15. @property(nonatomic,assign) CGPoint offSet;//透明矩形的便宜量
  16. @property(nonatomic,assign) CGPoint customImageOffSet;//自定义图片的便宜量
  17. @property(nonatomic,assign) CGPoint label1OffSet;//自定义图片的便宜量
  18. @property(nonatomic,assign) CGFloat label1LeftAndRightMarign;//自定义图片的便宜量
  19. @property(nonatomic,strong) UIImageView *customImageView;
  20. @property(nonatomic,strong) UILabel *label1;
  21. @property(nonatomic,strong) UILabel *label2;
  22. @property(nonatomic,strong) UIView *customView;
  23. @property(nonatomic,assign) CGPoint customViewOffSet;
  24. @property(nonatomic,strong) UITextField *textField;
  25. - (void)showInView:(UIView *)aView;
  26. - (void)hideView;
  27. @end