diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-12-13 10:06:18 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-12-13 10:06:18 +0000 |
| commit | 097a1fb413bbbb89182161d4c1a31daa5419ec96 (patch) | |
| tree | 87d6ed5b14e7554b26f565380b69528ab3ec10ec /src/wx | |
| parent | ea910e250a0fb3b0ad3ce0cf32dd27b24c17cd1d (diff) | |
Time -> DCPTime.
Diffstat (limited to 'src/wx')
| -rw-r--r-- | src/wx/audio_plot.cc | 2 | ||||
| -rw-r--r-- | src/wx/film_editor.cc | 4 | ||||
| -rw-r--r-- | src/wx/film_editor.h | 6 | ||||
| -rw-r--r-- | src/wx/film_viewer.cc | 8 | ||||
| -rw-r--r-- | src/wx/film_viewer.h | 4 | ||||
| -rw-r--r-- | src/wx/timecode.cc | 26 | ||||
| -rw-r--r-- | src/wx/timecode.h | 8 | ||||
| -rw-r--r-- | src/wx/timeline.cc | 86 | ||||
| -rw-r--r-- | src/wx/timeline.h | 10 | ||||
| -rw-r--r-- | src/wx/timeline_dialog.cc | 8 | ||||
| -rw-r--r-- | src/wx/timeline_dialog.h | 6 | ||||
| -rw-r--r-- | src/wx/timing_panel.cc | 10 | ||||
| -rw-r--r-- | src/wx/timing_panel.h | 12 |
13 files changed, 95 insertions, 95 deletions
diff --git a/src/wx/audio_plot.cc b/src/wx/audio_plot.cc index f78885772..96de34d40 100644 --- a/src/wx/audio_plot.cc +++ b/src/wx/audio_plot.cc @@ -145,7 +145,7 @@ AudioPlot::paint () gc->SetPen (*wxLIGHT_GREY_PEN); gc->StrokePath (grid); - gc->DrawText (_("Time"), data_width, _height - _y_origin + db_label_height / 2); + gc->DrawText (_("DCPTime"), data_width, _height - _y_origin + db_label_height / 2); if (_type_visible[AudioPoint::PEAK]) { for (int c = 0; c < MAX_AUDIO_CHANNELS; ++c) { diff --git a/src/wx/film_editor.cc b/src/wx/film_editor.cc index 564b90d28..14982e0d3 100644 --- a/src/wx/film_editor.cc +++ b/src/wx/film_editor.cc @@ -279,7 +279,7 @@ FilmEditor::make_content_panel () b->Add (_content_earlier, 1, wxEXPAND); _content_later = new wxButton (_content_panel, wxID_DOWN); b->Add (_content_later, 1, wxEXPAND); - _content_timeline = new wxButton (_content_panel, wxID_ANY, _("Timeline...")); + _content_timeline = new wxButton (_content_panel, wxID_ANY, _("DCPTimeline...")); b->Add (_content_timeline, 1, wxEXPAND | wxLEFT | wxRIGHT); s->Add (b, 0, wxALL, 4); @@ -936,7 +936,7 @@ FilmEditor::content_timeline_clicked () _timeline_dialog = 0; } - _timeline_dialog = new TimelineDialog (this, _film); + _timeline_dialog = new DCPTimelineDialog (this, _film); _timeline_dialog->Show (); } diff --git a/src/wx/film_editor.h b/src/wx/film_editor.h index 23c87e678..dadb583ae 100644 --- a/src/wx/film_editor.h +++ b/src/wx/film_editor.h @@ -33,9 +33,9 @@ class wxNotebook; class wxListCtrl; class wxListEvent; class Film; -class TimelineDialog; +class DCPTimelineDialog; class Ratio; -class Timecode; +class DCPTimecode; class FilmEditorPanel; class SubtitleContent; @@ -156,5 +156,5 @@ private: std::vector<Ratio const *> _ratios; bool _generally_sensitive; - TimelineDialog* _timeline_dialog; + DCPTimelineDialog* _timeline_dialog; }; diff --git a/src/wx/film_viewer.cc b/src/wx/film_viewer.cc index fbca835c2..cc2f67b15 100644 --- a/src/wx/film_viewer.cc +++ b/src/wx/film_viewer.cc @@ -164,7 +164,7 @@ FilmViewer::timer () fetch_next_frame (); - Time const len = _film->length (); + DCPTime const len = _film->length (); if (len) { int const new_slider_position = 4096 * _player->video_position() / len; @@ -275,7 +275,7 @@ FilmViewer::check_play_state () } void -FilmViewer::process_video (shared_ptr<PlayerImage> image, Eyes eyes, Time t) +FilmViewer::process_video (shared_ptr<PlayerImage> image, Eyes eyes, DCPTime t) { if (eyes == EYES_RIGHT) { return; @@ -288,7 +288,7 @@ FilmViewer::process_video (shared_ptr<PlayerImage> image, Eyes eyes, Time t) } void -FilmViewer::set_position_text (Time t) +FilmViewer::set_position_text (DCPTime t) { if (!_film) { _frame_number->SetLabel ("0"); @@ -371,7 +371,7 @@ FilmViewer::back_clicked () We want to see the one before it, so we need to go back 2. */ - Time p = _player->video_position() - _film->video_frames_to_time (2); + DCPTime p = _player->video_position() - _film->video_frames_to_time (2); if (p < 0) { p = 0; } diff --git a/src/wx/film_viewer.h b/src/wx/film_viewer.h index c99c73440..0e5c49c6d 100644 --- a/src/wx/film_viewer.h +++ b/src/wx/film_viewer.h @@ -59,7 +59,7 @@ private: void slider_moved (); void play_clicked (); void timer (); - void process_video (boost::shared_ptr<PlayerImage>, Eyes, Time); + void process_video (boost::shared_ptr<PlayerImage>, Eyes, DCPTime); void calculate_sizes (); void check_play_state (); void fetch_current_frame_again (); @@ -68,7 +68,7 @@ private: void back_clicked (); void forward_clicked (); void player_changed (bool); - void set_position_text (Time); + void set_position_text (DCPTime); boost::shared_ptr<Film> _film; boost::shared_ptr<Player> _player; diff --git a/src/wx/timecode.cc b/src/wx/timecode.cc index 033bd2bd0..b23ff2a39 100644 --- a/src/wx/timecode.cc +++ b/src/wx/timecode.cc @@ -26,7 +26,7 @@ using std::string; using std::cout; using boost::lexical_cast; -Timecode::Timecode (wxWindow* parent) +DCPTimecode::DCPTimecode (wxWindow* parent) : wxPanel (parent) { wxClientDC dc (parent); @@ -69,11 +69,11 @@ Timecode::Timecode (wxWindow* parent) _fixed = add_label_to_sizer (_sizer, this, wxT ("42"), false); - _hours->Bind (wxEVT_COMMAND_TEXT_UPDATED, boost::bind (&Timecode::changed, this)); - _minutes->Bind (wxEVT_COMMAND_TEXT_UPDATED, boost::bind (&Timecode::changed, this)); - _seconds->Bind (wxEVT_COMMAND_TEXT_UPDATED, boost::bind (&Timecode::changed, this)); - _frames->Bind (wxEVT_COMMAND_TEXT_UPDATED, boost::bind (&Timecode::changed, this)); - _set_button->Bind (wxEVT_COMMAND_BUTTON_CLICKED, boost::bind (&Timecode::set_clicked, this)); + _hours->Bind (wxEVT_COMMAND_TEXT_UPDATED, boost::bind (&DCPTimecode::changed, this)); + _minutes->Bind (wxEVT_COMMAND_TEXT_UPDATED, boost::bind (&DCPTimecode::changed, this)); + _seconds->Bind (wxEVT_COMMAND_TEXT_UPDATED, boost::bind (&DCPTimecode::changed, this)); + _frames->Bind (wxEVT_COMMAND_TEXT_UPDATED, boost::bind (&DCPTimecode::changed, this)); + _set_button->Bind (wxEVT_COMMAND_BUTTON_CLICKED, boost::bind (&DCPTimecode::set_clicked, this)); _set_button->Enable (false); @@ -83,7 +83,7 @@ Timecode::Timecode (wxWindow* parent) } void -Timecode::set (Time t, int fps) +DCPTimecode::set (DCPTime t, int fps) { int const h = t / (3600 * TIME_HZ); t -= h * 3600 * TIME_HZ; @@ -101,10 +101,10 @@ Timecode::set (Time t, int fps) _fixed->SetLabel (wxString::Format ("%02d:%02d:%02d.%02d", h, m, s, f)); } -Time -Timecode::get (int fps) const +DCPTime +DCPTimecode::get (int fps) const { - Time t = 0; + DCPTime t = 0; string const h = wx_to_std (_hours->GetValue ()); t += lexical_cast<int> (h.empty() ? "0" : h) * 3600 * TIME_HZ; string const m = wx_to_std (_minutes->GetValue()); @@ -118,20 +118,20 @@ Timecode::get (int fps) const } void -Timecode::changed () +DCPTimecode::changed () { _set_button->Enable (true); } void -Timecode::set_clicked () +DCPTimecode::set_clicked () { Changed (); _set_button->Enable (false); } void -Timecode::set_editable (bool e) +DCPTimecode::set_editable (bool e) { _editable->Show (e); _fixed->Show (!e); diff --git a/src/wx/timecode.h b/src/wx/timecode.h index 5b094e39f..6a8bf03df 100644 --- a/src/wx/timecode.h +++ b/src/wx/timecode.h @@ -21,13 +21,13 @@ #include <wx/wx.h> #include "lib/types.h" -class Timecode : public wxPanel +class DCPTimecode : public wxPanel { public: - Timecode (wxWindow *); + DCPTimecode (wxWindow *); - void set (Time, int); - Time get (int) const; + void set (DCPTime, int); + DCPTime get (int) const; void set_editable (bool); diff --git a/src/wx/timeline.cc b/src/wx/timeline.cc index 0ac9a1d4b..9d2aee76c 100644 --- a/src/wx/timeline.cc +++ b/src/wx/timeline.cc @@ -39,7 +39,7 @@ using boost::optional; class View : public boost::noncopyable { public: - View (Timeline& t) + View (DCPTimeline& t) : _timeline (t) { @@ -64,12 +64,12 @@ public: protected: virtual void do_paint (wxGraphicsContext *) = 0; - int time_x (Time t) const + int time_x (DCPTime t) const { return _timeline.tracks_position().x + t * _timeline.pixels_per_time_unit(); } - Timeline& _timeline; + DCPTimeline& _timeline; private: dcpomatic::Rect<int> _last_paint_bbox; @@ -80,7 +80,7 @@ private: class ContentView : public View { public: - ContentView (Timeline& tl, shared_ptr<Content> c) + ContentView (DCPTimeline& tl, shared_ptr<Content> c) : View (tl) , _content (c) , _track (0) @@ -139,8 +139,8 @@ private: return; } - Time const position = cont->position (); - Time const len = cont->length_after_trim (); + DCPTime const position = cont->position (); + DCPTime const len = cont->length_after_trim (); wxColour selected (colour().Red() / 2, colour().Green() / 2, colour().Blue() / 2); @@ -203,7 +203,7 @@ private: class AudioContentView : public ContentView { public: - AudioContentView (Timeline& tl, shared_ptr<Content> c) + AudioContentView (DCPTimeline& tl, shared_ptr<Content> c) : ContentView (tl, c) {} @@ -222,7 +222,7 @@ private: class VideoContentView : public ContentView { public: - VideoContentView (Timeline& tl, shared_ptr<Content> c) + VideoContentView (DCPTimeline& tl, shared_ptr<Content> c) : ContentView (tl, c) {} @@ -243,10 +243,10 @@ private: } }; -class TimeAxisView : public View +class DCPTimeAxisView : public View { public: - TimeAxisView (Timeline& tl, int y) + DCPTimeAxisView (DCPTimeline& tl, int y) : View (tl) , _y (y) {} @@ -291,7 +291,7 @@ private: path.AddLineToPoint (_timeline.width(), _y); gc->StrokePath (path); - Time t = 0; + DCPTime t = 0; while ((t * _timeline.pixels_per_time_unit()) < _timeline.width()) { wxGraphicsPath path = gc->CreatePath (); path.MoveToPoint (time_x (t), _y - 4); @@ -326,11 +326,11 @@ private: }; -Timeline::Timeline (wxWindow* parent, FilmEditor* ed, shared_ptr<Film> film) +DCPTimeline::DCPTimeline (wxWindow* parent, FilmEditor* ed, shared_ptr<Film> film) : wxPanel (parent, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxFULL_REPAINT_ON_RESIZE) , _film_editor (ed) , _film (film) - , _time_axis_view (new TimeAxisView (*this, 32)) + , _time_axis_view (new DCPTimeAxisView (*this, 32)) , _tracks (0) , _pixels_per_time_unit (0) , _left_down (false) @@ -343,22 +343,22 @@ Timeline::Timeline (wxWindow* parent, FilmEditor* ed, shared_ptr<Film> film) SetDoubleBuffered (true); #endif - Bind (wxEVT_PAINT, boost::bind (&Timeline::paint, this)); - Bind (wxEVT_LEFT_DOWN, boost::bind (&Timeline::left_down, this, _1)); - Bind (wxEVT_LEFT_UP, boost::bind (&Timeline::left_up, this, _1)); - Bind (wxEVT_RIGHT_DOWN, boost::bind (&Timeline::right_down, this, _1)); - Bind (wxEVT_MOTION, boost::bind (&Timeline::mouse_moved, this, _1)); - Bind (wxEVT_SIZE, boost::bind (&Timeline::resized, this)); + Bind (wxEVT_PAINT, boost::bind (&DCPTimeline::paint, this)); + Bind (wxEVT_LEFT_DOWN, boost::bind (&DCPTimeline::left_down, this, _1)); + Bind (wxEVT_LEFT_UP, boost::bind (&DCPTimeline::left_up, this, _1)); + Bind (wxEVT_RIGHT_DOWN, boost::bind (&DCPTimeline::right_down, this, _1)); + Bind (wxEVT_MOTION, boost::bind (&DCPTimeline::mouse_moved, this, _1)); + Bind (wxEVT_SIZE, boost::bind (&DCPTimeline::resized, this)); playlist_changed (); SetMinSize (wxSize (640, tracks() * track_height() + 96)); - _playlist_connection = film->playlist()->Changed.connect (bind (&Timeline::playlist_changed, this)); + _playlist_connection = film->playlist()->Changed.connect (bind (&DCPTimeline::playlist_changed, this)); } void -Timeline::paint () +DCPTimeline::paint () { wxPaintDC dc (this); @@ -377,7 +377,7 @@ Timeline::paint () } void -Timeline::playlist_changed () +DCPTimeline::playlist_changed () { ensure_ui_thread (); @@ -406,7 +406,7 @@ Timeline::playlist_changed () } void -Timeline::assign_tracks () +DCPTimeline::assign_tracks () { for (ViewList::iterator i = _views.begin(); i != _views.end(); ++i) { shared_ptr<ContentView> cv = dynamic_pointer_cast<ContentView> (*i); @@ -465,13 +465,13 @@ Timeline::assign_tracks () } int -Timeline::tracks () const +DCPTimeline::tracks () const { return _tracks; } void -Timeline::setup_pixels_per_time_unit () +DCPTimeline::setup_pixels_per_time_unit () { shared_ptr<const Film> film = _film.lock (); if (!film) { @@ -482,7 +482,7 @@ Timeline::setup_pixels_per_time_unit () } shared_ptr<View> -Timeline::event_to_view (wxMouseEvent& ev) +DCPTimeline::event_to_view (wxMouseEvent& ev) { ViewList::iterator i = _views.begin(); Position<int> const p (ev.GetX(), ev.GetY()); @@ -498,7 +498,7 @@ Timeline::event_to_view (wxMouseEvent& ev) } void -Timeline::left_down (wxMouseEvent& ev) +DCPTimeline::left_down (wxMouseEvent& ev) { shared_ptr<View> view = event_to_view (ev); shared_ptr<ContentView> content_view = dynamic_pointer_cast<ContentView> (view); @@ -539,7 +539,7 @@ Timeline::left_down (wxMouseEvent& ev) } void -Timeline::left_up (wxMouseEvent& ev) +DCPTimeline::left_up (wxMouseEvent& ev) { _left_down = false; @@ -551,7 +551,7 @@ Timeline::left_up (wxMouseEvent& ev) } void -Timeline::mouse_moved (wxMouseEvent& ev) +DCPTimeline::mouse_moved (wxMouseEvent& ev) { if (!_left_down) { return; @@ -561,7 +561,7 @@ Timeline::mouse_moved (wxMouseEvent& ev) } void -Timeline::right_down (wxMouseEvent& ev) +DCPTimeline::right_down (wxMouseEvent& ev) { shared_ptr<View> view = event_to_view (ev); shared_ptr<ContentView> cv = dynamic_pointer_cast<ContentView> (view); @@ -578,7 +578,7 @@ Timeline::right_down (wxMouseEvent& ev) } void -Timeline::set_position_from_event (wxMouseEvent& ev) +DCPTimeline::set_position_from_event (wxMouseEvent& ev) { wxPoint const p = ev.GetPosition(); @@ -597,13 +597,13 @@ Timeline::set_position_from_event (wxMouseEvent& ev) return; } - Time new_position = _down_view_position + (p.x - _down_point.x) / _pixels_per_time_unit; + DCPTime new_position = _down_view_position + (p.x - _down_point.x) / _pixels_per_time_unit; if (_snap) { bool first = true; - Time nearest_distance = TIME_MAX; - Time nearest_new_position = TIME_MAX; + DCPTime nearest_distance = TIME_MAX; + DCPTime nearest_new_position = TIME_MAX; /* Find the nearest content edge; this is inefficient */ for (ViewList::iterator i = _views.begin(); i != _views.end(); ++i) { @@ -614,7 +614,7 @@ Timeline::set_position_from_event (wxMouseEvent& ev) { /* Snap starts to ends */ - Time const d = abs (cv->content()->end() - new_position); + DCPTime const d = abs (cv->content()->end() - new_position); if (first || d < nearest_distance) { nearest_distance = d; nearest_new_position = cv->content()->end(); @@ -623,7 +623,7 @@ Timeline::set_position_from_event (wxMouseEvent& ev) { /* Snap ends to starts */ - Time const d = abs (cv->content()->position() - (new_position + _down_view->content()->length_after_trim())); + DCPTime const d = abs (cv->content()->position() - (new_position + _down_view->content()->length_after_trim())); if (d < nearest_distance) { nearest_distance = d; nearest_new_position = cv->content()->position() - _down_view->content()->length_after_trim (); @@ -653,25 +653,25 @@ Timeline::set_position_from_event (wxMouseEvent& ev) } void -Timeline::force_redraw (dcpomatic::Rect<int> const & r) +DCPTimeline::force_redraw (dcpomatic::Rect<int> const & r) { RefreshRect (wxRect (r.x, r.y, r.width, r.height), false); } shared_ptr<const Film> -Timeline::film () const +DCPTimeline::film () const { return _film.lock (); } void -Timeline::resized () +DCPTimeline::resized () { setup_pixels_per_time_unit (); } void -Timeline::clear_selection () +DCPTimeline::clear_selection () { for (ViewList::iterator i = _views.begin(); i != _views.end(); ++i) { shared_ptr<ContentView> cv = dynamic_pointer_cast<ContentView> (*i); @@ -681,8 +681,8 @@ Timeline::clear_selection () } } -Timeline::ContentViewList -Timeline::selected_views () const +DCPTimeline::ContentViewList +DCPTimeline::selected_views () const { ContentViewList sel; @@ -697,7 +697,7 @@ Timeline::selected_views () const } ContentList -Timeline::selected_content () const +DCPTimeline::selected_content () const { ContentList sel; ContentViewList views = selected_views (); diff --git a/src/wx/timeline.h b/src/wx/timeline.h index ef1d10797..b3ee77fff 100644 --- a/src/wx/timeline.h +++ b/src/wx/timeline.h @@ -29,12 +29,12 @@ class Film; class View; class ContentView; class FilmEditor; -class TimeAxisView; +class DCPTimeAxisView; -class Timeline : public wxPanel +class DCPTimeline : public wxPanel { public: - Timeline (wxWindow *, FilmEditor *, boost::shared_ptr<Film>); + DCPTimeline (wxWindow *, FilmEditor *, boost::shared_ptr<Film>); boost::shared_ptr<const Film> film () const; @@ -94,13 +94,13 @@ private: FilmEditor* _film_editor; boost::weak_ptr<Film> _film; ViewList _views; - boost::shared_ptr<TimeAxisView> _time_axis_view; + boost::shared_ptr<DCPTimeAxisView> _time_axis_view; int _tracks; double _pixels_per_time_unit; bool _left_down; wxPoint _down_point; boost::shared_ptr<ContentView> _down_view; - Time _down_view_position; + DCPTime _down_view_position; bool _first_move; ContentMenu _menu; bool _snap; diff --git a/src/wx/timeline_dialog.cc b/src/wx/timeline_dialog.cc index dbf7ae232..a63c219db 100644 --- a/src/wx/timeline_dialog.cc +++ b/src/wx/timeline_dialog.cc @@ -28,8 +28,8 @@ using std::list; using std::cout; using boost::shared_ptr; -TimelineDialog::TimelineDialog (FilmEditor* ed, shared_ptr<Film> film) - : wxDialog (ed, wxID_ANY, _("Timeline"), wxDefaultPosition, wxSize (640, 512), wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER | wxFULL_REPAINT_ON_RESIZE) +DCPTimelineDialog::DCPTimelineDialog (FilmEditor* ed, shared_ptr<Film> film) + : wxDialog (ed, wxID_ANY, _("DCPTimeline"), wxDefaultPosition, wxSize (640, 512), wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER | wxFULL_REPAINT_ON_RESIZE) , _timeline (this, ed, film) { wxBoxSizer* sizer = new wxBoxSizer (wxVERTICAL); @@ -46,11 +46,11 @@ TimelineDialog::TimelineDialog (FilmEditor* ed, shared_ptr<Film> film) sizer->SetSizeHints (this); _snap->SetValue (_timeline.snap ()); - _snap->Bind (wxEVT_COMMAND_CHECKBOX_CLICKED, boost::bind (&TimelineDialog::snap_toggled, this)); + _snap->Bind (wxEVT_COMMAND_CHECKBOX_CLICKED, boost::bind (&DCPTimelineDialog::snap_toggled, this)); } void -TimelineDialog::snap_toggled () +DCPTimelineDialog::snap_toggled () { _timeline.set_snap (_snap->GetValue ()); } diff --git a/src/wx/timeline_dialog.h b/src/wx/timeline_dialog.h index 1e5955003..b64445d9c 100644 --- a/src/wx/timeline_dialog.h +++ b/src/wx/timeline_dialog.h @@ -24,14 +24,14 @@ class Playlist; -class TimelineDialog : public wxDialog +class DCPTimelineDialog : public wxDialog { public: - TimelineDialog (FilmEditor *, boost::shared_ptr<Film>); + DCPTimelineDialog (FilmEditor *, boost::shared_ptr<Film>); private: void snap_toggled (); - Timeline _timeline; + DCPTimeline _timeline; wxCheckBox* _snap; }; diff --git a/src/wx/timing_panel.cc b/src/wx/timing_panel.cc index 79099b168..08334da4b 100644 --- a/src/wx/timing_panel.cc +++ b/src/wx/timing_panel.cc @@ -35,19 +35,19 @@ TimingPanel::TimingPanel (FilmEditor* e) _sizer->Add (grid, 0, wxALL, 8); add_label_to_sizer (grid, this, _("Position"), true); - _position = new Timecode (this); + _position = new DCPTimecode (this); grid->Add (_position); add_label_to_sizer (grid, this, _("Full length"), true); - _full_length = new Timecode (this); + _full_length = new DCPTimecode (this); grid->Add (_full_length); add_label_to_sizer (grid, this, _("Trim from start"), true); - _trim_start = new Timecode (this); + _trim_start = new DCPTimecode (this); grid->Add (_trim_start); add_label_to_sizer (grid, this, _("Trim from end"), true); - _trim_end = new Timecode (this); + _trim_end = new DCPTimecode (this); grid->Add (_trim_end); add_label_to_sizer (grid, this, _("Play length"), true); - _play_length = new Timecode (this); + _play_length = new DCPTimecode (this); grid->Add (_play_length); _position->Changed.connect (boost::bind (&TimingPanel::position_changed, this)); diff --git a/src/wx/timing_panel.h b/src/wx/timing_panel.h index ab859a1be..7fea45eb5 100644 --- a/src/wx/timing_panel.h +++ b/src/wx/timing_panel.h @@ -19,7 +19,7 @@ #include "film_editor_panel.h" -class Timecode; +class DCPTimecode; class TimingPanel : public FilmEditorPanel { @@ -36,9 +36,9 @@ private: void trim_end_changed (); void play_length_changed (); - Timecode* _position; - Timecode* _full_length; - Timecode* _trim_start; - Timecode* _trim_end; - Timecode* _play_length; + DCPTimecode* _position; + DCPTimecode* _full_length; + DCPTimecode* _trim_start; + DCPTimecode* _trim_end; + DCPTimecode* _play_length; }; |
