1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 17:07:35 +00:00

VisualBuilder: Multiple-widget selection support.

This is pretty damn nice, now I can move and resize entire groups of widgets
together. Diagonal group resizing feels a bit strange but I wasn't expecting
it not to. :^)
This commit is contained in:
Andreas Kling 2019-04-19 22:46:16 +02:00
parent e001954193
commit 440700b4cb
5 changed files with 123 additions and 55 deletions

View file

@ -56,6 +56,9 @@ public:
void property_did_change();
Rect transform_origin_rect() const { return m_transform_origin_rect; }
void capture_transform_origin_rect();
private:
VBWidget(VBWidgetType, VBForm&);
@ -66,4 +69,5 @@ private:
GWidget* m_gwidget { nullptr };
Vector<OwnPtr<VBProperty>> m_properties;
Retained<VBWidgetPropertyModel> m_property_model;
Rect m_transform_origin_rect;
};