summaryrefslogtreecommitdiff
path: root/src/c_fl_output.h
blob: dba1b8aaa7914552c695f71067aa99d554e93b63 (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_OUTPUT_GUARD
#define FL_OUTPUT_GUARD




//  using just "OUTPUT" doesn't compile for some reason
//  some sort of name clash?
typedef void* OUTPUTT;




extern "C" void output_set_draw_hook(OUTPUTT i, void * d);
extern "C" void fl_output_draw(OUTPUTT i);
extern "C" void output_set_handle_hook(OUTPUTT i, void * h);
extern "C" int fl_output_handle(OUTPUTT i, int e);




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