1
Fork 0
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:
Andreas Kling 2020-03-26 20:38:28 +01:00
parent 3c29818048
commit faedb763ca
7 changed files with 24 additions and 9 deletions

View file

@ -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;
};