Pre-resize fillparent
This commit is contained in:
@@ -24,7 +24,7 @@ namespace GUIEngine {
|
||||
const GUIHelpers::Padding& padding = sPADDING, const cString& name = sNAME);
|
||||
virtual ~cLabel();
|
||||
|
||||
///Functions
|
||||
/// Functions
|
||||
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);
|
||||
@@ -33,13 +33,13 @@ namespace GUIEngine {
|
||||
|
||||
void GenerateTexture();
|
||||
|
||||
//Sets
|
||||
/// Sets
|
||||
void setFontColour( const GUIHelpers::RGBA& colour );
|
||||
void setFontSize( const unsigned long int size );
|
||||
void setText( const cString& text );
|
||||
void setFont( const TextTypeEngine::cFont* font );
|
||||
|
||||
///Gets
|
||||
/// Gets
|
||||
const GUIHelpers::RGBA& getFontColour() const;
|
||||
const unsigned long int getFontSize() const;
|
||||
const TextTypeEngine::cFont* getFont() const;
|
||||
@@ -58,7 +58,7 @@ namespace GUIEngine {
|
||||
|
||||
private:
|
||||
VideoEngine::cSprite m_sprite;
|
||||
TextTypeEngine::cText* mp_text;// = nullptr
|
||||
TextTypeEngine::cText* mp_text;/// = nullptr
|
||||
};/// END CLASS DEFINITION cLabel
|
||||
}/// END NAMESPACE DEFINITION GUIEngine
|
||||
#endif/// END IFNDEF _CLABEL_HPP_
|
||||
|
||||
Reference in New Issue
Block a user