[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] CVS: Games/Pingus/src/worldmap manager.cxx,1.35,1.36
From: |
grumbel |
Subject: |
[Pingus-CVS] CVS: Games/Pingus/src/worldmap manager.cxx,1.35,1.36 |
Date: |
10 Apr 2003 15:40:20 -0000 |
Update of /var/lib/cvs/Games/Pingus/src/worldmap
In directory dark:/tmp/cvs-serv26415/worldmap
Modified Files:
manager.cxx
Log Message:
- some fixed for 640x480
Index: manager.cxx
===================================================================
RCS file: /var/lib/cvs/Games/Pingus/src/worldmap/manager.cxx,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -d -r1.35 -r1.36
--- manager.cxx 10 Apr 2003 11:51:32 -0000 1.35
+++ manager.cxx 10 Apr 2003 15:40:18 -0000 1.36
@@ -79,7 +79,7 @@
WorldMapManagerCreditsButton::WorldMapManagerCreditsButton()
- : GUI::SurfaceButton(800 - 150, 0,
+ : GUI::SurfaceButton(CL_Display::get_width() - 150, 0,
ResDescriptor("worldmap/credits_button_normal", "core"),
ResDescriptor("worldmap/credits_button_pressed",
"core"),
ResDescriptor("worldmap/credits_button_hover", "core"))
@@ -99,7 +99,7 @@
WorldMapManagerCreditsButton::draw (GraphicContext& gc)
{
SurfaceButton::draw(gc);
- gc.print_left(Fonts::chalk_small, 800 - 150 + 15, 5, _("Show Ending?"));
+ gc.print_left(Fonts::chalk_small, CL_Display::get_width() - 150 + 15, 5,
_("Show Ending?"));
}
void
@@ -139,7 +139,7 @@
}
WorldMapManagerCloseButton::WorldMapManagerCloseButton()
- : GUI::SurfaceButton(0, 600 - 37,
+ : GUI::SurfaceButton(0, CL_Display::get_height() - 37,
ResDescriptor("worldmap/leave_button_normal", "core"),
ResDescriptor("worldmap/leave_button_pressed", "core"),
ResDescriptor("worldmap/leave_button_hover", "core"))
@@ -157,7 +157,7 @@
WorldMapManagerCloseButton::draw (GraphicContext& gc)
{
SurfaceButton::draw(gc);
- gc.print_left(Fonts::chalk_small, 10, 580, _("Leave?"));
+ gc.print_left(Fonts::chalk_small, 10, CL_Display::get_height() - 20,
_("Leave?"));
}
void
@@ -167,7 +167,7 @@
}
WorldMapManagerEnterButton::WorldMapManagerEnterButton()
- : GUI::SurfaceButton(800 - 119, 600 - 37,
+ : GUI::SurfaceButton(CL_Display::get_width() - 119, CL_Display::get_height()
- 37,
ResDescriptor("worldmap/enter_button_normal", "core"),
ResDescriptor("worldmap/enter_button_pressed", "core"),
ResDescriptor("worldmap/enter_button_hover", "core"))
@@ -194,7 +194,10 @@
else
{
SurfaceButton::draw(gc);
- gc.print_left(Fonts::chalk_small, 700, 580, _("Enter?"));
+ gc.print_left(Fonts::chalk_small,
+ CL_Display::get_width() - 100,
+ CL_Display::get_height() - 20,
+ _("Enter?"));
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] CVS: Games/Pingus/src/worldmap manager.cxx,1.35,1.36,
grumbel <=