Changeset dc5c303 in mainline for uspace/lib/ui/private/menubar.h
- Timestamp:
- 2023-12-28T13:59:23Z (14 months ago)
- Children:
- 6b66de6b
- Parents:
- 42c2e65 (diff), f87ff8e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - git-author:
- boba-buba <120932204+boba-buba@…> (2023-12-28 13:59:23)
- git-committer:
- GitHub <noreply@…> (2023-12-28 13:59:23)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ui/private/menubar.h
r42c2e65 rdc5c303 42 42 #include <stdbool.h> 43 43 #include <types/common.h> 44 #include <types/ui/menu.h>45 44 #include <types/ui/menubar.h> 45 #include <types/ui/menudd.h> 46 46 47 47 /** Actual structure of menu bar. … … 60 60 /** Menu bar is active */ 61 61 bool active; 62 /** Selected menu or @c NULL */63 struct ui_menu *selected;64 /** List of menu s (ui_menu_t) */65 list_t menu s;62 /** Selected menu drop-down or @c NULL */ 63 struct ui_menu_dd *selected; 64 /** List of menu drop-downs (ui_menu_dd_t) */ 65 list_t menudds; 66 66 }; 67 67 68 extern void ui_menu_bar_select(ui_menu_bar_t *, ui_menu_t *, bool, sysarg_t); 68 extern void ui_menu_bar_select(ui_menu_bar_t *, ui_menu_dd_t *, bool, sysarg_t); 69 extern void ui_menu_bar_select_sysmenu(ui_menu_bar_t *, bool, sysarg_t); 69 70 extern void ui_menu_bar_left(ui_menu_bar_t *, sysarg_t); 70 71 extern void ui_menu_bar_right(ui_menu_bar_t *, sysarg_t); 71 72 extern ui_evclaim_t ui_menu_bar_key_press_unmod(ui_menu_bar_t *, kbd_event_t *); 72 extern void ui_menu_bar_entry_rect(ui_menu_bar_t *, ui_menu_t *, gfx_rect_t *); 73 extern void ui_menu_bar_entry_rect(ui_menu_bar_t *, ui_menu_dd_t *, 74 gfx_rect_t *); 73 75 74 76 #endif
Note:
See TracChangeset
for help on using the changeset viewer.