Changeset 1c6c3e1d in mainline for uspace/lib/ui/private/menubar.h
- Timestamp:
- 2023-10-22T17:55:33Z (20 months ago)
- Branches:
- ticket/834-toolchain-update
- Children:
- 350ec74
- Parents:
- 315d487 (diff), 133461c (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ui/private/menubar.h
r315d487 r1c6c3e1d 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.