mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2024-11-13 07:05:12 +01:00
Imported Hogers menu.cpp (the rest is not active yet)
This commit is contained in:
parent
a45b99e86c
commit
65088e89f9
927
Src/menu.cpp
927
Src/menu.cpp
File diff suppressed because it is too large
Load Diff
12
Src/menu.h
12
Src/menu.h
@ -28,14 +28,22 @@ extern "C" {
|
||||
#define KEY_ESCAPE 32
|
||||
#define KEY_PAGEDOWN 64
|
||||
#define KEY_PAGEUP 128
|
||||
#define KEY_HELP 256
|
||||
|
||||
void menu_print_font(SDL_Surface *screen, int r, int g, int b,
|
||||
int x, int y, const char *msg);
|
||||
void menu_print_font(SDL_Surface *screen, int r, int g, int b, int x, int y, const char *msg);
|
||||
void menu_print_font64(SDL_Surface *screen, int r, int g, int b, int x, int y, const char *msg);
|
||||
|
||||
int menu_select(const char **pp_msgs, int *p_submenus);
|
||||
int menu_select_sized(char *title, SDL_Rect *rc, const char **msgs, int *submenus, int sel);
|
||||
|
||||
uint32_t menu_wait_key_press(void);
|
||||
|
||||
extern bool msgKill(SDL_Rect *rc);
|
||||
extern int msgInfo(char *text, int duration, SDL_Rect *rc);
|
||||
|
||||
extern bool msgYesNo(char *text, bool def,int x, int y);
|
||||
|
||||
|
||||
void menu_init();
|
||||
|
||||
#if defined(__cplusplus)
|
||||
|
8
Src/menutexts.h
Normal file
8
Src/menutexts.h
Normal file
@ -0,0 +1,8 @@
|
||||
extern const char *welcome[];
|
||||
extern const char *new_main_menu_messages[];
|
||||
extern const char *new_options_menu_messages[];
|
||||
extern const char *new_advanced_options_menu_messages[];
|
||||
extern const char *new_help_menu_messages[];
|
||||
extern const char *main_menu_messages[];
|
||||
extern const char *layout_messages[];
|
||||
extern const char *other_options_messages[];
|
@ -1,3 +1,6 @@
|
||||
#ifndef __slist_h
|
||||
#define __slist_h
|
||||
|
||||
struct _S_LIST
|
||||
{
|
||||
int Elements;
|
||||
@ -16,3 +19,4 @@ extern int S_AddToList(S_List *List, char *String);
|
||||
extern void S_DestroyList(S_List *List);
|
||||
/************************************************************/
|
||||
|
||||
#endif /* __slist_h */
|
Loading…
Reference in New Issue
Block a user