X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=platform%2Fcommon%2Fmenu.h;h=430f0022e01adf7a899e0ce1e9db13a6a50c008d;hb=421713439805e3d389c420a04afc48fc267eb28f;hp=3f776039aa4d4441b371e44451df24b5bf46bb9d;hpb=c6c6c9cde2d6ea12e8e38b75da02f8b0bb162766;p=picodrive.git diff --git a/platform/common/menu.h b/platform/common/menu.h index 3f77603..430f002 100644 --- a/platform/common/menu.h +++ b/platform/common/menu.h @@ -96,7 +96,7 @@ typedef enum typedef struct { - char *name; + const char *name; menu_behavior beh; menu_id id; void *var; /* for on-off/range settings */ @@ -156,6 +156,9 @@ void menu_init(void); void text_out16(int x, int y, const char *texto, ...); void me_update_msg(const char *msg); +void menu_loop(void); +int menu_loop_tray(void); + menu_entry *me_list_get_first(void); menu_entry *me_list_get_next(void);