about summary refs log tree commit diff stats
path: root/src/paintings_pane.h
blob: 1d1451069a38ab02f77d84e82f2031af5f57e47a (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
#ifndef PAINTINGS_PANE_H_815370D2
#define PAINTINGS_PANE_H_815370D2

#include <wx/wxprec.h>

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

class wxDataViewEvent;
class wxDataViewTreeCtrl;

class PaintingsPane : public wxPanel {
 public:
  explicit PaintingsPane(wxWindow* parent);

  void ResetIndicators();
  void UpdateIndicators(const std::vector<std::string>& paintings);

 private:
  void OnClickRevealPaintings(wxCommandEvent& event);
  void OnStartEditingCell(wxDataViewEvent& event);

  wxDataViewTreeCtrl* tree_ctrl_;
  wxButton* reveal_btn_;
};

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