about summary refs log tree commit diff stats
path: root/src/report_popup.h
blob: 9e141bf1abca7c613d296a3668e8e85f6f2b1683 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#ifndef REPORT_POPUP_H_E065BED4
#define REPORT_POPUP_H_E065BED4

#include <wx/wxprec.h>

#ifndef WX_PRECOMP
#include <wx/wx.h>
#endif

class ReportPopup : public wxScrolledCanvas {
 public:
  explicit ReportPopup(wxWindow* parent);

  void SetDoorId(int door_id);

  void Reset();

  void UpdateIndicators();

 private:
  void OnPaint(wxPaintEvent& event);

  int door_id_ = -1;

  wxBitmap unchecked_eye_;
  wxBitmap checked_eye_;
  wxBitmap rendered_;
};

#endif /* end of include guard: REPORT_POPUP_H_E065BED4 */