about summary refs log tree commit diff stats
path: root/src/report_popup.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/report_popup.h')
-rw-r--r--src/report_popup.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/report_popup.h b/src/report_popup.h new file mode 100644 index 0000000..9e141bf --- /dev/null +++ b/src/report_popup.h
@@ -0,0 +1,30 @@
1#ifndef REPORT_POPUP_H_E065BED4
2#define REPORT_POPUP_H_E065BED4
3
4#include <wx/wxprec.h>
5
6#ifndef WX_PRECOMP
7#include <wx/wx.h>
8#endif
9
10class ReportPopup : public wxScrolledCanvas {
11 public:
12 explicit ReportPopup(wxWindow* parent);
13
14 void SetDoorId(int door_id);
15
16 void Reset();
17
18 void UpdateIndicators();
19
20 private:
21 void OnPaint(wxPaintEvent& event);
22
23 int door_id_ = -1;
24
25 wxBitmap unchecked_eye_;
26 wxBitmap checked_eye_;
27 wxBitmap rendered_;
28};
29
30#endif /* end of include guard: REPORT_POPUP_H_E065BED4 */