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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
#ifndef FL_MENU_GUARD
#define FL_MENU_GUARD
typedef void* MENU;
extern "C" void menu_set_draw_hook(MENU m, void * d);
extern "C" void menu_set_handle_hook(MENU m, void * h);
extern "C" MENU new_fl_menu(int x, int y, int w, int h, char* label);
extern "C" void free_fl_menu(MENU m);
extern "C" int fl_menu_add(MENU m, const char * t, unsigned long s, void * c, void * u, unsigned long f);
extern "C" int fl_menu_insert(MENU m, int p, const char * t, unsigned long s, void * c, void * u, unsigned long f);
extern "C" void fl_menu_remove(MENU m, int p);
extern "C" void fl_menu_clear(MENU m);
extern "C" const void * fl_menu_get_item(MENU m, int i);
extern "C" const void * fl_menu_find_item(MENU m, const char * t);
extern "C" const void * fl_menu_find_item2(MENU m, void * cb);
extern "C" int fl_menu_find_index(MENU m, const char * t);
extern "C" int fl_menu_find_index2(MENU m, void * i);
extern "C" int fl_menu_find_index3(MENU m, void * cb);
extern "C" int fl_menu_size(MENU m);
extern "C" const void * fl_menu_mvalue(MENU m);
extern "C" const char * fl_menu_text(MENU m);
extern "C" int fl_menu_value(MENU m);
extern "C" int fl_menu_set_value(MENU m, int p);
extern "C" int fl_menu_set_value2(MENU m, void * i);
extern "C" unsigned int fl_menu_get_textcolor(MENU m);
extern "C" void fl_menu_set_textcolor(MENU m, unsigned int c);
extern "C" int fl_menu_get_textfont(MENU m);
extern "C" void fl_menu_set_textfont(MENU m, int f);
extern "C" int fl_menu_get_textsize(MENU m);
extern "C" void fl_menu_set_textsize(MENU m, int s);
extern "C" int fl_menu_get_down_box(MENU m);
extern "C" void fl_menu_set_down_box(MENU m, int t);
extern "C" void fl_menu_global(MENU m);
extern "C" int fl_menu_measure(MENU m, int i, int *h);
extern "C" const void * fl_menu_popup(MENU m, int x, int y, const char * t, int n);
extern "C" const void * fl_menu_pulldown(MENU m, int x, int y, int w, int h, int n);
extern "C" void fl_menu_draw_item(MENU m, int i, int x, int y, int w, int h, int s);
#endif
|