mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 18:57:35 +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
|
@ -88,16 +88,7 @@ public:
|
|||
m_shadow_dirty |= re_render_shadow;
|
||||
}
|
||||
|
||||
void theme_changed()
|
||||
{
|
||||
m_dirty = m_shadow_dirty = true;
|
||||
m_top_bottom = nullptr;
|
||||
m_left_right = nullptr;
|
||||
m_bottom_y = m_right_x = 0;
|
||||
|
||||
layout_buttons();
|
||||
set_button_icons();
|
||||
}
|
||||
void theme_changed();
|
||||
|
||||
private:
|
||||
void paint_simple_rect_shadow(Gfx::Painter&, const Gfx::IntRect&, const Gfx::Bitmap&) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue