about summary refs log tree commit diff stats
path: root/src/tracker_frame.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tracker_frame.h')
-rw-r--r--src/tracker_frame.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/tracker_frame.h b/src/tracker_frame.h index 131c7b8..00bbe70 100644 --- a/src/tracker_frame.h +++ b/src/tracker_frame.h
@@ -8,6 +8,7 @@
8#endif 8#endif
9 9
10#include <memory> 10#include <memory>
11#include <set>
11 12
12#include "ap_state.h" 13#include "ap_state.h"
13#include "icons.h" 14#include "icons.h"
@@ -52,10 +53,8 @@ struct StateUpdate {
52 std::vector<ItemState> items; 53 std::vector<ItemState> items;
53 bool progression_items = false; 54 bool progression_items = false;
54 std::vector<std::string> paintings; 55 std::vector<std::string> paintings;
55 bool achievements = false;
56 bool open_panels_tab = false;
57 bool cleared_locations = false; 56 bool cleared_locations = false;
58 bool hunt_panels = false; 57 std::set<int> panels;
59 bool player_position = false; 58 bool player_position = false;
60 bool changed_settings = false; 59 bool changed_settings = false;
61}; 60};
@@ -100,7 +99,6 @@ class TrackerFrame : public wxFrame {
100 void OnOpenLogWindow(wxCommandEvent &event); 99 void OnOpenLogWindow(wxCommandEvent &event);
101 void OnCloseLogWindow(wxCloseEvent &event); 100 void OnCloseLogWindow(wxCloseEvent &event);
102 void OnChangePage(wxBookCtrlEvent &event); 101 void OnChangePage(wxBookCtrlEvent &event);
103 void OnOpenFile(wxCommandEvent &event);
104 void OnSashPositionChanged(wxSplitterEvent &event); 102 void OnSashPositionChanged(wxSplitterEvent &event);
105 103
106 void OnStateReset(wxCommandEvent &event); 104 void OnStateReset(wxCommandEvent &event);
@@ -118,7 +116,6 @@ class TrackerFrame : public wxFrame {
118 OptionsPane *options_pane_; 116 OptionsPane *options_pane_;
119 PaintingsPane *paintings_pane_; 117 PaintingsPane *paintings_pane_;
120 SubwayMap *subway_map_; 118 SubwayMap *subway_map_;
121 TrackerPanel *panels_panel_ = nullptr;
122 LogDialog *log_dialog_ = nullptr; 119 LogDialog *log_dialog_ = nullptr;
123 120
124 wxMenuItem *zoom_in_menu_item_; 121 wxMenuItem *zoom_in_menu_item_;