summaryrefslogtreecommitdiff
path: root/src/c_fl_single_window.h
blob: 02a6619e1a550f4f7ea7f366230d66d608dfe2e5 (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


#ifndef FL_SINGLE_WINDOW_GUARD
#define FL_SINGLE_WINDOW_GUARD




typedef void* SINGLEWINDOW;




extern "C" void single_window_set_draw_hook(SINGLEWINDOW n, void * d);
extern "C" void fl_single_window_draw(SINGLEWINDOW n);
extern "C" void single_window_set_handle_hook(SINGLEWINDOW n, void * h);
extern "C" int fl_single_window_handle(SINGLEWINDOW n, int e);




extern "C" SINGLEWINDOW new_fl_single_window(int x, int y, int w, int h, char* label);
extern "C" SINGLEWINDOW new_fl_single_window2(int x, int y);
extern "C" void free_fl_single_window(SINGLEWINDOW w);




extern "C" void fl_single_window_show(SINGLEWINDOW w);
extern "C" void fl_single_window_flush(SINGLEWINDOW w);


#endif