1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 18:17:44 +00:00

LibGUI: Add a ThemeChange event

This commit is contained in:
Oriko 2020-03-16 13:36:21 +02:00 committed by Andreas Kling
parent 2b162ef794
commit 2a32330257
8 changed files with 53 additions and 1 deletions

View file

@ -28,9 +28,9 @@
#include <Kernel/KeyCode.h>
#include <LibCore/Event.h>
#include <LibGUI/WindowType.h>
#include <LibGfx/Point.h>
#include <LibGfx/Rect.h>
#include <LibGUI/WindowType.h>
namespace GUI {
@ -62,6 +62,7 @@ public:
EnabledChange,
DragMove,
Drop,
ThemeChange,
__Begin_WM_Events,
WM_WindowRemoved,
@ -340,4 +341,12 @@ private:
NonnullRefPtr<Core::MimeData> m_mime_data;
};
class ThemeChangeEvent final : public Event {
public:
ThemeChangeEvent()
: Event(Type::ThemeChange)
{
}
};
}