Readd the upload stastics to gui2.

The new plan is to only revert for the 1.8 branch and see whether it can be
fixed in trunk. (Reverts 2010-04-27T20:29:29Z!koraq@xs4all.nl).
This commit is contained in:
Mark de Wever 2010-04-28 19:43:45 +00:00
parent 2ff2d75b48
commit 97fadb10dc
2 changed files with 28 additions and 0 deletions

View file

@ -110,4 +110,16 @@
[/button_definition]
[button_definition]
id = "upload_statistics"
description = "Used for the upload statistics in the title screen."
# Tiny gui sizes haven't been tested yet so might need some tuning.
# NOTE the disabled version doesn't exist
{_GUI_RESOLUTION ({GUI_TINY__RESOLUTION}) 16 16 11 0 0 ({GUI_TINY__FONT_SIZE__SMALL}) "menu-button" }
{_GUI_RESOLUTION () 32 32 22 0 0 ({GUI_NORMAL__FONT_SIZE__SMALL}) "menu-button" }
[/button_definition]
#undef _GUI_RESOLUTION

View file

@ -307,6 +307,21 @@
{_GUI_MENU_SECTION}
[/column]
[column]
border = "all"
border_size = 5
horizontal_alignment = "right"
vertical_alignment = "bottom"
[button]
id = "upload_statistics"
definition = "upload_statistics"
tooltip = _"Upload statistics"
[/button]
[/column]
{_GUI_H_SPACER}
[/row]
@ -325,6 +340,7 @@
[/column]
{_GUI_V_SPACER}
{_GUI_V_SPACER}
{_GUI_H_SPACER}