mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2024-11-29 23:14:23 +01:00
Write text after highlighting
This commit is contained in:
parent
4440977e08
commit
a9aa219f4b
8
menu.cpp
8
menu.cpp
@ -142,10 +142,6 @@ void Menu::draw(SDL_Surface *where, int x, int y, int w, int h)
|
||||
this->highlightBackground(where, x_start, cur_y, tw, th);
|
||||
}
|
||||
|
||||
/* And print the text on top */
|
||||
this->printText(where, msg, this->text_color,
|
||||
x_start, cur_y, w, h);
|
||||
|
||||
if (IS_SUBMENU(msg))
|
||||
{
|
||||
submenu_t *p_submenu = this->findSubmenu(i);
|
||||
@ -184,6 +180,10 @@ void Menu::draw(SDL_Surface *where, int x, int y, int w, int h)
|
||||
cur_y, tw, th);
|
||||
free(p);
|
||||
}
|
||||
|
||||
/* And print the text on top */
|
||||
this->printText(where, msg, this->text_color,
|
||||
x_start, cur_y, w, h);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user