fix focus lockin & sketch3d new gui

This commit is contained in:
IlyaShurupov 2024-10-20 12:01:42 +03:00
parent aecc75828b
commit 2460c9ce8d
44 changed files with 1015 additions and 322 deletions

View file

@ -96,7 +96,7 @@ namespace tp {
bool mResizing = false;
Widget* mCenterWidget = nullptr;
RectF mCenterArea {};
RectF mCenterArea { 0, 0, 10, 10 };
// Parameters
const halnf mHandleSplitFactor = 0.3;

View file

@ -15,4 +15,19 @@ namespace tp {
void pickRect(bool vertical) override {}
void clampRect() override {}
};
class ToolBarLayout : public WidgetLayout {
friend class DebugManager;
public:
explicit ToolBarLayout(Widget* widget) : WidgetLayout(widget) {}
void updateLayout(bool vertical) override;
void pickRect(bool vertical) override {}
void clampRect() override {}
private:
halnf mToolBarHeight = 55;
};
}