Added the beg button in the title screen.

Added it the the --new-widgets version.

The button is a placeholder, since I can't add a new button with svn
since gna is down. The reason to do it with svn is to get the properties
right.
This commit is contained in:
Mark de Wever 2010-04-05 06:14:07 +00:00
parent 14c82ef18e
commit 4f96f369b0
3 changed files with 17 additions and 0 deletions

View file

@ -20,6 +20,8 @@ Version 1.9.0-svn:
* Implemented bug #15623 (patch #1568): On change resolution screen,
widescreen resolutions are now marked as such
* Added tooltips to the --new-widgets title screen
* Added a place holder upload statistics button in the --new-widgets title
screen
* WML Engine:
* Deprecated [set_variable]'s random key, use rand instead
* Renamed [unit][status] healable to unhealable so it can default to 'no'

View file

@ -260,6 +260,19 @@
{_GUI_MENU_SECTION}
[/column]
[column]
horizontal_alignment = "right"
vertical_alignment = "bottom"
[button]
id = "upload_statistics"
definition = "up_arrow" #TODO Add a better button
tooltip = _"Upload statistics"
[/button]
[/column]
[/row]
[/layer]

View file

@ -426,6 +426,8 @@ twindow::tretval twindow::get_retval_by_id(const std::string& id)
return static_cast<tretval>(gui::GET_ADDONS);
} else if(id == "preferences") {
return static_cast<tretval>(gui::EDIT_PREFERENCES);
} else if("upload_statistics") {
return static_cast<tretval>(gui::BEG_FOR_UPLOAD);
// default if nothing matched
} else {