Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset b8b64a8 in mainline for uspace/lib/ui/private/menuentry.h


Ignore:
Timestamp:
2021-04-12T15:52:12Z (8 months ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master
Children:
6186f9f
Parents:
d65accb
Message:

Add column with keyboard shortcuts to menu

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ui/private/menuentry.h

    rd65accb rb8b64a8  
    6161        /** Caption */
    6262        char *caption;
     63        /** Shortcut key(s) */
     64        char *shortcut;
    6365};
    6466
     
    7072        /** Outer rectangle */
    7173        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;
    7478} ui_menu_entry_geom_t;
    7579
Note: See TracChangeset for help on using the changeset viewer.