mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:37:35 +00:00
Notification: Member-ize updatable components
Changes the necessary widgets to be pointers so we can later change their underlying data.
This commit is contained in:
parent
f2814dd6c1
commit
ef4144c183
2 changed files with 16 additions and 12 deletions
|
@ -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;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue