summaryrefslogtreecommitdiff
path: root/src/c_fl_float_input.h
blob: 095b02e19f16c911766c10f8e3c3daa6c2e10df0 (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_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