summaryrefslogtreecommitdiff
path: root/src/c_fl_input_choice.h
blob: 2535b93599093cbe093ad37517c60a663ceacd5e (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52


#ifndef FL_INPUT_CHOICE_GUARD
#define FL_INPUT_CHOICE_GUARD




typedef void* INPUT_CHOICE;




extern "C" inline void input_choice_set_draw_hook(INPUT_CHOICE n, void * d);
extern "C" inline void fl_input_choice_draw(INPUT_CHOICE n);
extern "C" inline void input_choice_set_handle_hook(INPUT_CHOICE n, void * h);
extern "C" inline int fl_input_choice_handle(INPUT_CHOICE n, int e);




extern "C" inline INPUT_CHOICE new_fl_input_choice(int x, int y, int w, int h, char* label);
extern "C" inline void free_fl_input_choice(INPUT_CHOICE n);




extern "C" inline void * fl_input_choice_input(INPUT_CHOICE n);
extern "C" inline void * fl_input_choice_menubutton(INPUT_CHOICE n);


extern "C" inline void fl_input_choice_clear(INPUT_CHOICE n);


extern "C" inline int fl_input_choice_changed(INPUT_CHOICE n);
extern "C" inline void fl_input_choice_clear_changed(INPUT_CHOICE n);
extern "C" inline void fl_input_choice_set_changed(INPUT_CHOICE n);
extern "C" inline int fl_input_choice_get_down_box(INPUT_CHOICE n);
extern "C" inline void fl_input_choice_set_down_box(INPUT_CHOICE n, int t);
extern "C" inline unsigned int fl_input_choice_get_textcolor(INPUT_CHOICE n);
extern "C" inline void fl_input_choice_set_textcolor(INPUT_CHOICE n, unsigned int t);
extern "C" inline int fl_input_choice_get_textfont(INPUT_CHOICE n);
extern "C" inline void fl_input_choice_set_textfont(INPUT_CHOICE n, int t);
extern "C" inline int fl_input_choice_get_textsize(INPUT_CHOICE n);
extern "C" inline void fl_input_choice_set_textsize(INPUT_CHOICE n, int t);
extern "C" inline const char * fl_input_choice_get_value(INPUT_CHOICE n);
extern "C" inline void fl_input_choice_set_value(INPUT_CHOICE n, const char * t);
extern "C" inline void fl_input_choice_set_value2(INPUT_CHOICE n, int t);


#endif