diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2024-06-09 22:43:20 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2024-06-09 22:43:20 -0400 |
commit | 475b7a38f66071ad5713f6f00a49c4e1399e0613 (patch) | |
tree | 4dcb76d5bb9e1dbabe19dcbd0cc9676c31f715e6 /src/tracker_frame.h | |
parent | 829bb6ba7fdbef5c4e6fb9e4eabc0c2f962325ae (diff) | |
parent | 14d075e02007aeb53dbadd6c629564ee467cd7b2 (diff) | |
download | lingo-ap-tracker-475b7a38f66071ad5713f6f00a49c4e1399e0613.tar.gz lingo-ap-tracker-475b7a38f66071ad5713f6f00a49c4e1399e0613.tar.bz2 lingo-ap-tracker-475b7a38f66071ad5713f6f00a49c4e1399e0613.zip |
Merge branch 'main' into panels
Diffstat (limited to 'src/tracker_frame.h')
-rw-r--r-- | src/tracker_frame.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/tracker_frame.h b/src/tracker_frame.h index e5bf97e..f7cb3f2 100644 --- a/src/tracker_frame.h +++ b/src/tracker_frame.h | |||
@@ -8,8 +8,12 @@ | |||
8 | #endif | 8 | #endif |
9 | 9 | ||
10 | class AchievementsPane; | 10 | class AchievementsPane; |
11 | class SubwayMap; | ||
11 | class TrackerPanel; | 12 | class TrackerPanel; |
13 | class wxBookCtrlEvent; | ||
14 | class wxNotebook; | ||
12 | 15 | ||
16 | wxDECLARE_EVENT(STATE_RESET, wxCommandEvent); | ||
13 | wxDECLARE_EVENT(STATE_CHANGED, wxCommandEvent); | 17 | wxDECLARE_EVENT(STATE_CHANGED, wxCommandEvent); |
14 | wxDECLARE_EVENT(STATUS_CHANGED, wxCommandEvent); | 18 | wxDECLARE_EVENT(STATUS_CHANGED, wxCommandEvent); |
15 | 19 | ||
@@ -19,6 +23,7 @@ class TrackerFrame : public wxFrame { | |||
19 | 23 | ||
20 | void SetStatusMessage(std::string message); | 24 | void SetStatusMessage(std::string message); |
21 | 25 | ||
26 | void ResetIndicators(); | ||
22 | void UpdateIndicators(); | 27 | void UpdateIndicators(); |
23 | 28 | ||
24 | private: | 29 | private: |
@@ -27,14 +32,23 @@ class TrackerFrame : public wxFrame { | |||
27 | void OnConnect(wxCommandEvent &event); | 32 | void OnConnect(wxCommandEvent &event); |
28 | void OnSettings(wxCommandEvent &event); | 33 | void OnSettings(wxCommandEvent &event); |
29 | void OnCheckForUpdates(wxCommandEvent &event); | 34 | void OnCheckForUpdates(wxCommandEvent &event); |
35 | void OnZoomIn(wxCommandEvent &event); | ||
36 | void OnZoomOut(wxCommandEvent &event); | ||
37 | void OnChangePage(wxBookCtrlEvent &event); | ||
30 | 38 | ||
39 | void OnStateReset(wxCommandEvent &event); | ||
31 | void OnStateChanged(wxCommandEvent &event); | 40 | void OnStateChanged(wxCommandEvent &event); |
32 | void OnStatusChanged(wxCommandEvent &event); | 41 | void OnStatusChanged(wxCommandEvent &event); |
33 | 42 | ||
34 | void CheckForUpdates(bool manual); | 43 | void CheckForUpdates(bool manual); |
35 | 44 | ||
45 | wxNotebook *notebook_; | ||
36 | TrackerPanel *tracker_panel_; | 46 | TrackerPanel *tracker_panel_; |
37 | AchievementsPane *achievements_pane_; | 47 | AchievementsPane *achievements_pane_; |
48 | SubwayMap *subway_map_; | ||
49 | |||
50 | wxMenuItem *zoom_in_menu_item_; | ||
51 | wxMenuItem *zoom_out_menu_item_; | ||
38 | }; | 52 | }; |
39 | 53 | ||
40 | #endif /* end of include guard: TRACKER_FRAME_H_86BD8DFB */ | 54 | #endif /* end of include guard: TRACKER_FRAME_H_86BD8DFB */ |