mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:57:43 +00:00
NotificationServer: Allow showing an icon in notifications
We currently use icon paths for this because I didn't want to deal with implementing icon bitmap sharing right now. In the future it would be better to post a bitmap somehow instead of a path.
This commit is contained in:
parent
3c29818048
commit
faedb763ca
7 changed files with 24 additions and 9 deletions
|
@ -37,7 +37,7 @@ public:
|
|||
virtual ~NotificationWindow() override;
|
||||
|
||||
private:
|
||||
NotificationWindow(const String& text, const String& title);
|
||||
NotificationWindow(const String& text, const String& title, const String& icon_path);
|
||||
|
||||
Gfx::Rect m_original_rect;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue