cButton Texture Generate
This commit is contained in:
@@ -50,6 +50,10 @@ cWindow::cWindow( cWindow* parent /*= nullptr*/, const signed int id /*= -1*/, c
|
||||
setSize(size);
|
||||
setPadding(padding);
|
||||
m_name = name;
|
||||
|
||||
if (this->getParent() != nullptr) {
|
||||
this->getParent()->AddChild(this);
|
||||
}
|
||||
}
|
||||
|
||||
/*virtual*/ void cWindow::Display() {
|
||||
@@ -569,6 +573,9 @@ void cWindow::DebugDisplay() const
|
||||
typePos = { -10, -10, 0, 0 };
|
||||
type = "Label";
|
||||
break;
|
||||
case GUIHelpers::eType::CBUTTON:
|
||||
type = "Button";
|
||||
break;
|
||||
default:
|
||||
type = "";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user