about summary refs log tree commit diff stats
path: root/src/tracker_panel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tracker_panel.h')
-rw-r--r--src/tracker_panel.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/tracker_panel.h b/src/tracker_panel.h index abab1bf..6825843 100644 --- a/src/tracker_panel.h +++ b/src/tracker_panel.h
@@ -19,16 +19,6 @@ class TrackerPanel : public wxPanel {
19 19
20 void UpdateIndicators(bool reset); 20 void UpdateIndicators(bool reset);
21 21
22 void SetPanelsMode();
23
24 void SetSavedataPath(std::string savedata_path);
25
26 bool IsPanelsMode() const { return panels_mode_; }
27
28 const std::set<std::string> &GetSolvedPanels() const {
29 return solved_panels_;
30 }
31
32 private: 22 private:
33 struct AreaIndicator { 23 struct AreaIndicator {
34 int area_id = -1; 24 int area_id = -1;
@@ -42,23 +32,16 @@ class TrackerPanel : public wxPanel {
42 32
43 void OnPaint(wxPaintEvent &event); 33 void OnPaint(wxPaintEvent &event);
44 void OnMouseMove(wxMouseEvent &event); 34 void OnMouseMove(wxMouseEvent &event);
45 void OnRefreshSavedata(wxCommandEvent &event);
46 35
47 void Resize(); 36 void Resize();
48 void Redraw(); 37 void Redraw();
49 38
50 void RefreshSavedata();
51
52 void SetUpRefreshButton();
53
54 wxImage map_image_; 39 wxImage map_image_;
55 wxImage player_image_; 40 wxImage player_image_;
56 wxBitmap scaled_map_; 41 wxBitmap scaled_map_;
57 wxBitmap rendered_; 42 wxBitmap rendered_;
58 wxBitmap scaled_player_; 43 wxBitmap scaled_player_;
59 44
60 wxButton *refresh_button_ = nullptr;
61
62 int offset_x_ = 0; 45 int offset_x_ = 0;
63 int offset_y_ = 0; 46 int offset_y_ = 0;
64 double scale_x_ = 0; 47 double scale_x_ = 0;
@@ -66,10 +49,6 @@ class TrackerPanel : public wxPanel {
66 int real_area_size_ = 0; 49 int real_area_size_ = 0;
67 50
68 std::vector<AreaIndicator> areas_; 51 std::vector<AreaIndicator> areas_;
69
70 bool panels_mode_ = false;
71 std::optional<std::string> savedata_path_;
72 std::set<std::string> solved_panels_;
73}; 52};
74 53
75#endif /* end of include guard: TRACKER_PANEL_H_D675A54D */ 54#endif /* end of include guard: TRACKER_PANEL_H_D675A54D */