11 #import <UIKit/UIKit.h>
14 @protocol TouchPointerDelegate
16 - (void)touchPointerClose;
18 - (void)touchPointerLeftClick:(CGPoint)pos down:(BOOL)down;
20 - (void)touchPointerRightClick:(CGPoint)pos down:(BOOL)down;
22 - (void)touchPointerMove:(CGPoint)pos;
24 - (void)touchPointerScrollDown:(BOOL)down;
26 - (void)touchPointerToggleKeyboard;
28 - (void)touchPointerToggleExtendedKeyboard;
30 - (void)touchPointerResetSessionView;
36 CGAffineTransform _pointer_transformation;
37 UIImage *_cur_pointer_img;
40 UIImage *_default_pointer_img;
41 UIImage *_active_pointer_img;
42 UIImage *_lclick_pointer_img;
43 UIImage *_rclick_pointer_img;
44 UIImage *_scroll_pointer_img;
45 UIImage *_extkeyboard_pointer_img;
46 UIImage *_keyboard_pointer_img;
47 UIImage *_reset_pointer_img;
50 CGRect _pointer_areas[9];
53 CGPoint _prev_touch_location;
55 BOOL _pointer_scrolling;
57 NSObject<TouchPointerDelegate> *_delegate;
60 @property(assign) IBOutlet NSObject<TouchPointerDelegate> *delegate;
64 - (void)ensurePointerIsVisible;
68 - (UIEdgeInsets)getEdgeInsets;
71 - (CGPoint)getPointerPosition;
72 - (int)getPointerWidth;
73 - (int)getPointerHeight;