more icons in gui2 lobby gamelist...

...(replacement icons from someone who actually can draw would be welcome)
This commit is contained in:
Tomasz Śniatowski 2009-07-13 16:51:52 +01:00
parent 9fd6ca0e4b
commit 906dda9e7d
6 changed files with 6 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View file

@ -173,13 +173,17 @@
{GAMELISTBOX_BODY_LABEL "map_size_text" ""}
{GAMELISTBOX_BODY_LABEL "scenario" ""}
{GAMELISTBOX_BODY_IMAGE "observer_icon" "misc/eye.png"}
{GAMELISTBOX_BODY_IMAGE "needs_password" "misc/key.png"}
{GAMELISTBOX_BODY_IMAGE "use_map_settings" "misc/ums.png"}
{GAMELISTBOX_BODY_IMAGE "reloaded" "misc/reloaded.png"}
{GAMELISTBOX_BODY_IMAGE "no_era" "misc/red-x.png"}
{GAMELISTBOX_BODY_IMAGE "vision_icon" ""}
{GAMELISTBOX_BODY_IMAGE "gold_icon" "themes/gold-t.png"}
{GAMELISTBOX_BODY_LABEL_TINY "gold_text" "265"}
{GAMELISTBOX_BODY_IMAGE "xp_icon" "themes/units-t.png"}
{GAMELISTBOX_BODY_LABEL_TINY "xp_text" "70%"}
{GAMELISTBOX_BODY_IMAGE "time_limit_icon" "themes/sand-clock-t.png"}
{GAMELISTBOX_BODY_LABEL_TINY "time_limit_text" ""}
{GAMELISTBOX_BODY_IMAGE "vision_icon" ""}
[/row]
[/grid]
{VERTICAL_END}

View file

@ -288,6 +288,7 @@ void tlobby_main::update_gamelist()
set_visible_if_exists(grid, "reloaded", game.reloaded);
set_visible_if_exists(grid, "started", game.started);
set_visible_if_exists(grid, "use_map_settings", game.use_map_settings);
set_visible_if_exists(grid, "no_era", !game.have_era);
tbutton* join_button = dynamic_cast<tbutton*>(grid->find_widget("join", false));
if (join_button) {