blob: ce90cbc4eff83fac0e8336b535d59e3732f008ad (
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
53
54
55
56
57
58
59
60
61
|
#ifndef FL_MENU_ITEM_GUARD
#define FL_MENU_ITEM_GUARD
typedef void* MENU_ITEM;
extern "C" void * new_fl_menu_item(char * t, void * c, unsigned long s, unsigned long f);
extern "C" void free_fl_menu_item(MENU_ITEM mi);
extern "C" void * fl_menu_item_get_user_data(MENU_ITEM mi);
extern "C" void fl_menu_item_set_user_data(MENU_ITEM mi, void * c);
extern "C" void fl_menu_item_do_callback(MENU_ITEM mi, void * w);
extern "C" int fl_menu_item_checkbox(MENU_ITEM mi);
extern "C" int fl_menu_item_radio(MENU_ITEM mi);
extern "C" int fl_menu_item_value(MENU_ITEM mi);
extern "C" void fl_menu_item_set(MENU_ITEM mi);
extern "C" void fl_menu_item_clear(MENU_ITEM mi);
extern "C" void fl_menu_item_setonly(MENU_ITEM mi);
extern "C" const char * fl_menu_item_get_label(MENU_ITEM mi);
extern "C" void fl_menu_item_set_label(MENU_ITEM mi, const char *t);
extern "C" unsigned int fl_menu_item_get_labelcolor(MENU_ITEM mi);
extern "C" void fl_menu_item_set_labelcolor(MENU_ITEM mi, unsigned int c);
extern "C" int fl_menu_item_get_labelfont(MENU_ITEM mi);
extern "C" void fl_menu_item_set_labelfont(MENU_ITEM mi, int f);
extern "C" int fl_menu_item_get_labelsize(MENU_ITEM mi);
extern "C" void fl_menu_item_set_labelsize(MENU_ITEM mi, int s);
extern "C" int fl_menu_item_get_labeltype(MENU_ITEM mi);
extern "C" void fl_menu_item_set_labeltype(MENU_ITEM mi, int t);
extern "C" int fl_menu_item_get_shortcut(MENU_ITEM mi);
extern "C" void fl_menu_item_set_shortcut(MENU_ITEM mi, int s);
extern "C" unsigned long fl_menu_item_get_flags(MENU_ITEM mi);
extern "C" void fl_menu_item_set_flags(MENU_ITEM mi, unsigned long f);
extern "C" void fl_menu_item_activate(MENU_ITEM mi);
extern "C" void fl_menu_item_deactivate(MENU_ITEM mi);
extern "C" void fl_menu_item_show(MENU_ITEM mi);
extern "C" void fl_menu_item_hide(MENU_ITEM mi);
extern "C" int fl_menu_item_active(MENU_ITEM mi);
extern "C" int fl_menu_item_visible(MENU_ITEM mi);
extern "C" int fl_menu_item_activevisible(MENU_ITEM mi);
#endif
|