On command for the background

This commit is contained in:
Josh Allen
2006-04-09 23:01:26 +00:00
parent fa56a05974
commit 8032080a0e
+1
View File
@@ -178,6 +178,7 @@ void RoomInfoDisplay::Load( RString sType )
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_Title.LoadFromFont( THEME->GetPathF(sType,"text") );