mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 05:37:44 +00:00
WindowServer: Refactor window geometry overlay rect calculation logic
This moves the ideal overlay rect calculation into its own function.
This commit is contained in:
parent
e1077ebbad
commit
7795b7bc17
2 changed files with 18 additions and 11 deletions
|
@ -151,6 +151,8 @@ public:
|
|||
void start_or_stop_move_to_tile_overlay_animation(TileWindowOverlay*);
|
||||
|
||||
private:
|
||||
Gfx::IntRect calculate_ideal_overlay_rect() const;
|
||||
|
||||
WeakPtr<Window> m_window;
|
||||
DeprecatedString m_label;
|
||||
Gfx::IntRect m_label_rect;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue