mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 10:17:35 +00:00
ThemeEditor: Center preview windows accounting for window frame
This commit is contained in:
parent
5ed3f7c6bf
commit
332574608c
2 changed files with 39 additions and 9 deletions
|
@ -35,6 +35,11 @@ private:
|
|||
virtual void resize_event(GUI::ResizeEvent&) override;
|
||||
virtual void drop_event(GUI::DropEvent&) override;
|
||||
|
||||
void update_preview_window_locations();
|
||||
|
||||
Gfx::IntRect m_active_window_rect;
|
||||
Gfx::IntRect m_inactive_window_rect;
|
||||
|
||||
OwnPtr<Gfx::ColorBlindnessFilter> m_color_filter = nullptr;
|
||||
RefPtr<MiniWidgetGallery> m_gallery;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue