Broken auto sizing

This commit is contained in:
2023-12-22 23:29:03 -06:00
parent 92f8b17db6
commit 9822b1a57f
26 changed files with 512 additions and 168 deletions

View File

@@ -16,6 +16,22 @@ void UIElement::getSelfQuads(UICanvas &ctx) {
//Do nothing
}
float_t UIElement::getSelfWidth() {
return 0.0f;
}
float_t UIElement::getSelfHeight() {
return 0.0f;
}
float_t UIElement::getWidth() {
return this->getSelfWidth();
}
float_t UIElement::getHeight() {
return this->getSelfHeight();
}
void UIElement::getQuads(UICanvas &ctx) {
this->getSelfQuads(ctx);