cButton Texture Generate

This commit is contained in:
2018-08-30 09:16:39 -04:00
parent 30416b0334
commit 335166ea00
24 changed files with 163 additions and 174 deletions
@@ -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 = "";
}