wesnoth-cvs-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Wesnoth-cvs-commits] wesnoth/src multiplayer_create.hpp multiplayer_...


From: Jon Daniel
Subject: [Wesnoth-cvs-commits] wesnoth/src multiplayer_create.hpp multiplayer_...
Date: Mon, 01 Aug 2005 03:12:49 -0400

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     Jon Daniel <address@hidden>     05/08/01 07:12:49

Modified files:
        src            : multiplayer_create.hpp multiplayer_create.cpp 

Log message:
        Make create screen 800x600 sane again.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/multiplayer_create.hpp.diff?tr1=1.5&tr2=1.6&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/multiplayer_create.cpp.diff?tr1=1.30&tr2=1.31&r1=text&r2=text

Patches:
Index: wesnoth/src/multiplayer_create.cpp
diff -u wesnoth/src/multiplayer_create.cpp:1.30 
wesnoth/src/multiplayer_create.cpp:1.31
--- wesnoth/src/multiplayer_create.cpp:1.30     Tue Jul 26 11:47:16 2005
+++ wesnoth/src/multiplayer_create.cpp  Mon Aug  1 07:12:49 2005
@@ -1,4 +1,4 @@
-/* $Id: multiplayer_create.cpp,v 1.30 2005/07/26 11:47:16 j_daniel Exp $ */
+/* $Id: multiplayer_create.cpp,v 1.31 2005/08/01 07:12:49 j_daniel Exp $ */
 /*
    Copyright (C)
    Part of the Battle for Wesnoth Project http://www.wesnoth.org
@@ -46,6 +46,7 @@
        name_entry_label_(disp.video(), _("Name of game:"), font::SIZE_SMALL, 
font::LOBBY_COLOUR),
        num_players_label_(disp.video(), "", font::SIZE_SMALL, 
font::LOBBY_COLOUR),
        era_label_(disp.video(), _("Era:"), font::SIZE_SMALL, 
font::LOBBY_COLOUR),
+       vision_label_(disp.video(), _("Vision:"), font::SIZE_SMALL, 
font::LOBBY_COLOUR),
        map_label_(disp.video(), _("Map to play:"), font::SIZE_SMALL, 
font::LOBBY_COLOUR),
        use_map_settings_(disp.video(), _("Use map settings"), 
gui::button::TYPE_CHECK),
        fog_game_(disp.video(), _("Fog Of War"), gui::button::TYPE_CHECK),
@@ -356,6 +357,7 @@
        name_entry_label_.hide(hide);
        num_players_label_.hide(hide);
        era_label_.hide(hide);
+       vision_label_.hide(hide);
        map_label_.hide(hide);
 
        use_map_settings_.hide(hide);
@@ -418,6 +420,14 @@
 
        num_players_label_.set_location(xpos, ypos);
        ypos += num_players_label_.height() + border_size;
+       
+       era_label_.set_location(xpos, ypos + (era_combo_.height() - 
era_label_.height()) / 2);
+       era_combo_.set_location(xpos + vision_label_.width() + border_size, 
ypos);
+       ypos += era_combo_.height() + border_size;
+
+       vision_label_.set_location(xpos, ypos + (vision_combo_.height() - 
vision_label_.height()) / 2);
+       vision_combo_.set_location(xpos + vision_label_.width() + border_size, 
ypos);
+       ypos += vision_combo_.height() + border_size;
 
        regenerate_map_.set_location(xpos, ypos);
        ypos += regenerate_map_.height() + border_size;
@@ -458,9 +468,6 @@
        xp_modifier_slider_.set_location(xpos, ypos);
        ypos += xp_modifier_slider_.height() + border_size;
 
-       era_label_.set_location(xpos, ypos + (era_combo_.height() - 
era_label_.height()) / 2);
-       era_combo_.set_location(xpos + era_label_.width() + border_size, ypos);
-       ypos += era_combo_.height() + border_size;
 
        use_map_settings_.set_location(xpos, ypos);
        ypos += use_map_settings_.height() + border_size;
@@ -473,9 +480,6 @@
 
        observers_game_.set_location(xpos, ypos);
        ypos += observers_game_.height() + border_size;
-
-       vision_combo_.set_location(xpos, ypos);
-       ypos += vision_combo_.height() + border_size;
 
        // OK / Cancel buttons
        gui::button* left_button = &launch_game_;
Index: wesnoth/src/multiplayer_create.hpp
diff -u wesnoth/src/multiplayer_create.hpp:1.5 
wesnoth/src/multiplayer_create.hpp:1.6
--- wesnoth/src/multiplayer_create.hpp:1.5      Mon Jul 25 09:56:25 2005
+++ wesnoth/src/multiplayer_create.hpp  Mon Aug  1 07:12:49 2005
@@ -1,4 +1,4 @@
-/* $Id: multiplayer_create.hpp,v 1.5 2005/07/25 09:56:25 j_daniel Exp $ */
+/* $Id: multiplayer_create.hpp,v 1.6 2005/08/01 07:12:49 j_daniel Exp $ */
 /*
    Copyright (C)
    Part of the Battle for Wesnoth Project http://www.wesnoth.org
@@ -92,6 +92,7 @@
        gui::label name_entry_label_;
        gui::label num_players_label_;
        gui::label era_label_;
+       gui::label vision_label_;
        gui::label map_label_;
 
        gui::button use_map_settings_;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]