1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 18:18:12 +00:00

WindowServer: Rename WSEvent to WSMessage.

Also do the same for WSMessageLoop and WSMessageReceiver. More to come.
This commit is contained in:
Andreas Kling 2019-01-26 05:28:02 +01:00
parent 7cf3c7461c
commit bba21adae3
16 changed files with 129 additions and 151 deletions

View file

@ -7,7 +7,7 @@
#include <AK/InlineLinkedList.h>
#include <AK/WeakPtr.h>
#include <AK/Lock.h>
#include "WSEventReceiver.h"
#include "WSMessageReceiver.h"
class WSScreen;
class WSMouseEvent;
@ -16,7 +16,7 @@ class WSWindow;
class CharacterBitmap;
class GraphicsBitmap;
class WSWindowManager : public WSEventReceiver {
class WSWindowManager : public WSMessageReceiver {
public:
static WSWindowManager& the();
void add_window(WSWindow&);
@ -48,7 +48,7 @@ private:
void set_active_window(WSWindow*);
virtual void event(WSEvent&) override;
virtual void event(WSMessage&) override;
void compose();
void paint_window_frame(WSWindow&);