X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=platform%2Fcommon%2Fmenu.h;h=588bfb98ce04e3cddc9eb326c0ded1319e4d6f88;hb=d34a42f93fdb8e0dc66875a08571cae2135b14cf;hp=c4aaaf00fcf13998752678c22afed4dc01ff2c07;hpb=713c9224026b769b8238f898c85b63a17cd5bada;p=picodrive.git diff --git a/platform/common/menu.h b/platform/common/menu.h index c4aaaf0..588bfb9 100644 --- a/platform/common/menu.h +++ b/platform/common/menu.h @@ -1,11 +1,4 @@ -// (c) Copyright 2006-2008 notaz, All rights reserved. - - -void menu_init(void); -void text_out16(int x, int y, const char *texto, ...); -void smalltext_out16(int x, int y, const char *texto, int color); - -extern char menuErrorMsg[64]; +// (c) Copyright 2006-2009 notaz, All rights reserved. typedef enum { @@ -103,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 */ @@ -159,6 +152,14 @@ typedef struct extern me_bind_action me_ctrl_actions[15]; extern me_bind_action emuctrl_actions[]; // platform code +void menu_init(void); +void menu_plat_setup(int is_wiz); +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);