wasm-canvas
window.h
Go to the documentation of this file.
1 
8 #ifndef WINDOW_H
9 #define WINDOW_H
10 
11 #include <emscripten.h>
12 #include <stdlib.h>
13 
14 typedef struct HTMLWindow HTMLWindow;
15 
17 static HTMLWindow *current;
18 
39 struct HTMLWindow
40 {
41  int (*getInnerHeight)();
42  int (*getInnerWidth)();
43  int (*getOuterHeight)();
44  int (*getOuterWidth)();
45  void (*blur)();
46 };
47 
59 
60 void freeWindow(HTMLWindow *window);
61 
62 #endif
HTMLWindow * Window()
Definition: window.c:43
Definition: window.h:39