Adding new gui to Sketch3d

This commit is contained in:
IlyaShurupov 2024-03-18 14:37:39 +03:00 committed by Ilya Shurupov
parent 8eae09591d
commit e0f92b32dc
6 changed files with 134 additions and 10 deletions

View file

@ -132,6 +132,12 @@ namespace tp {
this->addValue("Padding", "Padding");
}
~ScrollableWindow() {
for (auto content : mContents) {
delete content.data();
}
}
// takes whole area
void proc(const Events& events, const tp::RectF& areaParent, const tp::RectF& aArea) override {
this->mArea = aArea;