summaryrefslogtreecommitdiff
path: root/src/wx/timeline.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-07-04 01:15:05 +0100
committerCarl Hetherington <cth@carlh.net>2018-07-04 01:15:05 +0100
commit7bcf60f8ad3acd4dcae77a120216839b665c4335 (patch)
tree1d4b72911f1b1ff901d0b725423173244186dfe6 /src/wx/timeline.h
parent42d7062fcd4025600c2f5e2539f1fa347d6db145 (diff)
Fix icons on Windows; zoom to all on initial open.
Diffstat (limited to 'src/wx/timeline.h')
-rw-r--r--src/wx/timeline.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wx/timeline.h b/src/wx/timeline.h
index 30f7061d4..2133a537d 100644
--- a/src/wx/timeline.h
+++ b/src/wx/timeline.h
@@ -100,6 +100,7 @@ private:
void scrolled (wxScrollWinEvent& ev);
void set_pixels_per_second (double pps);
void set_pixels_per_track (int h);
+ void zoom_all ();
boost::shared_ptr<TimelineView> event_to_view (wxMouseEvent &);
TimelineContentViewList selected_views () const;
@@ -130,6 +131,7 @@ private:
int _x_scroll_rate;
int _y_scroll_rate;
int _pixels_per_track;
+ bool _first_resize;
static double const _minimum_pixels_per_second;
static int const _minimum_pixels_per_track;