mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:37:45 +00:00
LibGUI: Add FontsChanged event and deliver it to windows and widgets
This commit is contained in:
parent
9318d9f284
commit
b40d771512
7 changed files with 39 additions and 0 deletions
|
@ -52,6 +52,7 @@ public:
|
|||
DragMove,
|
||||
Drop,
|
||||
ThemeChange,
|
||||
FontsChange,
|
||||
ScreenRectsChange,
|
||||
ActionEnter,
|
||||
ActionLeave,
|
||||
|
@ -425,6 +426,14 @@ public:
|
|||
}
|
||||
};
|
||||
|
||||
class FontsChangeEvent final : public Event {
|
||||
public:
|
||||
FontsChangeEvent()
|
||||
: Event(Type::FontsChange)
|
||||
{
|
||||
}
|
||||
};
|
||||
|
||||
class ScreenRectsChangeEvent final : public Event {
|
||||
public:
|
||||
explicit ScreenRectsChangeEvent(const Vector<Gfx::IntRect, 4>& rects, size_t main_screen_index)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue