Vuo  2.0.0
VuoWindow.h
Go to the documentation of this file.
1 
10 #ifdef __cplusplus
11 extern "C"
12 {
13 #endif
14 
15 #include "node.h"
16 #include "VuoRenderedLayers.h"
17 
18 #include <stdint.h>
19 
23 typedef void * VuoWindowText;
24 
28 typedef void * VuoWindowOpenGl;
29 
32 (
33  VuoWindowText w,
34  VuoOutputTrigger(typedLine, VuoText),
35  VuoOutputTrigger(typedWord, VuoText),
36  VuoOutputTrigger(typedCharacter, VuoText)
37 );
39 void VuoWindowText_appendLine(VuoWindowText w, const char *text);
41 
43 (
44  void (*initCallback)(void *, float backingScaleFactor),
45  void (*updateBackingCallback)(void *, float backingScaleFactor),
46  void (*resizeCallback)(void *, unsigned int, unsigned int),
47  VuoIoSurface (*drawCallback)(void *),
48  void *context
49 );
51 (
53  VuoOutputTrigger(updatedWindow, VuoRenderedLayers)
54 );
56 (
58  VuoOutputTrigger(showedWindow, VuoWindowReference),
59  VuoOutputTrigger(requestedFrame, VuoReal)
60 );
64 void VuoWindowOpenGl_setAspectRatio(VuoWindowOpenGl w, unsigned int pixelsWide, unsigned int pixelsHigh);
66 void VuoWindowOpenGl_close(VuoWindowOpenGl w, void (^closedHandler)(void));
67 
68 #ifdef __cplusplus
69 }
70 #endif