Changeset 3c8c580 in mainline for uspace/lib/ui/private/menubar.h


Ignore:
Timestamp:
2021-06-10T13:22:33Z (3 years ago)
Author:
jxsvoboda <5887334+jxsvoboda@…>
Branches:
master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c68c18b9
Parents:
d091007
git-author:
Jiri Svoboda <jiri@…> (2021-05-20 15:34:03)
git-committer:
jxsvoboda <5887334+jxsvoboda@…> (2021-06-10 13:22:33)
Message:

Open menu in separate popup window (WIP)

File:
1 edited

Legend:

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

    rd091007 r3c8c580  
    5050        /** Base control object */
    5151        struct ui_control *control;
    52         /** UI resource */
     52        /** UI */
     53        struct ui *ui;
     54        /** UI resource (for window containing menu bar) */
    5355        struct ui_resource *res;
    5456        /** Menu bar rectangle */
     
    5658        /** Selected menu or @c NULL */
    5759        struct ui_menu *selected;
    58         /** Position of selected entry */
    59         gfx_coord2_t sel_pos;
    6060        /** List of menus (ui_menu_t) */
    6161        list_t menus;
    6262};
    6363
    64 extern void ui_menu_bar_select(ui_menu_bar_t *, gfx_coord2_t *, ui_menu_t *);
     64extern void ui_menu_bar_select(ui_menu_bar_t *, gfx_rect_t *, ui_menu_t *);
    6565
    6666#endif
Note: See TracChangeset for help on using the changeset viewer.