1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 22:47:45 +00:00

ThemeEditor: Add preview window with 'Highlighted' window state

This state has been occasionally missed in themes, adding it
to the preview may help avoid that.
This commit is contained in:
MacDue 2022-04-28 20:40:41 +01:00 committed by Andreas Kling
parent 332574608c
commit ac0d708634
2 changed files with 19 additions and 0 deletions

View file

@ -35,10 +35,12 @@ private:
virtual void resize_event(GUI::ResizeEvent&) override;
virtual void drop_event(GUI::DropEvent&) override;
void paint_hightlight_window();
void update_preview_window_locations();
Gfx::IntRect m_active_window_rect;
Gfx::IntRect m_inactive_window_rect;
Gfx::IntRect m_highlight_window_rect;
OwnPtr<Gfx::ColorBlindnessFilter> m_color_filter = nullptr;
RefPtr<MiniWidgetGallery> m_gallery;