mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2024-12-02 00:14:21 +01:00
Allow one more line to display
This commit is contained in:
parent
453db84014
commit
1102d8fdc1
2
menu.cpp
2
menu.cpp
@ -101,7 +101,7 @@ void Menu::draw(SDL_Surface *where, int x, int y, int w, int h)
|
|||||||
int font_height = this->font->getHeight("X");
|
int font_height = this->font->getHeight("X");
|
||||||
int line_height = (font_height + font_height / 4);
|
int line_height = (font_height + font_height / 4);
|
||||||
int x_start = x;
|
int x_start = x;
|
||||||
int entries_visible = h / line_height - 2;
|
int entries_visible = h / line_height - 1;
|
||||||
int start_entry_visible = 0;
|
int start_entry_visible = 0;
|
||||||
|
|
||||||
/* No messages - nothing to draw */
|
/* No messages - nothing to draw */
|
||||||
|
@ -8,6 +8,7 @@ const char **exit_dialogue_messages = (const char*[]){
|
|||||||
/*02*/ "#", /* Empty line */
|
/*02*/ "#", /* Empty line */
|
||||||
/*03*/ "#",
|
/*03*/ "#",
|
||||||
/*04*/ "#",
|
/*04*/ "#",
|
||||||
|
/*05*/ "#",
|
||||||
/*06*/ "^|Yes|Cancel",
|
/*06*/ "^|Yes|Cancel",
|
||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user