[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] CVS: Games/Pingus/src start_screen.cxx,1.4,1.5
From: |
grumbel |
Subject: |
[Pingus-CVS] CVS: Games/Pingus/src start_screen.cxx,1.4,1.5 |
Date: |
30 Mar 2003 14:24:26 -0000 |
Update of /var/lib/cvs/Games/Pingus/src
In directory dark:/tmp/cvs-serv9599/src
Modified Files:
start_screen.cxx
Log Message:
finished the start screen
Index: start_screen.cxx
===================================================================
RCS file: /var/lib/cvs/Games/Pingus/src/start_screen.cxx,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- start_screen.cxx 30 Mar 2003 13:12:35 -0000 1.4
+++ start_screen.cxx 30 Mar 2003 14:24:24 -0000 1.5
@@ -49,10 +49,10 @@
StartScreen* parent;
public:
StartScreenOkButton(StartScreen* p)
- : GUI::SurfaceButton(300, 500,
- ResDescriptor("result/ok", "core",
ResDescriptor::RD_RESOURCE),
- ResDescriptor("result/ok", "core",
ResDescriptor::RD_RESOURCE),
- ResDescriptor("result/ok", "core",
ResDescriptor::RD_RESOURCE)),
+ : GUI::SurfaceButton(625, 425,
+ ResDescriptor("start/ok", "core",
ResDescriptor::RD_RESOURCE),
+ ResDescriptor("start/ok_clicked", "core",
ResDescriptor::RD_RESOURCE),
+ ResDescriptor("start/ok_hover", "core",
ResDescriptor::RD_RESOURCE)),
parent(p)
{
}
@@ -63,6 +63,8 @@
}
};
+//cancel button 122, 444
+
StartScreen::~StartScreen()
{
@@ -79,20 +81,21 @@
{
//gc.clear(0,0,0);
background.put_screen(0,0);
+
gc.print_center(Fonts::chalk_large, gc.get_width()/2, 100,
System::translate(plf->get_levelname()));
gc.print_left(Fonts::chalk_normal, 130, 160,
System::translate(plf->get_description()));
- gc.print_left (Fonts::chalk_normal, 300, 290, _("Number of Pingus: "));
- gc.print_right(Fonts::chalk_normal, 500, 290, to_string(plf->get_pingus()));
+ gc.print_left (Fonts::chalk_normal, 300, 310, _("Number of Pingus: "));
+ gc.print_right(Fonts::chalk_normal, 500, 310, to_string(plf->get_pingus()));
- gc.print_left (Fonts::chalk_normal, 300, 320, _("Number to Save: "));
- gc.print_right(Fonts::chalk_normal, 500, 320,
to_string(plf->get_number_to_save()));
+ gc.print_left (Fonts::chalk_normal, 300, 340, _("Number to Save: "));
+ gc.print_right(Fonts::chalk_normal, 500, 340,
to_string(plf->get_number_to_save()));
- gc.print_left (Fonts::chalk_normal, 300, 350, _("Time: "));
- gc.print_right(Fonts::chalk_normal, 500, 350, to_string(plf->get_time()));
+ gc.print_left (Fonts::chalk_normal, 300, 370, _("Time: "));
+ gc.print_right(Fonts::chalk_normal, 500, 370, to_string(plf->get_time()));
- gc.print_left (Fonts::chalk_normal, 300, 380, _("Difficulty:"));
- gc.print_right(Fonts::chalk_normal, 500, 380,
to_string(plf->get_difficulty() + "/100"));
+ gc.print_left (Fonts::chalk_normal, 300, 400, _("Difficulty:"));
+ gc.print_right(Fonts::chalk_normal, 500, 400,
to_string(plf->get_difficulty()) + "/100");
/*for (int i = 0; plf->get_difficulty())
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] CVS: Games/Pingus/src start_screen.cxx,1.4,1.5,
grumbel <=