Temporary add a "Refresh" button in titlescreen...
...because too many WML devs complains about it
This commit is contained in:
parent
0a9183d9da
commit
f44bebf3cd
2 changed files with 3 additions and 0 deletions
|
@ -232,6 +232,7 @@
|
|||
{_GUI_BUTTON "language" _"Language" _"Change the language"}
|
||||
{_GUI_BUTTON "preferences" _"Preferences" _"Configure the game's settings"}
|
||||
{_GUI_BUTTON "credits" _"Credits" _"View the credits"}
|
||||
{_GUI_BUTTON "refresh" _"Refresh" _"Refresh game data"}
|
||||
{_GUI_BUTTON "quit" _"Quit" _"Quit the game"}
|
||||
[/grid]
|
||||
|
||||
|
|
|
@ -407,6 +407,8 @@ twindow::tretval twindow::get_retval_by_id(const std::string& id)
|
|||
#endif
|
||||
} else if(id == "credits") {
|
||||
return static_cast<tretval>(gui::SHOW_ABOUT);
|
||||
} else if(id == "refresh") {
|
||||
return static_cast<tretval>(gui::RELOAD_GAME_DATA);
|
||||
} else if(id == "quit") {
|
||||
return static_cast<tretval>(gui::QUIT_GAME);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue