cButton Texture Generate
This commit is contained in:
@@ -27,9 +27,6 @@ void cLabel::Create( cWindow* parent, const signed int id, const cString& label
|
||||
cWindow::Create(parent, id, sORIENTATION, align, layout, pos, size, padding, name);
|
||||
if (layout == GUIHelpers::eLayout::DEFAULT_LAYOUT)
|
||||
setLayout(sLAYOUT);
|
||||
if (this->getParent() != nullptr) {
|
||||
this->getParent()->AddChild(this);
|
||||
}
|
||||
setText(label);
|
||||
}
|
||||
|
||||
@@ -48,11 +45,6 @@ void cLabel::GenerateTexture()
|
||||
m_sprite.setImage((VideoEngine::cImage**)(&mp_text));
|
||||
|
||||
m_sprite.setImageArea(mp_text->getWH());
|
||||
|
||||
|
||||
|
||||
//this->setTransparent();
|
||||
//this->setPosition()
|
||||
}
|
||||
|
||||
/// Sets
|
||||
|
||||
Reference in New Issue
Block a user