about summary refs log tree commit diff stats
path: root/src/subway_map.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/subway_map.h')
-rw-r--r--src/subway_map.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/subway_map.h b/src/subway_map.h index 9b0b43f..e891058 100644 --- a/src/subway_map.h +++ b/src/subway_map.h
@@ -32,6 +32,7 @@ class SubwayMap : public wxPanel {
32 void OnMouseScroll(wxMouseEvent &event); 32 void OnMouseScroll(wxMouseEvent &event);
33 void OnMouseLeave(wxMouseEvent &event); 33 void OnMouseLeave(wxMouseEvent &event);
34 void OnTimer(wxTimerEvent &event); 34 void OnTimer(wxTimerEvent &event);
35 void OnZoomSlide(wxCommandEvent &event);
35 36
36 void Redraw(); 37 void Redraw();
37 38
@@ -41,6 +42,7 @@ class SubwayMap : public wxPanel {
41 42
42 void SetZoomPos(wxPoint pos); 43 void SetZoomPos(wxPoint pos);
43 void SetScrollSpeed(int scroll_x, int scroll_y); 44 void SetScrollSpeed(int scroll_x, int scroll_y);
45 void SetZoom(double zoom, wxPoint static_point);
44 46
45 wxImage map_image_; 47 wxImage map_image_;
46 wxImage owl_image_; 48 wxImage owl_image_;
@@ -61,6 +63,8 @@ class SubwayMap : public wxPanel {
61 int scroll_x_ = 0; 63 int scroll_x_ = 0;
62 int scroll_y_ = 0; 64 int scroll_y_ = 0;
63 65
66 wxSlider *zoom_slider_;
67
64 struct GetItemBox { 68 struct GetItemBox {
65 quadtree::Box<float> operator()(const int &id) const; 69 quadtree::Box<float> operator()(const int &id) const;
66 }; 70 };