mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2024-11-23 03:49:26 +01:00
Fix colors
This commit is contained in:
parent
c356513c4e
commit
4b9cd36929
@ -463,7 +463,7 @@ static void menu_draw(SDL_Surface *screen, menu_t *p_menu, int sel)
|
|||||||
else if (IS_SUBMENU(msg))
|
else if (IS_SUBMENU(msg))
|
||||||
{
|
{
|
||||||
if (p_menu->cur_sel == i-1)
|
if (p_menu->cur_sel == i-1)
|
||||||
menu_print_font(screen, 0x80,0x80,0x80,
|
menu_print_font(screen, 0x80,0xff,0x80,
|
||||||
x_start, y_start + y, msg);
|
x_start, y_start + y, msg);
|
||||||
else
|
else
|
||||||
menu_print_font(screen, 0x40,0x40,0x40,
|
menu_print_font(screen, 0x40,0x40,0x40,
|
||||||
@ -522,7 +522,7 @@ static void menu_draw(SDL_Surface *screen, menu_t *p_menu, int sel)
|
|||||||
r = (SDL_Rect){ x_start + (n+1) * w-1, y_start + (i+ 1 - p_menu->start_entry_visible) * ((h + h/4)) -3, (n_chars - 1) * w, 2};
|
r = (SDL_Rect){ x_start + (n+1) * w-1, y_start + (i+ 1 - p_menu->start_entry_visible) * ((h + h/4)) -3, (n_chars - 1) * w, 2};
|
||||||
if (p_menu->cur_sel == i-1)
|
if (p_menu->cur_sel == i-1)
|
||||||
SDL_FillRect(screen, &r,
|
SDL_FillRect(screen, &r,
|
||||||
SDL_MapRGB(screen->format, 0x80,0x80,0x80));
|
SDL_MapRGB(screen->format, 0x0,0xff,0x80));
|
||||||
else
|
else
|
||||||
SDL_FillRect(screen, &r,
|
SDL_FillRect(screen, &r,
|
||||||
SDL_MapRGB(screen->format, 0x40,0x40,0x40));
|
SDL_MapRGB(screen->format, 0x40,0x40,0x40));
|
||||||
|
Loading…
Reference in New Issue
Block a user