[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] [pingus] push by address@hidden - Fixed resize problems in
From: |
pingus |
Subject: |
[Pingus-CVS] [pingus] push by address@hidden - Fixed resize problems in Levelset screen on 2011-09-06 19:00 GMT |
Date: |
Tue, 06 Sep 2011 19:25:16 +0000 |
Revision: 9a7934ef419c
Author: Ingo Ruhnke <address@hidden>
Date: Tue Sep 6 12:00:02 2011
Log: Fixed resize problems in Levelset screen
http://code.google.com/p/pingus/source/detail?r=9a7934ef419c
Modified:
/src/pingus/screens/level_menu.cpp
=======================================
--- /src/pingus/screens/level_menu.cpp Tue Sep 6 11:34:44 2011
+++ /src/pingus/screens/level_menu.cpp Tue Sep 6 12:00:02 2011
@@ -460,14 +460,11 @@
x_pos = (size.width - globals::default_screen_width)/2;
y_pos = (size.height - globals::default_screen_height)/2;
- levelset_selector->set_rect(Rect(Vector2i(x_pos + 100, y_pos + 140),
Size(600, 285)));
- level_selector ->set_rect(Rect(Vector2i(x_pos + 100, y_pos + 160),
Size(600, 256)));
-
- prev_button->set_pos(size.width /2 + 160,
- size.height/2 + 145);
-
- next_button->set_pos(size.width /2 + 230,
- size.height/2 + 145);
+ levelset_selector->set_rect(Rect(Vector2i(x_pos + 70, y_pos + 140),
Size(600, 285)));
+ level_selector ->set_rect(Rect(Vector2i(x_pos + 70, y_pos + 160),
Size(600, 256)));
+
+ prev_button->set_pos(size.width/2 + 280, size.height/2 - 150);
+ next_button->set_pos(size.width/2 + 280, size.height/2 + 70);
abort_button->set_pos(size.width /2 - 300,
size.height/2 + 144);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] [pingus] push by address@hidden - Fixed resize problems in Levelset screen on 2011-09-06 19:00 GMT,
pingus <=