summaryrefslogtreecommitdiff
path: root/src/c_fl_double_window.h
blob: d7ef32d15d922e7ad6fe1d2c5d6b96b6673fc0c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35


#ifndef FL_DOUBLE_WINDOW_GUARD
#define FL_DOUBLE_WINDOW_GUARD




typedef void* DOUBLEWINDOW;




extern "C" void double_window_set_draw_hook(DOUBLEWINDOW n, void * d);
extern "C" void fl_double_window_draw(DOUBLEWINDOW n);
extern "C" void double_window_set_handle_hook(DOUBLEWINDOW n, void * h);
extern "C" int fl_double_window_handle(DOUBLEWINDOW n, int e);




extern "C" DOUBLEWINDOW new_fl_double_window(int x, int y, int w, int h, char* label);
extern "C" DOUBLEWINDOW new_fl_double_window2(int w, int h, char* label);
extern "C" void free_fl_double_window(DOUBLEWINDOW d);




extern "C" void fl_double_window_show(DOUBLEWINDOW d);
extern "C" void fl_double_window_hide(DOUBLEWINDOW d);
extern "C" void fl_double_window_flush(DOUBLEWINDOW d);


#endif