+2016-04-25 Carl Hetherington <cth@carlh.net>
+
+ * Move the reel markers to the top of the timeline (#846).
+
2016-04-22 c.hetherington <cth@carlh.net>
* Arrange buttons to consume less vertical space in the
SetMinSize (wxSize (640, tracks() * track_height() + 96));
- _tracks_position = Position<int> (_labels_view->bbox().width, 8);
+ _tracks_position = Position<int> (_labels_view->bbox().width, 32);
_film_changed_connection = film->Changed.connect (bind (&Timeline::film_changed, this, _1));
_film_content_changed_connection = film->ContentChanged.connect (bind (&Timeline::film_content_changed, this, _2, _3));
}
_time_axis_view->set_y (tracks() * track_height() + 64);
- _reels_view->set_y (tracks() * track_height() + 32);
+ _reels_view->set_y (8);
}
int
{
int const h = _timeline.track_height ();
gc->SetFont (gc->CreateFont(wxNORMAL_FONT->Bold(), wxColour (0, 0, 0)));
- gc->DrawText (_("Video"), 0, h / 2);
- gc->DrawText (_("Subtitles"), 0, 5 * h / 2);
- gc->DrawText (_("Audio"), 0, h + max (_timeline.tracks(), 2) * h / 2);
+ gc->DrawText (_("Video"), 0, _timeline.tracks_position().y + h - 8);
+ gc->DrawText (_("Subtitles"), 0, _timeline.tracks_position().y + 5 * h / 2 - 8);
+ gc->DrawText (_("Audio"), 0, _timeline.tracks_position().y + (3 + max (_timeline.tracks(), 3)) * h / 2 - 8);
}