about summary refs log tree commit diff stats
path: root/src/area_popup.h
blob: d2d50b977c97c7e32acdcf121a2c8fed994faa77 (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 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_;

  const wxBitmap* unchecked_eye_;
  const wxBitmap* checked_eye_;

  wxBitmap rendered_;
};

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