mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 02:47:35 +00:00
LibGUI: Add a ThemeChange event
This commit is contained in:
parent
2b162ef794
commit
2a32330257
8 changed files with 53 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
}
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue