diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2024-05-19 12:24:00 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2024-05-19 12:24:00 -0400 |
commit | 983f01cb8a2eaecd162e5734de88c461ef197b34 (patch) | |
tree | 86f8987f63a1ab5ffa613104dae3d8cd10f3239f /src/tracker_frame.h | |
parent | eaa21c53b96b945d8809dc5f4a9353ecaaacc266 (diff) | |
download | lingo-ap-tracker-983f01cb8a2eaecd162e5734de88c461ef197b34.tar.gz lingo-ap-tracker-983f01cb8a2eaecd162e5734de88c461ef197b34.tar.bz2 lingo-ap-tracker-983f01cb8a2eaecd162e5734de88c461ef197b34.zip |
Zoom in/out menu items with keyboard shortcuts
Diffstat (limited to 'src/tracker_frame.h')
-rw-r--r-- | src/tracker_frame.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/tracker_frame.h b/src/tracker_frame.h index f1d7171..f7cb3f2 100644 --- a/src/tracker_frame.h +++ b/src/tracker_frame.h | |||
@@ -10,6 +10,8 @@ | |||
10 | class AchievementsPane; | 10 | class AchievementsPane; |
11 | class SubwayMap; | 11 | class SubwayMap; |
12 | class TrackerPanel; | 12 | class TrackerPanel; |
13 | class wxBookCtrlEvent; | ||
14 | class wxNotebook; | ||
13 | 15 | ||
14 | wxDECLARE_EVENT(STATE_RESET, wxCommandEvent); | 16 | wxDECLARE_EVENT(STATE_RESET, wxCommandEvent); |
15 | wxDECLARE_EVENT(STATE_CHANGED, wxCommandEvent); | 17 | wxDECLARE_EVENT(STATE_CHANGED, wxCommandEvent); |
@@ -30,6 +32,9 @@ class TrackerFrame : public wxFrame { | |||
30 | void OnConnect(wxCommandEvent &event); | 32 | void OnConnect(wxCommandEvent &event); |
31 | void OnSettings(wxCommandEvent &event); | 33 | void OnSettings(wxCommandEvent &event); |
32 | void OnCheckForUpdates(wxCommandEvent &event); | 34 | void OnCheckForUpdates(wxCommandEvent &event); |
35 | void OnZoomIn(wxCommandEvent &event); | ||
36 | void OnZoomOut(wxCommandEvent &event); | ||
37 | void OnChangePage(wxBookCtrlEvent &event); | ||
33 | 38 | ||
34 | void OnStateReset(wxCommandEvent &event); | 39 | void OnStateReset(wxCommandEvent &event); |
35 | void OnStateChanged(wxCommandEvent &event); | 40 | void OnStateChanged(wxCommandEvent &event); |
@@ -37,9 +42,13 @@ class TrackerFrame : public wxFrame { | |||
37 | 42 | ||
38 | void CheckForUpdates(bool manual); | 43 | void CheckForUpdates(bool manual); |
39 | 44 | ||
45 | wxNotebook *notebook_; | ||
40 | TrackerPanel *tracker_panel_; | 46 | TrackerPanel *tracker_panel_; |
41 | AchievementsPane *achievements_pane_; | 47 | AchievementsPane *achievements_pane_; |
42 | SubwayMap *subway_map_; | 48 | SubwayMap *subway_map_; |
49 | |||
50 | wxMenuItem *zoom_in_menu_item_; | ||
51 | wxMenuItem *zoom_out_menu_item_; | ||
43 | }; | 52 | }; |
44 | 53 | ||
45 | #endif /* end of include guard: TRACKER_FRAME_H_86BD8DFB */ | 54 | #endif /* end of include guard: TRACKER_FRAME_H_86BD8DFB */ |