Vuo  2.3.2
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);
42 
44 (
45  void (*initCallback)(void *, float backingScaleFactor),
46  void (*updateBackingCallback)(void *, float backingScaleFactor),
47  void (*resizeCallback)(void *, unsigned int, unsigned int),
48  VuoIoSurface (*drawCallback)(void *),
49  void *context
50 );
52 (
54  VuoOutputTrigger(updatedWindow, VuoRenderedLayers)
55 );
57 (
59  VuoOutputTrigger(showedWindow, VuoWindowReference),
60  VuoOutputTrigger(requestedFrame, VuoReal)
61 );
65 void VuoWindowOpenGl_setAspectRatio(VuoWindowOpenGl w, unsigned int pixelsWide, unsigned int pixelsHigh);
67 void VuoWindowOpenGl_close(VuoWindowOpenGl w, void (^closedHandler)(void));
68 
69 #ifdef __cplusplus
70 }
71 #endif