Changeset dc5c303 in mainline for uspace/lib/ui/private/menudd.h
- Timestamp:
- 2023-12-28T13:59:23Z (22 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 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ui/private/menudd.h
r42c2e65 rdc5c303 1 1 /* 2 * Copyright (c) 20 05 Ondrej Palkovsky2 * Copyright (c) 2023 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 27 27 */ 28 28 29 /** @addtogroup kernel_generic29 /** @addtogroup libui 30 30 * @{ 31 31 */ 32 /** @file 32 /** 33 * @file Menu drop-down structure 34 * 33 35 */ 34 36 35 #ifndef KERN_SYMTAB_LOOKUP_H_36 #define KERN_SYMTAB_LOOKUP_H_37 #ifndef _UI_PRIVATE_MENUDD_H 38 #define _UI_PRIVATE_MENUDD_H 37 39 38 #include <typedefs.h> 40 #include <adt/list.h> 41 #include <gfx/coord.h> 42 #include <stdbool.h> 43 #include <types/ui/menudd.h> 44 #include <types/ui/resource.h> 39 45 40 #define MAX_SYMBOL_NAME 64 41 42 struct symtab_entry { 43 uint64_t address_le; 44 char symbol_name[MAX_SYMBOL_NAME]; 46 /** Actual structure of menu drop-down. 47 * 48 * This is private to libui. 49 */ 50 struct ui_menu_dd { 51 /** Containing menu bar */ 52 struct ui_menu_bar *mbar; 53 /** Link to @c bar->menudds */ 54 link_t lmenudds; 55 /** Caption */ 56 char *caption; 57 /** Popup window or @c NULL if drop-down is not currently open */ 58 struct ui_popup *popup; 59 /** Actual menu */ 60 struct ui_menu *menu; 45 61 }; 46 47 extern errno_t symtab_name_lookup(uintptr_t, const char **, uintptr_t *);48 extern const char *symtab_fmt_name_lookup(uintptr_t);49 extern errno_t symtab_addr_lookup(const char *, uintptr_t *);50 51 #ifdef CONFIG_SYMTAB52 53 /** Symtable linked together by build process54 *55 */56 extern struct symtab_entry symbol_table[];57 58 #endif /* CONFIG_SYMTAB */59 62 60 63 #endif
Note:
See TracChangeset
for help on using the changeset viewer.