mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-03 16:16:43 +00:00
WindowServer+LibGfx: Move title bar button layout to WindowTheme
This commit is contained in:
parent
1ab8939077
commit
208cb995ba
Notes:
sideshowbarker
2024-07-19 03:08:13 +09:00
Author: https://github.com/thankyouverycool
Commit: 208cb995ba
Pull-request: https://github.com/SerenityOS/serenity/pull/3303
Reviewed-by: https://github.com/awesomekling
4 changed files with 36 additions and 24 deletions
|
@ -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() { }
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue