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_connect.cpp


From: Guillaume Melquiond
Subject: [Wesnoth-cvs-commits] wesnoth/src multiplayer_connect.cpp
Date: Sat, 26 Mar 2005 12:31:34 -0500

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     Guillaume Melquiond <address@hidden>    05/03/26 17:31:33

Modified files:
        src            : multiplayer_connect.cpp 

Log message:
        Don't put the slider in la-la-land.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/multiplayer_connect.cpp.diff?tr1=1.134&tr2=1.135&r1=text&r2=text

Patches:
Index: wesnoth/src/multiplayer_connect.cpp
diff -u wesnoth/src/multiplayer_connect.cpp:1.134 
wesnoth/src/multiplayer_connect.cpp:1.135
--- wesnoth/src/multiplayer_connect.cpp:1.134   Sat Mar 26 17:24:42 2005
+++ wesnoth/src/multiplayer_connect.cpp Sat Mar 26 17:31:33 2005
@@ -1,4 +1,4 @@
-/* $Id: multiplayer_connect.cpp,v 1.134 2005/03/26 17:24:42 silene Exp $ */
+/* $Id: multiplayer_connect.cpp,v 1.135 2005/03/26 17:31:33 silene Exp $ */
 /*
    Copyright (C) 
    Part of the Battle for Wesnoth Project http://www.wesnoth.org
@@ -74,15 +74,11 @@
                }
        }
        
-       SDL_Rect r;
-       r.w = 120;
-       r.h = 16;
-
        slider_gold_.set_min(20);
        slider_gold_.set_max(1000);
        slider_gold_.set_increment(25);
        slider_gold_.set_value(lexical_cast_default<int>(cfg_["gold"], 100));
-       slider_gold_.set_location(r);
+       slider_gold_.set_measurements(120, 16);
 
        combo_faction_.enable(enabled_);
        combo_leader_.enable(enabled_);




reply via email to

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