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

Changeset b8b64a8 in mainline for uspace/lib/ui/include/ui/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/include/ui/menuentry.h

    rd65accb rb8b64a8  
    4343#include <types/ui/event.h>
    4444
    45 extern errno_t ui_menu_entry_create(ui_menu_t *, const char *,
     45extern errno_t ui_menu_entry_create(ui_menu_t *, const char *, const char *,
    4646    ui_menu_entry_t **);
    4747extern void ui_menu_entry_destroy(ui_menu_entry_t *);
     
    5050extern ui_menu_entry_t *ui_menu_entry_first(ui_menu_t *);
    5151extern ui_menu_entry_t *ui_menu_entry_next(ui_menu_entry_t *);
    52 extern gfx_coord_t ui_menu_entry_width(ui_menu_entry_t *);
     52extern gfx_coord_t ui_menu_entry_calc_width(ui_menu_t *,
     53    gfx_coord_t, gfx_coord_t);
     54extern void ui_menu_entry_column_widths(ui_menu_entry_t *,
     55    gfx_coord_t *, gfx_coord_t *);
    5356extern gfx_coord_t ui_menu_entry_height(ui_menu_entry_t *);
    5457extern errno_t ui_menu_entry_paint(ui_menu_entry_t *, gfx_coord2_t *);
Note: See TracChangeset for help on using the changeset viewer.