projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tweak timeline layout.
[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 af9cb771e29273b8c088d5c02e028940b464c42f..d3aa02afcc68b20b981a3029499721f5d40de0c6 100644
(file)
--- a/
src/wx/timeline_labels_view.cc
+++ b/
src/wx/timeline_labels_view.cc
@@
-32,13
+32,13
@@
TimelineLabelsView::TimelineLabelsView (Timeline& tl)
: TimelineView (tl)
, _threed (true)
, _audio_tracks (0)
: TimelineView (tl)
, _threed (true)
, _audio_tracks (0)
- , _
caption
_tracks (0)
+ , _
text
_tracks (0)
, _atmos (true)
{
wxString labels[] = {
_("Video"),
_("Audio"),
, _atmos (true)
{
wxString labels[] = {
_("Video"),
_("Audio"),
- _("
C
aptions"),
+ _("
Subtitles/c
aptions"),
_("Atmos")
};
_("Atmos")
};
@@
-50,7
+50,7
@@
TimelineLabelsView::TimelineLabelsView (Timeline& tl)
_width = max (_width, size.GetWidth());
}
_width = max (_width, size.GetWidth());
}
- _width +=
16
;
+ _width +=
24
;
}
dcpomatic::Rect<int>
}
dcpomatic::Rect<int>
@@
-70,9
+70,9
@@
TimelineLabelsView::do_paint (wxGraphicsContext* gc, list<dcpomatic::Rect<int> >
gc->DrawText (_("Video"), 0, (ty + fy) / 2 - 8);
fy = ty;
gc->DrawText (_("Video"), 0, (ty + fy) / 2 - 8);
fy = ty;
- if (_
caption
_tracks) {
- ty = fy + _
caption
_tracks * h;
- gc->DrawText (_("
C
aptions"), 0, (ty + fy) / 2 - 8);
+ if (_
text
_tracks) {
+ ty = fy + _
text
_tracks * h;
+ gc->DrawText (_("
Subtitles/c
aptions"), 0, (ty + fy) / 2 - 8);
fy = ty;
}
fy = ty;
}
@@
-101,9
+101,9
@@
TimelineLabelsView::set_audio_tracks (int n)
}
void
}
void
-TimelineLabelsView::set_
caption
_tracks (int n)
+TimelineLabelsView::set_
text
_tracks (int n)
{
{
- _
caption
_tracks = n;
+ _
text
_tracks = n;
}
void
}
void