X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Fwx%2Ftimeline.h;h=35153dd175d4c13aa4f510656c3810a2a1bd38fc;hp=b3ee77fff84644a14eb2158ab38fd64778b19a6d;hb=854f2e5bbb7ffb9758b823af87034033033f3cb8;hpb=015fe447cfe25babc55cf8ed282bb909e4713aa0 diff --git a/src/wx/timeline.h b/src/wx/timeline.h index b3ee77fff..35153dd17 100644 --- a/src/wx/timeline.h +++ b/src/wx/timeline.h @@ -29,12 +29,12 @@ class Film; class View; class ContentView; class FilmEditor; -class DCPTimeAxisView; +class TimeAxisView; -class DCPTimeline : public wxPanel +class Timeline : public wxPanel { public: - DCPTimeline (wxWindow *, FilmEditor *, boost::shared_ptr); + Timeline (wxWindow *, FilmEditor *, boost::shared_ptr); boost::shared_ptr film () const; @@ -52,8 +52,8 @@ public: return 48; } - double pixels_per_time_unit () const { - return _pixels_per_time_unit; + double pixels_per_second () const { + return _pixels_per_second; } Position tracks_position () const { @@ -62,7 +62,7 @@ public: int tracks () const; - void setup_pixels_per_time_unit (); + void setup_pixels_per_second (); void set_snap (bool s) { _snap = s; @@ -94,9 +94,9 @@ private: FilmEditor* _film_editor; boost::weak_ptr _film; ViewList _views; - boost::shared_ptr _time_axis_view; + boost::shared_ptr _time_axis_view; int _tracks; - double _pixels_per_time_unit; + double _pixels_per_second; bool _left_down; wxPoint _down_point; boost::shared_ptr _down_view;