diff options
Diffstat (limited to 'src/paintings_pane.h')
-rw-r--r-- | src/paintings_pane.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/paintings_pane.h b/src/paintings_pane.h new file mode 100644 index 0000000..1d14510 --- /dev/null +++ b/src/paintings_pane.h | |||
@@ -0,0 +1,28 @@ | |||
1 | #ifndef PAINTINGS_PANE_H_815370D2 | ||
2 | #define PAINTINGS_PANE_H_815370D2 | ||
3 | |||
4 | #include <wx/wxprec.h> | ||
5 | |||
6 | #ifndef WX_PRECOMP | ||
7 | #include <wx/wx.h> | ||
8 | #endif | ||
9 | |||
10 | class wxDataViewEvent; | ||
11 | class wxDataViewTreeCtrl; | ||
12 | |||
13 | class PaintingsPane : public wxPanel { | ||
14 | public: | ||
15 | explicit PaintingsPane(wxWindow* parent); | ||
16 | |||
17 | void ResetIndicators(); | ||
18 | void UpdateIndicators(const std::vector<std::string>& paintings); | ||
19 | |||
20 | private: | ||
21 | void OnClickRevealPaintings(wxCommandEvent& event); | ||
22 | void OnStartEditingCell(wxDataViewEvent& event); | ||
23 | |||
24 | wxDataViewTreeCtrl* tree_ctrl_; | ||
25 | wxButton* reveal_btn_; | ||
26 | }; | ||
27 | |||
28 | #endif /* end of include guard: PAINTINGS_PANE_H_815370D2 */ | ||