summaryrefslogtreecommitdiff
path: root/src/c_fl_double_window.h
blob: d518381a77be5bb007fbaff63a9e54c443439e69 (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


//  Programmed by Jedidiah Barber
//  Released into the public domain


#ifndef FL_DOUBLE_WINDOW_GUARD
#define FL_DOUBLE_WINDOW_GUARD


typedef void* DOUBLEWINDOW;


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);


extern "C" void fl_double_window_resize(DOUBLEWINDOW d, int x, int y, int w, int h);


extern "C" void fl_double_window_draw(DOUBLEWINDOW n);
extern "C" int fl_double_window_handle(DOUBLEWINDOW n, int e);


#endif