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

WindowServer+LibGfx: Move title bar button layout to WindowTheme

This commit is contained in:
thankyouverycool 2020-08-25 18:13:32 -04:00 committed by Andreas Kling
parent 1ab8939077
commit 208cb995ba
4 changed files with 36 additions and 24 deletions

View file

@ -59,6 +59,8 @@ public:
virtual IntRect frame_rect_for_window(WindowType, const IntRect& window_rect, const Palette&) const = 0;
virtual Vector<IntRect> layout_buttons(WindowType, const IntRect& window_rect, const Palette&, size_t buttons) const = 0;
protected:
WindowTheme() { }
};