summaryrefslogtreecommitdiff
path: root/DevTools/VisualBuilder/VBForm.h
diff options
context:
space:
mode:
authorrhin123 <ryanrhin@gmail.com>2019-08-29 22:41:41 -0500
committerAndreas Kling <awesomekling@gmail.com>2019-08-30 07:45:12 +0200
commite7d15ccca4a010c19374a3bfe895283df246b293 (patch)
tree0d763c2d240f459d754761f8edf98c02af101b96 /DevTools/VisualBuilder/VBForm.h
parent6fe0fa30f23fb857864a26cbad58320cc3ef3112 (diff)
downloadserenity-e7d15ccca4a010c19374a3bfe895283df246b293.zip
VBForm: Set mouse type relative to how we resize the VBWidget
Diffstat (limited to 'DevTools/VisualBuilder/VBForm.h')
-rw-r--r--DevTools/VisualBuilder/VBForm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/DevTools/VisualBuilder/VBForm.h b/DevTools/VisualBuilder/VBForm.h
index 1f86c5027a..e2d7421185 100644
--- a/DevTools/VisualBuilder/VBForm.h
+++ b/DevTools/VisualBuilder/VBForm.h
@@ -47,6 +47,7 @@ private:
void delete_selected_widgets();
template<typename Callback>
void for_each_selected_widget(Callback);
+ void set_cursor_type_from_grabber(Direction grabber);
VBWidget* single_selected_widget();
@@ -59,5 +60,6 @@ private:
Point m_transform_event_origin;
Point m_next_insertion_position;
Direction m_resize_direction { Direction::None };
+ Direction m_mouse_direction_type { Direction::None };
OwnPtr<GMenu> m_context_menu;
};