Quad to AutoActor

This commit is contained in:
Josh Allen
2006-06-25 19:26:39 +00:00
parent 3a10111e99
commit eee0551fea
2 changed files with 4 additions and 6 deletions
+3 -5
View File
@@ -175,11 +175,9 @@ void RoomInfoDisplay::Load( RString sType )
m_state = LOCKED;
m_bg.SetName("Background");
m_bg.SetWidth( THEME->GetMetricF(sType,"BackgroundWidth") );
m_bg.SetHeight( THEME->GetMetricF(sType,"BackgroundHeight") );
ON_COMMAND(&m_bg);
this->AddChild(&m_bg);
m_bg.Load( THEME->GetPathG(m_sName,"Background") );
m_bg->SetName("Background");
this->AddChild(m_bg);
m_Title.LoadFromFont( THEME->GetPathF(sType,"text") );
m_Title.SetName("RoomTitle");
+1 -1
View File
@@ -64,7 +64,7 @@ private:
};
RoomInfoDisplayState m_state;
Quad m_bg;
AutoActor m_bg;
BitmapText m_Title;
BitmapText m_Desc;