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


#ifndef FL_FLOAT_INPUT_GUARD
#define FL_FLOAT_INPUT_GUARD


typedef void* FLOAT_INPUT;


extern "C" void float_input_set_draw_hook(FLOAT_INPUT i, void * d);
extern "C" void fl_float_input_draw(FLOAT_INPUT i);
extern "C" void float_input_set_handle_hook(FLOAT_INPUT i, void * h);
extern "C" int fl_float_input_handle(FLOAT_INPUT i, int e);


extern "C" FLOAT_INPUT new_fl_float_input(int x, int y, int w, int h, char* label);
extern "C" void free_fl_float_input(FLOAT_INPUT i);


#endif