mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2025-04-21 03:51:37 +02:00
Add border at top of menu lists
This commit is contained in:
parent
ecd14fe052
commit
9f7e1ea4c5
@ -105,7 +105,7 @@ void C64::c64_ctor1(void)
|
||||
exit(1);
|
||||
}
|
||||
menu_init(&this->main_menu, this->menu_font, main_menu_messages,
|
||||
0, 0, MENU_SIZE_X, MENU_SIZE_Y);
|
||||
0, 32, MENU_SIZE_X, MENU_SIZE_Y);
|
||||
}
|
||||
|
||||
void C64::c64_ctor2(void)
|
||||
@ -180,7 +180,7 @@ void C64::select_disc(Prefs *np)
|
||||
return;
|
||||
|
||||
menu_init(&select_disc_menu, this->menu_font, file_list,
|
||||
0, 0, MENU_SIZE_X, MENU_SIZE_Y);
|
||||
0, 32, MENU_SIZE_X, MENU_SIZE_Y);
|
||||
int opt = menu_select(real_screen, &select_disc_menu, NULL);
|
||||
if (opt >= 0)
|
||||
{
|
||||
@ -231,12 +231,12 @@ void C64::bind_key(Prefs *np)
|
||||
MATRIX(1, 1), MATRIX(2, 7), MATRIX(3, 1), MATRIX(1, 4) };
|
||||
|
||||
menu_init(&bind_key_menu, this->menu_font, bind_key_messages,
|
||||
0, 0, MENU_SIZE_X, MENU_SIZE_Y);
|
||||
0, 32, MENU_SIZE_X, MENU_SIZE_Y);
|
||||
int opt = menu_select(real_screen, &bind_key_menu, NULL);
|
||||
if (opt >= 0)
|
||||
{
|
||||
menu_init(&key_menu, this->menu_font, keys,
|
||||
0, 0, MENU_SIZE_X, MENU_SIZE_Y);
|
||||
0, 32, MENU_SIZE_X, MENU_SIZE_Y);
|
||||
int key = menu_select(real_screen, &key_menu, NULL);
|
||||
|
||||
np->JoystickKeyBinding[opt] = kcs[key];
|
||||
@ -250,7 +250,7 @@ void C64::display_options(Prefs *np)
|
||||
menu_t display_menu;
|
||||
|
||||
menu_init(&display_menu, this->menu_font, display_option_messages,
|
||||
0, 0, MENU_SIZE_X, MENU_SIZE_Y);
|
||||
0, 32, MENU_SIZE_X, MENU_SIZE_Y);
|
||||
int opt = menu_select(real_screen, &display_menu, NULL);
|
||||
if (opt >= 0)
|
||||
np->DisplayOption = opt;
|
||||
@ -264,7 +264,7 @@ void C64::save_load_state(Prefs *np)
|
||||
menu_t select_saves_menu;
|
||||
|
||||
menu_init(&save_load_menu, this->menu_font, save_load_state_messages,
|
||||
0, 0, MENU_SIZE_X, MENU_SIZE_Y);
|
||||
0, 32, MENU_SIZE_X, MENU_SIZE_Y);
|
||||
int opt = menu_select(real_screen, &save_load_menu, NULL);
|
||||
switch(opt)
|
||||
{
|
||||
@ -292,7 +292,7 @@ void C64::save_load_state(Prefs *np)
|
||||
if (file_list == NULL)
|
||||
break;
|
||||
menu_init(&select_saves_menu, this->menu_font, file_list,
|
||||
0, 0, MENU_SIZE_X, MENU_SIZE_Y);
|
||||
0, 32, MENU_SIZE_X, MENU_SIZE_Y);
|
||||
int save = menu_select(real_screen, &select_saves_menu, NULL);
|
||||
if (save >= 0)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user