projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated fr_FR translation from Thierry Journet.
[dcpomatic.git]
/
src
/
wx
/
timeline_labels_view.cc
diff --git
a/src/wx/timeline_labels_view.cc
b/src/wx/timeline_labels_view.cc
index 1a712f42d71538e302f0a67fc06738003cbf5627..ee1b1948996e3120571873f397cc9b6bdae0e0bc 100644
(file)
--- a/
src/wx/timeline_labels_view.cc
+++ b/
src/wx/timeline_labels_view.cc
@@
-31,7
+31,7
@@
using std::max;
TimelineLabelsView::TimelineLabelsView (Timeline& tl)
: TimelineView (tl)
, _threed (true)
TimelineLabelsView::TimelineLabelsView (Timeline& tl)
: TimelineView (tl)
, _threed (true)
- , _subtitle
(true
)
+ , _subtitle
_tracks (0
)
, _atmos (true)
{
wxString labels[] = {
, _atmos (true)
{
wxString labels[] = {
@@
-69,8
+69,8
@@
TimelineLabelsView::do_paint (wxGraphicsContext* gc, list<dcpomatic::Rect<int> >
gc->DrawText (_("Video"), 0, _timeline.tracks_position().y + (ty + fy) / 2 - 8);
fy = ty;
gc->DrawText (_("Video"), 0, _timeline.tracks_position().y + (ty + fy) / 2 - 8);
fy = ty;
- if (_subtitle) {
- ty = fy + h;
+ if (_subtitle
_tracks
) {
+ ty = fy +
_subtitle_tracks *
h;
gc->DrawText (_("Subtitles"), 0, _timeline.tracks_position().y + (ty + fy) / 2 - 8);
fy = ty;
}
gc->DrawText (_("Subtitles"), 0, _timeline.tracks_position().y + (ty + fy) / 2 - 8);
fy = ty;
}
@@
-92,9
+92,9
@@
TimelineLabelsView::set_3d (bool s)
}
void
}
void
-TimelineLabelsView::set_subtitle
(bool s
)
+TimelineLabelsView::set_subtitle
_tracks (int n
)
{
{
- _subtitle
= s
;
+ _subtitle
_tracks = n
;
}
void
}
void