On command for the background
This commit is contained in:
@@ -178,6 +178,7 @@ void RoomInfoDisplay::Load( RString sType )
|
|||||||
m_bg.SetName("Background");
|
m_bg.SetName("Background");
|
||||||
m_bg.SetWidth( THEME->GetMetricF(sType,"BackgroundWidth") );
|
m_bg.SetWidth( THEME->GetMetricF(sType,"BackgroundWidth") );
|
||||||
m_bg.SetHeight( THEME->GetMetricF(sType,"BackgroundHeight") );
|
m_bg.SetHeight( THEME->GetMetricF(sType,"BackgroundHeight") );
|
||||||
|
ON_COMMAND(&m_bg);
|
||||||
this->AddChild(&m_bg);
|
this->AddChild(&m_bg);
|
||||||
|
|
||||||
m_Title.LoadFromFont( THEME->GetPathF(sType,"text") );
|
m_Title.LoadFromFont( THEME->GetPathF(sType,"text") );
|
||||||
|
|||||||
Reference in New Issue
Block a user