diff options
| author | Star Rauchenberger <fefferburbia@gmail.com> | 2024-06-06 15:54:41 -0400 |
|---|---|---|
| committer | Star Rauchenberger <fefferburbia@gmail.com> | 2024-06-06 15:54:41 -0400 |
| commit | 8ddab49cc13d809ca75dcd7f645661a3d3cb05c4 (patch) | |
| tree | ba1e5f3237dbb7cdc939c35e193f5e6e46845a77 /src/tracker_frame.h | |
| parent | ac38dd0a5c394eefc39b7a8cf7b96762f18c8b31 (diff) | |
| parent | 6f5287b3921c843a6b322ccbdfcbef00a8f16980 (diff) | |
| download | lingo-ap-tracker-8ddab49cc13d809ca75dcd7f645661a3d3cb05c4.tar.gz lingo-ap-tracker-8ddab49cc13d809ca75dcd7f645661a3d3cb05c4.tar.bz2 lingo-ap-tracker-8ddab49cc13d809ca75dcd7f645661a3d3cb05c4.zip | |
Merge branch 'subway'
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 */ |
