mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 23:07:35 +00:00
Taskbar/QuickLaunchWidget: Allow reordering the entries :^)
You can now drag the entries in the QuickLaunchWidget to reorder them!
This commit is contained in:
parent
63cac2839d
commit
84340c4ca7
2 changed files with 80 additions and 2 deletions
|
@ -125,6 +125,11 @@ private:
|
|||
|
||||
void set_or_insert_entry(NonnullOwnPtr<QuickLaunchEntry>);
|
||||
void remove_entry(DeprecatedString const&);
|
||||
void recalculate_order();
|
||||
|
||||
bool m_dragging { false };
|
||||
Gfx::IntPoint m_mouse_pos;
|
||||
int m_grab_offset { 0 };
|
||||
|
||||
RefPtr<GUI::Menu> m_context_menu;
|
||||
RefPtr<GUI::Action> m_context_menu_default_action;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue