about summary refs log tree commit diff stats
path: root/src/area_popup.h
blob: 3326406c72687ec360e42b882fc996d57bb9595f (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
#ifndef AREA_POPUP_H_03FAC988
#define AREA_POPUP_H_03FAC988

#include <wx/wxprec.h>

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

class AreaPopup : public wxScrolledCanvas {
 public:
  AreaPopup(wxWindow* parent, int area_id);

  void UpdateIndicators();

 private:
  void OnPaint(wxPaintEvent& event);
  void OnDPIChanged(wxDPIChangedEvent& event);

  void LoadIcons();

  int area_id_;

  wxBitmap unchecked_eye_;
  wxBitmap checked_eye_;
  wxBitmap rendered_;
};

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