34 |
34 |
35 #ifdef __cplusplus |
35 #ifdef __cplusplus |
36 extern "C" { |
36 extern "C" { |
37 #endif |
37 #endif |
38 |
38 |
|
39 typedef void(*ui_menu_add_f)(Widget, int, UiMenuItemI*, UiObject*); |
|
40 |
|
41 void ui_create_menubar(UiObject *obj, Widget window); |
|
42 void ui_add_menu_widget(Widget parent, int i, UiMenuItemI *item, UiObject *obj); |
39 |
43 |
|
44 void add_menu_widget(Widget parent, int i, UiMenuItemI *item, UiObject *obj); |
|
45 void add_menuitem_widget(Widget parent, int i, UiMenuItemI *item, UiObject *obj); |
|
46 void add_menuitem_st_widget(Widget p, int i, UiMenuItemI *item, UiObject *obj); |
|
47 void add_menuseparator_widget(Widget p, int i, UiMenuItemI *item, UiObject *obj); |
|
48 void add_checkitem_widget(Widget p, int i, UiMenuItemI *item, UiObject *obj); |
|
49 void add_radioitem_widget(Widget p, int index, UiMenuItemI *item, UiObject *obj); |
|
50 void add_checkitemnv_widget(Widget p, int i, UiMenuItemI *item, UiObject *obj); |
|
51 void add_menuitem_list_widget(Widget p, int i, UiMenuItemI *item, UiObject *obj); |
40 |
52 |
41 #ifdef __cplusplus |
53 #ifdef __cplusplus |
42 } |
54 } |
43 #endif |
55 #endif |
44 |
56 |