projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove Player::_burn_subtitles; allow subtitles to be burnt onto areas with no video...
[dcpomatic.git]
/
src
/
wx
/
timeline.h
diff --git
a/src/wx/timeline.h
b/src/wx/timeline.h
index 35153dd175d4c13aa4f510656c3810a2a1bd38fc..4ba1cc425f022b6fe11d634052f7915a5c012ee8 100644
(file)
--- a/
src/wx/timeline.h
+++ b/
src/wx/timeline.h
@@
-52,7
+52,7
@@
public:
return 48;
}
return 48;
}
-
double
pixels_per_second () const {
+
boost::optional<double>
pixels_per_second () const {
return _pixels_per_second;
}
return _pixels_per_second;
}
@@
-96,7
+96,7
@@
private:
ViewList _views;
boost::shared_ptr<TimeAxisView> _time_axis_view;
int _tracks;
ViewList _views;
boost::shared_ptr<TimeAxisView> _time_axis_view;
int _tracks;
-
double
_pixels_per_second;
+
boost::optional<double>
_pixels_per_second;
bool _left_down;
wxPoint _down_point;
boost::shared_ptr<ContentView> _down_view;
bool _left_down;
wxPoint _down_point;
boost::shared_ptr<ContentView> _down_view;