-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathUIKeyboard.h
More file actions
82 lines (76 loc) · 2.89 KB
/
Copy pathUIKeyboard.h
File metadata and controls
82 lines (76 loc) · 2.89 KB
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
/**
* This header is generated by class-dump-z 0.1-11o.
* class-dump-z is Copyright (C) 2009 by KennyTM~, licensed under GPLv3.
*/
#import "UIKeyboard.h"
#import <UIKit/UIView.h>
typedef struct UIKeyboardAnimationGeometry {
CGPoint _field1;
CGPoint _field2;
CGRect _field3;
CGAffineTransform _field4;
} UIKeyboardAnimationGeometry;
@class UIImage, UITextInputTraits;
@interface UIKeyboard : UIView {
UIImage* m_snapshot;
UITextInputTraits* m_defaultTraits;
BOOL m_typingDisabled;
}
+(id)activeKeyboard;
+(void)initImplementationNow;
+(void)removeAllDynamicDictionaries;
+(CGSize)defaultSize;
+(CGSize)defaultSizeForInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation;
+(CGRect)defaultFrameForInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation;
+(CGSize)defaultSizeForOrientation:(int)orientation;
-(id)initWithFrame:(CGRect)frame;
-(id)initWithDefaultSize;
-(void)dealloc;
-(void)setFrame:(CGRect)frame;
-(void)updateLayout;
-(int)orientation;
-(BOOL)pointInside:(CGPoint)inside forEvent:(GSEventRef)event;
-(BOOL)pointInside:(CGPoint)inside withEvent:(id)event;
-(void)prepareForGeometryChange;
-(void)geometryChangeDone:(BOOL)done;
-(void)removeAutocorrectPrompt;
-(void)acceptAutocorrection;
-(void)setCaretBlinks:(BOOL)blinks;
-(void)setCaretVisible:(BOOL)visible;
-(BOOL)returnKeyEnabled;
-(void)setReturnKeyEnabled:(BOOL)enabled;
-(UITextInputTraits*)defaultTextInputTraits;
-(void)setDefaultTextInputTraits:(UITextInputTraits*)traits;
-(id)delegate;
-(void)clearSnapshot;
-(void)takeSnapshot;
-(void)activate;
-(void)deactivate;
-(void)movedFromSuperview:(id)superview;
-(void)removeFromSuperview;
-(void)drawRect:(CGRect)rect;
-(void)mouseDown:(GSEventRef)down;
-(void)mouseUp:(GSEventRef)up;
-(void)mouseDragged:(GSEventRef)dragged;
-(int)textEffectsVisibilityLevel;
-(void)_setTypingEnabled:(BOOL)enabled;
-(BOOL)_typingEnabled;
-(id)hitTest:(CGPoint)test withEvent:(id)event;
-(void)touchesBegan:(id)began withEvent:(id)event;
-(void)touchesMoved:(id)moved withEvent:(id)event;
-(void)touchesEnded:(id)ended withEvent:(id)event;
-(void)touchesCancelled:(id)cancelled withEvent:(id)event;
@end
@interface UIKeyboard (UIKeyboardAutomaticAppearance)
+(id)automaticKeyboard;
+(id)containerWindow;
+(UIKeyboardAnimationGeometry)calculateAnimationGeometryForOrientation:(int)orientation;
+(UIKeyboardAnimationGeometry)calculateAnimationGeometryForOrientation:(int)orientation outDirection:(int)direction;
-(void)orderInWithAnimation:(BOOL)animation;
-(void)orderInWithAnimation:(BOOL)animation fromDirection:(int)direction duration:(double)duration;
-(void)orderOutWithAnimation:(BOOL)animation;
-(void)orderOutWithAnimation:(BOOL)animation toDirection:(int)direction duration:(double)duration;
-(void)keyboardAutomaticWillOrderIn:(id)keyboardAutomatic context:(void*)context;
-(void)keyboardAutomaticOrderIn:(id)anIn finished:(id)finished;
-(void)keyboardAutomaticOrderOut:(id)anOut finished:(id)finished;
@end