rendered paste bodyIndex: include/MainMenu.h
===================================================================
--- include/MainMenu.h (wersja 77)
+++ include/MainMenu.h (kopia robocza)
@@ -11,8 +11,8 @@
MainMenuState();
~MainMenuState();
- //void JustMadeActive();
- //void JustMadeInactive();
+ void JustMadeActive();
+ void JustMadeInactive();
//int Execute(float dt);
void doOptions();
Index: src/MainMenu.cpp
===================================================================
--- src/MainMenu.cpp (wersja 77)
+++ src/MainMenu.cpp (kopia robocza)
@@ -117,20 +117,17 @@
PopState();
};
-/*
void MainMenuState::JustMadeActive()
{
- Application::Instance()->RootWidget()->addChild(m_vbox);
State::JustMadeActive();
};
void MainMenuState::JustMadeInactive()
{
- Application::Instance()->RootWidget()->deleteChild(m_vbox);
State::JustMadeInactive();
};
-
+/*
int MainMenuState::Execute(float dt)
{
Application::Instance()->BlitCentered(m_menuBackground);