[Top][All Lists]
[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: |
Wed, 06 Oct 2004 17:07:11 -0400 |
CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: Jordà Polo <address@hidden> 04/10/06 20:52:25
Modified files:
src : multiplayer_lobby.cpp
images/misc : lobby.png
Log message:
new multiplayer lobby
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/multiplayer_lobby.cpp.diff?tr1=1.38&tr2=1.39&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/images/misc/lobby.png.diff?tr1=1.6&tr2=1.7&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.38
wesnoth/src/multiplayer_lobby.cpp:1.39
--- wesnoth/src/multiplayer_lobby.cpp:1.38 Tue Oct 5 21:50:47 2004
+++ wesnoth/src/multiplayer_lobby.cpp Wed Oct 6 20:52:24 2004
@@ -65,7 +65,7 @@
for(bool first_time = true; ; first_time = false) {
message_entry.set_focus(true);
- const SDL_Rect dlg_rect =
{xscale(disp,19),yscale(disp,23),xscale(disp,832),yscale(disp,520)};
+ const SDL_Rect dlg_rect =
{xscale(disp,12),yscale(disp,46),xscale(disp,832),yscale(disp,518)};
//if the dialog is present, back it up before we repaint the
entire screen
surface_restorer dlg_restorer;
@@ -78,7 +78,7 @@
dlg_restorer.restore();
dlg_restorer = surface_restorer();
- const SDL_Rect chat_area = { xscale(disp,19), yscale(disp,574),
xscale(disp,832), yscale(disp,130) };
+ const SDL_Rect chat_area = { xscale(disp,12), yscale(disp,576),
xscale(disp,832), yscale(disp,142) };
gui::textbox chat_textbox(disp,chat_area.w,"",false);
@@ -213,27 +213,27 @@
gui::menu users_menu(disp,users);
// Set GUI locations
- users_menu.set_loc(xscale(disp,869),yscale(disp,23));
- users_menu.set_width(xscale(disp,129));
- users_menu.set_max_width(xscale(disp,129));
+ users_menu.set_loc(xscale(disp,856),yscale(disp,46));
+ users_menu.set_width(xscale(disp,156));
+ users_menu.set_max_width(xscale(disp,156));
-
update_rect(xscale(disp,869),yscale(disp,23),xscale(disp,129),yscale(disp,725));
+
update_rect(xscale(disp,856),yscale(disp,46),xscale(disp,156),yscale(disp,708));
if(dlg != NULL) {
if(first_time) {
dlg->set_area(dlg_rect);
}
} else {
- games_menu.set_loc(xscale(disp,19),yscale(disp,23));
+ games_menu.set_loc(xscale(disp,12),yscale(disp,46));
games_menu.set_width(xscale(disp,832));
}
-
update_rect(xscale(disp,19),yscale(disp,23),xscale(disp,832),yscale(disp,520));
- join_game.set_location(xscale(disp,19),yscale(disp,545));
- observe_game.set_location(join_game.location().x +
join_game.location().w + 5,yscale(disp,545));
- new_game.set_location(observe_game.location().x +
observe_game.location().w + 5,yscale(disp,545));
- quit_game.set_location(new_game.location().x +
new_game.location().w + 5,yscale(disp,545));
- message_entry.set_location(xscale(disp,19),yscale(disp,725));
+
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));
+ message_entry.set_location(xscale(disp,12),yscale(disp,730));
message_entry.set_width(xscale(disp,832));
update_whole_screen();
- [Wesnoth-cvs-commits] wesnoth src/multiplayer_lobby.cpp images/misc/l...,
Jordà Polo <=