X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=common%2Fmenu.h;h=f3d18597c6f00f48c8bb50ae1026980aa21ce366;hb=4858c6338ba7ec5a9061ea9b7505acde098c03d9;hp=3f776039aa4d4441b371e44451df24b5bf46bb9d;hpb=3ffee69c504e786d66bff58e109534025701d86e;p=libpicofe.git diff --git a/common/menu.h b/common/menu.h index 3f77603..f3d1859 100644 --- a/common/menu.h +++ b/common/menu.h @@ -46,6 +46,7 @@ typedef enum MA_OPT_LOADCFG, MA_OPT_INTERLACED, /* giz */ MA_OPT_ROTATION, /* uiq */ + MA_OPT_TEARING_FIX, /* wiz */ MA_OPT2_GAMMA, MA_OPT2_A_SN_GAMMA, MA_OPT2_DBLBUFF, /* giz */ @@ -96,7 +97,7 @@ typedef enum typedef struct { - char *name; + const char *name; menu_behavior beh; menu_id id; void *var; /* for on-off/range settings */ @@ -153,9 +154,13 @@ 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);