[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] r3689 - trunk/pingus/src
From: |
grumbel at BerliOS |
Subject: |
[Pingus-CVS] r3689 - trunk/pingus/src |
Date: |
Sat, 5 Jul 2008 09:10:51 +0200 |
Author: grumbel
Date: 2008-07-05 09:10:46 +0200 (Sat, 05 Jul 2008)
New Revision: 3689
Modified:
trunk/pingus/src/start_screen.cpp
Log:
Minor code cleanup
Modified: trunk/pingus/src/start_screen.cpp
===================================================================
--- trunk/pingus/src/start_screen.cpp 2008-07-05 05:37:29 UTC (rev 3688)
+++ trunk/pingus/src/start_screen.cpp 2008-07-05 07:10:46 UTC (rev 3689)
@@ -33,7 +33,7 @@
#include "string_format.hpp"
#include "display/display.hpp"
#include "string_util.hpp"
-
+
class StartScreenComponent : public GUI::Component
{
private:
@@ -50,7 +50,7 @@
private:
const std::string& format_description(int length);
};
-
+
class StartScreenOkButton : public GUI::SurfaceButton
{
private:
@@ -89,7 +89,7 @@
Sound::PingusSound::play_sound ("tick");
}
};
-
+
class StartScreenAbortButton
: public GUI::SurfaceButton
{
@@ -121,12 +121,7 @@
Sound::PingusSound::play_sound ("tick");
}
};
-
-StartScreen::~StartScreen()
-{
-
-}
-
+
StartScreenComponent::StartScreenComponent(const PingusLevel& p)
: plf(p)
{
@@ -191,8 +186,7 @@
return description;
}
-
-
+
StartScreen::StartScreen(const PingusLevel& arg_plf)
: plf(arg_plf)
{
@@ -202,6 +196,11 @@
gui_manager->add(new StartScreenAbortButton(this), true);
}
+StartScreen::~StartScreen()
+{
+
+}
+
void
StartScreen::on_fast_forward_press()
{
@@ -232,6 +231,5 @@
{
ScreenManager::instance()->pop_screen();
}
-
-
+
/* EOF */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] r3689 - trunk/pingus/src,
grumbel at BerliOS <=