[loading window] Trying to clean up the in game song reloading.

This commit is contained in:
Henrik Andersson
2011-06-05 01:39:15 +02:00
parent 6c7ebfafe8
commit 9721c0d66a
6 changed files with 76 additions and 51 deletions
+23
View File
@@ -0,0 +1,23 @@
#include "global.h"
#include "InGameLoadingWindow.h"
#include "ScreenManager.h"
#include "ThemeManager.h"
#include "ActorUtil.h"
//REGISTER_ACTOR_CLASS( InGameLoadingWindow );
InGameLoadingWindow::InGameLoadingWindow() {
SetName("InGameLoadingWindow");
m_Text.SetName("LoadingText");
m_Text.LoadFromFont( THEME->GetPathF(m_sName, "LoadingText") );
m_Text.SetXY(0,0);
AddChild(&m_Text);
}
InGameLoadingWindow::~InGameLoadingWindow() {
RemoveChild(&m_Text);
}
void InGameLoadingWindow::SetText( RString str ) {
m_Text.SetText( str );
}