7 #import <UIKit/UIKit.h>
15 @interface BView : UIView
21 GLuint _defaultFramebuffer, _colorRenderbuffer, _depthRenderbuffer;
24 CAEAGLLayer *_eaglLayer;
27 EAGLContext *_context;
30 bool _singleTapRecognized;
31 bool _doubleTapRecognized;
32 CGPoint _lastDoubleTapLocation;
33 CGPoint _lastSingleTapLocation;
38 -(void)bindFramebuffer;
39 -(void)presentRenderbuffer;
40 -(bool)setContextCurrent;
44 -(int)getViewPositionX;
45 -(int)getViewPositionY;
48 -(void)setViewWidth:(GLint)w setViewHeight : (GLint)h;
49 -(void)setViewPositionX:(GLint)x setViewPositionY : (GLint)y;
53 -(bool)singleTapRecognized;
54 -(bool)doubleTapRecognized;
55 -(
Touch)getLastSingleTapLocation;
56 -(
Touch)getLastDoubleTapLocation;
An object that holds the characteristics of a touch on a touch screen.
Definition: Touch.h:9
std::map< int, Touch > TouchMap
Definition: Touch.h:20