apply font-scale to overall layout (rulers, track-header) - fixes #6088

This commit is contained in:
Robin Gareus 2014-12-28 15:01:49 +01:00
parent c2eea34fb0
commit c14f6c59db
6 changed files with 23 additions and 4 deletions

View file

@ -52,7 +52,12 @@ using namespace Gtkmm2ext;
PBD::Signal1<void,Marker*> Marker::CatchDeletion;
static const double marker_height = 13.0;
static double marker_height = 13.0;
void Marker::setup_sizes(const double timebar_height)
{
marker_height = floor (timebar_height) - 2;
}
Marker::Marker (PublicEditor& ed, ArdourCanvas::Container& parent, guint32 rgba, const string& annotation,
Type type, framepos_t frame, bool handle_events)