Author: grumbel
Date: 2007-08-05 04:23:35 +0200 (Sun, 05 Aug 2007)
New Revision: 2806
Modified:
branches/pingus_sdl/src/components/action_button.cpp
branches/pingus_sdl/src/components/pingus_counter.cpp
Log:
- moved fonts a bit to have them properly centered
Modified: branches/pingus_sdl/src/components/action_button.cpp
===================================================================
--- branches/pingus_sdl/src/components/action_button.cpp 2007-08-05
01:42:51 UTC (rev 2805)
+++ branches/pingus_sdl/src/components/action_button.cpp 2007-08-05
02:23:35 UTC (rev 2806)
@@ -137,7 +137,7 @@
&& x > x_pos && x < x_pos + 60
&& y < y_pos + 35 && y > y_pos)
{
- gc.print_left(myfontb, (float)x_pos + 65, (float)y_pos,
action_to_screenname(name));
+ gc.print_left(myfontb, (float)x_pos + 65, (float)y_pos-10,
action_to_screenname(name));
}
if (Cheat::unlimited_actions)
Modified: branches/pingus_sdl/src/components/pingus_counter.cpp
===================================================================
--- branches/pingus_sdl/src/components/pingus_counter.cpp 2007-08-05
01:42:51 UTC (rev 2805)
+++ branches/pingus_sdl/src/components/pingus_counter.cpp 2007-08-05
02:23:35 UTC (rev 2806)
@@ -53,7 +53,7 @@
world->get_pingus()->get_number_of_exited(),
server->get_plf().get_number_to_save());
- gc.print_center(font, gc.get_width()/2, 3, str);
+ gc.print_center(font, gc.get_width()/2, 0, str);
}
_______________________________________________
pingus-cvs mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/pingus-cvs