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_lobby.cpp images/misc/l...


From: Jordà Polo
Subject: [Wesnoth-cvs-commits] wesnoth src/multiplayer_lobby.cpp images/misc/l...
Date: Sat, 30 Oct 2004 11:42:13 -0400

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     Jordà Polo <address@hidden>     04/10/30 15:36:52

Modified files:
        src            : multiplayer_lobby.cpp 
        images/misc    : lobby.png 

Log message:
        updated multiplayer lobby

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/multiplayer_lobby.cpp.diff?tr1=1.43&tr2=1.44&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/images/misc/lobby.png.diff?tr1=1.7&tr2=1.8&r1=text&r2=text

Patches:
Index: wesnoth/images/misc/lobby.png
Index: wesnoth/src/multiplayer_lobby.cpp
diff -u wesnoth/src/multiplayer_lobby.cpp:1.43 
wesnoth/src/multiplayer_lobby.cpp:1.44
--- wesnoth/src/multiplayer_lobby.cpp:1.43      Wed Oct 27 20:42:36 2004
+++ wesnoth/src/multiplayer_lobby.cpp   Sat Oct 30 15:36:51 2004
@@ -66,7 +66,7 @@
        for(bool first_time = true; ; first_time = false) {
                message_entry.set_focus(true);
 
-               const SDL_Rect dlg_rect = 
{xscale(disp,12),yscale(disp,46),xscale(disp,832),yscale(disp,518)};
+               const SDL_Rect dlg_rect = 
{xscale(disp,12),yscale(disp,42),xscale(disp,832),yscale(disp,518)};
 
                //if the dialog is present, back it up before we repaint the 
entire screen
                surface_restorer dlg_restorer;
@@ -214,26 +214,26 @@
                gui::menu users_menu(disp,users);
 
                // Set GUI locations
-               users_menu.set_loc(xscale(disp,856),yscale(disp,46));
+               users_menu.set_loc(xscale(disp,856),yscale(disp,42));
                users_menu.set_width(xscale(disp,156));
                users_menu.set_max_width(xscale(disp,156));
 
-               
update_rect(xscale(disp,856),yscale(disp,46),xscale(disp,156),yscale(disp,708));
+               
update_rect(xscale(disp,856),yscale(disp,42),xscale(disp,156),yscale(disp,708));
 
                if(dlg != NULL) {
                        if(first_time) {
                                dlg->set_area(dlg_rect);
                        }
                } else {
-                       games_menu.set_loc(xscale(disp,12),yscale(disp,46));
+                       games_menu.set_loc(xscale(disp,12),yscale(disp,42));
                        games_menu.set_width(xscale(disp,832));
                }
 
-               
update_rect(xscale(disp,12),yscale(disp,46),xscale(disp,832),yscale(disp,518));
-               join_game.set_location(xscale(disp,12),yscale(disp,4));
-               observe_game.set_location(join_game.location().x + 
join_game.location().w + 5,yscale(disp,4));
-               new_game.set_location(observe_game.location().x + 
observe_game.location().w + 5,yscale(disp,4));
-               quit_game.set_location(new_game.location().x + 
new_game.location().w + 5,yscale(disp,4));
+               
update_rect(xscale(disp,12),yscale(disp,42),xscale(disp,832),yscale(disp,518));
+               join_game.set_location(xscale(disp,12),yscale(disp,7));
+               observe_game.set_location(join_game.location().x + 
join_game.location().w + 5,yscale(disp,7));
+               new_game.set_location(observe_game.location().x + 
observe_game.location().w + 5,yscale(disp,7));
+               quit_game.set_location(new_game.location().x + 
new_game.location().w + 5,yscale(disp,7));
                message_entry.set_location(xscale(disp,14),yscale(disp,732));
                message_entry.set_width(xscale(disp,830));
 




reply via email to

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