49 std::shared_ptr<Notification> _notification,
53 void OnAckButton(wxCommandEvent &event);
54 void OnPaint(wxPaintEvent &event);
55 std::shared_ptr<Notification> GetNotification() {
return notification; }
58 std::shared_ptr<Notification> notification;
60 wxBitmap notification_bitmap;
61 wxStaticBitmap *m_itemStaticBitmap;
62 wxButton *m_ack_button;
98 void SetIconName(wxString &name) { m_NoteIconName = name; }
99 void SetIconSeverity(NotificationSeverity _severity);
101 bool IsShown()
const {
return m_shown; }
102 void Show(
bool show) { m_shown = show; }
105 bool UpdateStatus(
bool newColorScheme =
false);
107 void SetColorScheme(ColorScheme cs);
108 float GetScaleFactor() {
return m_scale; }
109 void SetScaleFactor(
float factor);
111 void Move(
const wxPoint &pt) { m_rect.SetPosition(pt); }
125 void CreateBmp(
bool bnew =
false);
126 void CreateTexture();
127 void UpdateTexture();
132 wxStaticBitmap *m_pStatBoxToolStaticBmp;
134 wxString m_lastNoteIconName;
135 wxString m_NoteIconName;
137 wxBitmap _img_gpsRed;
152 unsigned int m_texobj;
153 int m_tex_w, m_tex_h;
154 int m_image_width, m_image_height;