diff options
author | Nick Johnson <sylvyrfysh@gmail.com> | 2021-03-11 14:16:23 -0600 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-03-22 12:46:16 +0100 |
commit | ef4144c1836a39606db614959dba44d45b09ba8b (patch) | |
tree | 0ae57ffb0ca35f8355325d6e10f4221c3e217290 /Userland/Services/NotificationServer/NotificationWindow.h | |
parent | f2814dd6c17fa0f5103f68c25c5a0cb53eac37a9 (diff) | |
download | serenity-ef4144c1836a39606db614959dba44d45b09ba8b.zip |
Notification: Member-ize updatable components
Changes the necessary widgets to be pointers so we can later change
their underlying data.
Diffstat (limited to 'Userland/Services/NotificationServer/NotificationWindow.h')
-rw-r--r-- | Userland/Services/NotificationServer/NotificationWindow.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Userland/Services/NotificationServer/NotificationWindow.h b/Userland/Services/NotificationServer/NotificationWindow.h index 48169663b3..206e57d085 100644 --- a/Userland/Services/NotificationServer/NotificationWindow.h +++ b/Userland/Services/NotificationServer/NotificationWindow.h @@ -26,6 +26,7 @@ #pragma once +#include <LibGUI/ImageWidget.h> #include <LibGUI/Window.h> namespace NotificationServer { @@ -46,6 +47,10 @@ private: Gfx::IntRect m_original_rect; i32 m_id; + + GUI::Label* m_text_label; + GUI::Label* m_title_label; + GUI::ImageWidget* m_image; }; } |