Pre-resize fillparent
This commit is contained in:
@@ -19,7 +19,7 @@ cLabel::cLabel(cWindow* parent, const signed int id, const cString& label /*= ""
|
||||
mp_text = nullptr;
|
||||
}
|
||||
|
||||
///Functions
|
||||
/// Functions
|
||||
void cLabel::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*/)
|
||||
@@ -53,7 +53,7 @@ void cLabel::GenerateTexture()
|
||||
//this->setPosition()
|
||||
}
|
||||
|
||||
//Sets
|
||||
/// Sets
|
||||
void cLabel::setFontColour(const GUIHelpers::RGBA& colour)
|
||||
{
|
||||
mp_text->setColour(colour);
|
||||
@@ -76,7 +76,7 @@ void cLabel::setFont(const TextTypeEngine::cFont* font)
|
||||
mp_text->setFont((TextTypeEngine::cFont**)(&font));
|
||||
}
|
||||
|
||||
///Gets
|
||||
/// Gets
|
||||
const GUIHelpers::RGBA& cLabel::getFontColour() const
|
||||
{
|
||||
return mp_text->getColour();
|
||||
|
||||
Reference in New Issue
Block a user