BoxSizer to Sizer
This commit is contained in:
@@ -19,15 +19,15 @@ namespace GUIEngine {
|
||||
static const cString sNAME; /*= "label";*/
|
||||
static const GUIHelpers::eLayout sLAYOUT;/* = GUIHelpers::eLayout::WRAP_CONTENT;*/
|
||||
|
||||
cLabel(cWindow* parent, const signed int id, const cString& label = "", const GUIHelpers::eAlign& align = sALIGN,
|
||||
cLabel( cWindow* parent, const signed int id, const cString& label = "", const GUIHelpers::eAlign& align = sALIGN,
|
||||
const GUIHelpers::eLayout& layout = sLAYOUT, const GUIHelpers::Position& pos = sPOSITION, const GUIHelpers::Size& size = sSIZE,
|
||||
const GUIHelpers::Padding& padding = sPADDING, const cString& name = sNAME);
|
||||
const GUIHelpers::Padding& padding = sPADDING, const cString& name = sNAME );
|
||||
virtual ~cLabel();
|
||||
|
||||
/// Functions
|
||||
void Create(cWindow* parent, const signed int id, const cString& label = "", const GUIHelpers::eAlign& align = sALIGN,
|
||||
void Create( cWindow* parent, const signed int id, const cString& label = "", const GUIHelpers::eAlign& align = sALIGN,
|
||||
const GUIHelpers::eLayout& layout = sLAYOUT, const GUIHelpers::Position& pos = sPOSITION, const GUIHelpers::Size& size = sSIZE,
|
||||
const GUIHelpers::Padding& padding = sPADDING, const cString& name = sNAME);
|
||||
const GUIHelpers::Padding& padding = sPADDING, const cString& name = sNAME );
|
||||
|
||||
virtual void Display();
|
||||
|
||||
@@ -49,13 +49,11 @@ namespace GUIEngine {
|
||||
|
||||
|
||||
//virtual void Resize();
|
||||
virtual void RebuildLayout(const GUIHelpers::eLayout& layout);
|
||||
virtual void RebuildLayout( const GUIHelpers::eLayout& layout );
|
||||
|
||||
private:
|
||||
void SetSize();
|
||||
|
||||
|
||||
|
||||
private:
|
||||
VideoEngine::cSprite m_sprite;
|
||||
TextTypeEngine::cText* mp_text;/// = nullptr
|
||||
|
||||
Reference in New Issue
Block a user