1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 16: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:
Andreas Kling 2019-04-05 15:54:56 +02:00
parent 99b98dc653
commit 47d270b577
8 changed files with 312 additions and 237 deletions

View file

@ -7,6 +7,8 @@
#include <LibC/string.h>
#endif
#define UNUSED_PARAM(x) (void)x
#include <AK/Types.h>
extern "C" void* mmx_memcpy(void* to, const void* from, size_t);