mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 18:17:45 +00:00
Very hacky support for dragging a window around.
This commit is contained in:
parent
22721e6729
commit
64127e0637
7 changed files with 80 additions and 14 deletions
|
@ -38,4 +38,9 @@ private:
|
|||
void paintWindowFrame(Window&);
|
||||
HashTable<Window*> m_windows;
|
||||
Widget* m_rootWidget { nullptr };
|
||||
|
||||
Window* m_dragWindow { nullptr };
|
||||
Point m_dragOrigin;
|
||||
Point m_dragWindowOrigin;
|
||||
Rect m_lastDragRect;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue