summaryrefslogtreecommitdiff
path: root/src/c_fl_output.h
blob: da88cb160787b0996d9c26058cb318dd745e3b0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19


#ifndef FL_OUTPUT_GUARD
#define FL_OUTPUT_GUARD


//  using just "OUTPUT" doesn't compile for some reason
typedef void* OUTPUTT;


extern "C" void output_set_draw_hook(OUTPUTT n, void * d);
extern "C" void fl_output_draw(OUTPUTT n);

extern "C" OUTPUTT new_fl_output(int x, int y, int w, int h, char* label);
extern "C" void free_fl_output(OUTPUTT i);


#endif