Quad to AutoActor
This commit is contained in:
@@ -175,11 +175,9 @@ void RoomInfoDisplay::Load( RString sType )
|
|||||||
|
|
||||||
m_state = LOCKED;
|
m_state = LOCKED;
|
||||||
|
|
||||||
m_bg.SetName("Background");
|
m_bg.Load( THEME->GetPathG(m_sName,"Background") );
|
||||||
m_bg.SetWidth( THEME->GetMetricF(sType,"BackgroundWidth") );
|
m_bg->SetName("Background");
|
||||||
m_bg.SetHeight( THEME->GetMetricF(sType,"BackgroundHeight") );
|
this->AddChild(m_bg);
|
||||||
ON_COMMAND(&m_bg);
|
|
||||||
this->AddChild(&m_bg);
|
|
||||||
|
|
||||||
m_Title.LoadFromFont( THEME->GetPathF(sType,"text") );
|
m_Title.LoadFromFont( THEME->GetPathF(sType,"text") );
|
||||||
m_Title.SetName("RoomTitle");
|
m_Title.SetName("RoomTitle");
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ private:
|
|||||||
};
|
};
|
||||||
|
|
||||||
RoomInfoDisplayState m_state;
|
RoomInfoDisplayState m_state;
|
||||||
Quad m_bg;
|
AutoActor m_bg;
|
||||||
BitmapText m_Title;
|
BitmapText m_Title;
|
||||||
BitmapText m_Desc;
|
BitmapText m_Desc;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user