mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:47:35 +00:00
WindowServer+LibGfx: Move window frame rect calculation to WindowTheme
This commit is contained in:
parent
0e627b0273
commit
de1a54c378
4 changed files with 41 additions and 22 deletions
|
@ -43,6 +43,8 @@ public:
|
|||
virtual IntRect title_bar_icon_rect(WindowType, const IntRect& window_rect, const Palette&) const override;
|
||||
virtual IntRect title_bar_text_rect(WindowType, const IntRect& window_rect, const Palette&) const override;
|
||||
|
||||
virtual IntRect frame_rect_for_window(WindowType, const IntRect& window_rect, const Palette&) const override;
|
||||
|
||||
private:
|
||||
struct FrameColors {
|
||||
Color title_color;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue