-
Notifications
You must be signed in to change notification settings - Fork 0
/
DrawerViewController.h
44 lines (35 loc) · 1.28 KB
/
DrawerViewController.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
//
// DrawerViewController.h
// SmartHome
//
// Created by Zhao yang on 8/2/13.
// Copyright (c) 2013 zhaoyang. All rights reserved.
// git dev test 2
#import <UIKit/UIKit.h>
#import <QuartzCore/QuartzCore.h>
#import "HTMenuView.h"
#import "HTSuitManager.h"
@interface DrawerViewController : UIViewController<UIScrollViewDelegate,HTCenterViewDelegate>
@property (nonatomic) CGFloat leftViewCenterX;
@property (nonatomic) CGFloat rightViewCenterX;
@property (nonatomic) CGFloat showDrawerMaxTrasitionX;
@property (nonatomic) CGFloat leftViewVisibleWidth;
@property (nonatomic) CGFloat rightViewVisibleWidth;
@property (nonatomic) BOOL panFromScrollViewFirstPage;
@property (nonatomic) BOOL panFromScrollViewLastPage;
@property (strong, nonatomic, readonly) UIView *mainView;
@property (strong, nonatomic) UIView *centerView;
@property (strong, nonatomic) UIView *leftView;
@property (strong, nonatomic) UIView *rightView;
@property (strong, nonatomic) UIScrollView *scrollView;
@property (nonatomic) BOOL isCtrlNextAnimation;
- (void)showRightView;
- (void)showCenterView:(BOOL)animate;
- (void)showLeftView;
- (void)removeRightMaskView;
//初始化之后生效
- (void)disableGestureForDrawerView;
- (void)enableGestureForDrawerView;
//必须初始化
- (void)initialDrawerViewController;
@end