Vuo
0.5.1
|
Helper for VuoWindowOpenGLInternal
.
Instance Methods | |
(void) | - enableTriggersWithMovedMouseTo:scrolledMouse:usedMouseButton: |
Sets up the view to call trigger functions. | |
(void) | - disableTriggers |
Stops the view from calling trigger functions. | |
Protected Attributes | |
void(* | resizeCallback )(void *, unsigned int width, unsigned int height) |
Updates the OpenGL context when the view is resized. | |
void(* | drawCallback )(void *) |
Draws onto the OpenGL context. | |
void * | drawContext |
Argument to pass to callbacks (e.g. node instance data). | |
void(* | movedMouseTo )(VuoPoint2d) |
Trigger function, fired when the mouse moves. | |
void(* | scrolledMouse )(VuoPoint2d) |
Trigger function, fired when the mouse is scrolled. | |
void(* | usedMouseButton )(VuoMouseButtonAction) |
Trigger function, fired when a mouse button is used. | |
dispatch_queue_t | clickQueue |
Queue for processing mouse button clicks. | |
int | pendingClickCount |
The number of clicks elapsed so far. | |
Properties | |
VuoWindowOpenGLInternal * | glWindow |
The parent window; allows the view to access it while full-screen. | |
- (void) disableTriggers |
Stops the view from calling trigger functions.
- (void) enableTriggersWithMovedMouseTo: | (VuoPoint2d) | movedMouseTo | |
scrolledMouse: | (VuoPoint2d) | scrolledMouse | |
usedMouseButton: | (VuoMouseButtonAction) | usedMouseButton | |
Sets up the view to call trigger functions.
|
protected |
Queue for processing mouse button clicks.
|
protected |
Draws onto the OpenGL context.
|
protected |
Argument to pass to callbacks (e.g. node instance data).
|
protected |
Trigger function, fired when the mouse moves.
|
protected |
The number of clicks elapsed so far.
|
protected |
Updates the OpenGL context when the view is resized.
|
protected |
Trigger function, fired when the mouse is scrolled.
|
protected |
Trigger function, fired when a mouse button is used.
|
readwriteatomicretain |
The parent window; allows the view to access it while full-screen.