summaryrefslogtreecommitdiff
path: root/src/c_fl_input.h
blob: 231d84e6535a413cafb4d245ff8420f1dc1e6807 (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


#ifndef FL_INPUT_GUARD
#define FL_INPUT_GUARD


typedef void* INPUT;


extern "C" void input_set_draw_hook(INPUT n, void * d);
extern "C" void fl_input_draw(INPUT n);
extern "C" void input_set_handle_hook(INPUT i, void * h);
extern "C" int fl_input_handle(INPUT i, int e);


extern "C" INPUT new_fl_input(int x, int y, int w, int h, char* label);
extern "C" void free_fl_input(INPUT i);


extern "C" const char * fl_input_get_value(INPUT i);


#endif