mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:57:44 +00:00
WindowServer: Add support for alpha channel based hit testing
This enables implementing non-rectangular window shapes, including non-rectangular window frames.
This commit is contained in:
parent
b3f0a5c917
commit
d590e0c946
12 changed files with 107 additions and 12 deletions
|
@ -90,6 +90,8 @@ public:
|
|||
|
||||
void theme_changed();
|
||||
|
||||
bool hit_test(const Gfx::IntPoint&) const;
|
||||
|
||||
private:
|
||||
void paint_simple_rect_shadow(Gfx::Painter&, const Gfx::IntRect&, const Gfx::Bitmap&) const;
|
||||
void paint_notification_frame(Gfx::Painter&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue