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

Changeset f251883 in mainline for uspace/lib/ui/private/menu.h


Ignore:
Timestamp:
2021-04-09T22:41:22Z (8 months ago)
Author:
jxsvoboda <5887334+jxsvoboda@…>
Branches:
master
Children:
f536a16
Parents:
62223ec
git-author:
Jiri Svoboda <jiri@…> (2021-04-01 21:31:24)
git-committer:
jxsvoboda <5887334+jxsvoboda@…> (2021-04-09 22:41:22)
Message:

Menu entries need to stretch to the width of the menu

File:
1 edited

Legend:

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

    r62223ec rf251883  
    5656        /** Selected menu entry or @c NULL */
    5757        struct ui_menu_entry *selected;
     58        /** Maximum entry width */
     59        gfx_coord_t max_w;
     60        /** Total entry height */
     61        gfx_coord_t total_h;
    5862        /** Menu entries (ui_menu_entry_t) */
    5963        list_t entries;
Note: See TracChangeset for help on using the changeset viewer.