about summary refs log tree commit diff stats
path: root/src/tracker_frame.h
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2024-05-19 12:24:00 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2024-05-19 12:24:00 -0400
commit983f01cb8a2eaecd162e5734de88c461ef197b34 (patch)
tree86f8987f63a1ab5ffa613104dae3d8cd10f3239f /src/tracker_frame.h
parenteaa21c53b96b945d8809dc5f4a9353ecaaacc266 (diff)
downloadlingo-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.h9
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 @@
10class AchievementsPane; 10class AchievementsPane;
11class SubwayMap; 11class SubwayMap;
12class TrackerPanel; 12class TrackerPanel;
13class wxBookCtrlEvent;
14class wxNotebook;
13 15
14wxDECLARE_EVENT(STATE_RESET, wxCommandEvent); 16wxDECLARE_EVENT(STATE_RESET, wxCommandEvent);
15wxDECLARE_EVENT(STATE_CHANGED, wxCommandEvent); 17wxDECLARE_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 */