mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 04:37:44 +00:00
VBForm: Set mouse type relative to how we resize the VBWidget
This commit is contained in:
parent
6fe0fa30f2
commit
e7d15ccca4
2 changed files with 38 additions and 0 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue