diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-08-08 18:11:11 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-08-09 10:18:46 +0200 |
| commit | a3c1ae7c2e46b65347341896b3d1a505ff92632b (patch) | |
| tree | 2b096eb0676f52c9989952e341f2bd98143ce125 /src/wx/controls.cc | |
| parent | af5b9dfadf8989311cd5f78554349f0283912522 (diff) | |
Extract Film::Property to its own header to (maybe) increase compilation speed.
Diffstat (limited to 'src/wx/controls.cc')
| -rw-r--r-- | src/wx/controls.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/wx/controls.cc b/src/wx/controls.cc index 7976a77ce..f8bd7eeb9 100644 --- a/src/wx/controls.cc +++ b/src/wx/controls.cc @@ -33,6 +33,7 @@ #include "lib/cross.h" #include "lib/dcp_content.h" #include "lib/examine_content_job.h" +#include "lib/film.h" #include "lib/job.h" #include "lib/job_manager.h" #include "lib/player_video.h" @@ -430,14 +431,14 @@ Controls::film () const void -Controls::film_change (ChangeType type, Film::Property p) +Controls::film_change(ChangeType type, FilmProperty p) { if (type == ChangeType::DONE) { - if (p == Film::Property::CONTENT) { + if (p == FilmProperty::CONTENT) { setup_sensitivity (); update_position_label (); update_position_slider (); - } else if (p == Film::Property::THREE_D) { + } else if (p == FilmProperty::THREE_D) { setup_sensitivity (); } } |
