Changeset b8b64a8 in mainline for uspace/lib/ui/private
- Timestamp:
- 2021-04-12T15:52:12Z (5 years ago)
- Branches:
- master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6186f9f
- Parents:
- d65accb
- Location:
- uspace/lib/ui/private
- Files:
-
- 2 edited
-
menu.h (modified) (1 diff)
-
menuentry.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ui/private/menu.h
rd65accb rb8b64a8 58 58 /** Selected menu entry or @c NULL */ 59 59 struct ui_menu_entry *selected; 60 /** Maximum entry width */ 61 gfx_coord_t max_w; 60 /** Maximum caption width */ 61 gfx_coord_t max_caption_w; 62 /** Maximum shortcut width */ 63 gfx_coord_t max_shortcut_w; 62 64 /** Total entry height */ 63 65 gfx_coord_t total_h; -
uspace/lib/ui/private/menuentry.h
rd65accb rb8b64a8 61 61 /** Caption */ 62 62 char *caption; 63 /** Shortcut key(s) */ 64 char *shortcut; 63 65 }; 64 66 … … 70 72 /** Outer rectangle */ 71 73 gfx_rect_t outer_rect; 72 /** Text position */ 73 gfx_coord2_t text_pos; 74 /** Caption position */ 75 gfx_coord2_t caption_pos; 76 /** Shortcut position */ 77 gfx_coord2_t shortcut_pos; 74 78 } ui_menu_entry_geom_t; 75 79
Note:
See TracChangeset
for help on using the changeset viewer.
