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;
84 void OnClose(wxCloseEvent &event);
85 void ReloadNotificationList();
86 void OnAckAllButton(wxCommandEvent &event);
89 wxScrolledWindow *m_sWindow;
91 wxButton *m_ackall_button;
100 void SetIconName(wxString &name) { m_NoteIconName = name; }
101 void SetIconSeverity(NotificationSeverity _severity);
103 bool IsShown()
const {
return m_shown; }
104 void Show(
bool show) { m_shown = show; }
107 bool UpdateStatus(
bool newColorScheme =
false);
109 void SetColorScheme(ColorScheme cs);
110 float GetScaleFactor() {
return m_scale; }
111 void SetScaleFactor(
float factor);
113 void Move(
const wxPoint &pt) { m_rect.SetPosition(pt); }
127 void CreateBmp(
bool bnew =
false);
128 void CreateTexture();
129 void UpdateTexture();
134 wxStaticBitmap *m_pStatBoxToolStaticBmp;
136 wxString m_lastNoteIconName;
137 wxString m_NoteIconName;
139 wxBitmap _img_gpsRed;
154 unsigned int m_texobj;
155 int m_tex_w, m_tex_h;
156 int m_image_width, m_image_height;