mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 04:37:44 +00:00
WindowServer: Improvements to support alpha channel in window frames
This fixes some issues handling the alpha channel that may be present in rendered window frames. Fixes #5303
This commit is contained in:
parent
9ae02d4c92
commit
0138f13bfe
6 changed files with 55 additions and 20 deletions
|
@ -62,6 +62,7 @@ public:
|
|||
|
||||
virtual Vector<IntRect> layout_buttons(WindowType, const IntRect& window_rect, const Palette&, size_t buttons) const = 0;
|
||||
virtual bool is_simple_rect_frame() const = 0;
|
||||
virtual bool frame_uses_alpha(WindowState, const Palette&) const = 0;
|
||||
|
||||
protected:
|
||||
WindowTheme() { }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue