diff options
Diffstat (limited to 'src/area_popup.h')
| -rw-r--r-- | src/area_popup.h | 11 |
1 files changed, 6 insertions, 5 deletions
| diff --git a/src/area_popup.h b/src/area_popup.h index d5f6a50..00c644d 100644 --- a/src/area_popup.h +++ b/src/area_popup.h | |||
| @@ -7,19 +7,20 @@ | |||
| 7 | #include <wx/wx.h> | 7 | #include <wx/wx.h> |
| 8 | #endif | 8 | #endif |
| 9 | 9 | ||
| 10 | #include "eye_indicator.h" | 10 | class AreaPopup : public wxScrolledCanvas { |
| 11 | |||
| 12 | class AreaPopup : public wxScrolledWindow { | ||
| 13 | public: | 11 | public: |
| 14 | AreaPopup(wxWindow* parent, int area_id); | 12 | AreaPopup(wxWindow* parent, int area_id); |
| 15 | 13 | ||
| 16 | void UpdateIndicators(); | 14 | void UpdateIndicators(); |
| 17 | 15 | ||
| 18 | private: | 16 | private: |
| 17 | void OnPaint(wxPaintEvent& event); | ||
| 18 | |||
| 19 | int area_id_; | 19 | int area_id_; |
| 20 | 20 | ||
| 21 | std::vector<wxStaticText*> section_labels_; | 21 | wxBitmap unchecked_eye_; |
| 22 | std::vector<EyeIndicator*> eye_indicators_; | 22 | wxBitmap checked_eye_; |
| 23 | wxBitmap rendered_; | ||
| 23 | }; | 24 | }; |
| 24 | 25 | ||
| 25 | #endif /* end of include guard: AREA_POPUP_H_03FAC988 */ | 26 | #endif /* end of include guard: AREA_POPUP_H_03FAC988 */ |
