summaryrefslogtreecommitdiff
path: root/src/c_fl_secret_input.h
blob: 58fc88a51ceb930fb990e09e30da423a02462aec (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


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


#ifndef FL_SECRET_INPUT_GUARD
#define FL_SECRET_INPUT_GUARD




typedef void* SECRET_INPUT;




extern "C" void secret_input_set_draw_hook(SECRET_INPUT i, void * d);
extern "C" void fl_secret_input_draw(SECRET_INPUT i);
extern "C" void secret_input_set_handle_hook(SECRET_INPUT i, void * h);
extern "C" int fl_secret_input_handle(SECRET_INPUT i, int e);




extern "C" SECRET_INPUT new_fl_secret_input(int x, int y, int w, int h, char* label);
extern "C" void free_fl_secret_input(SECRET_INPUT i);


#endif