mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:17:45 +00:00
WindowServer: Factor out window frame logic into a WSWindowFrame class.
The window frame is an object that contains a window, its title bar and window border. This way WSWindowManager doesn't have to know about all the different types of window borders, titlebar rects, etc.
This commit is contained in:
parent
99b98dc653
commit
47d270b577
8 changed files with 312 additions and 237 deletions
|
@ -29,6 +29,7 @@ class GraphicsBitmap;
|
|||
enum class ResizeDirection { None, Left, UpLeft, Up, UpRight, Right, DownRight, Down, DownLeft };
|
||||
|
||||
class WSWindowManager : public WSMessageReceiver {
|
||||
friend class WSWindowFrame;
|
||||
friend class WSWindowSwitcher;
|
||||
public:
|
||||
static WSWindowManager& the();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue