Scale MIDI track vertical range to match widgest range of notes in child regions.

Fiddled with canvas theme a bit to make tempo more visible and probably annoy pure audio MIDI/tempo haters.
Fix track-specific-color display on mixer strips for MIDI tracks.


git-svn-id: svn://localhost/ardour2/trunk@2112 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
David Robillard 2007-07-05 07:02:24 +00:00
parent 0c3944f7dd
commit cfe29a14ee
8 changed files with 86 additions and 24 deletions

View file

@ -128,6 +128,12 @@ MidiTimeAxisView::~MidiTimeAxisView ()
{
}
MidiStreamView*
MidiTimeAxisView::midi_view()
{
return dynamic_cast<MidiStreamView*>(_view);
}
guint32
MidiTimeAxisView::show_at (double y, int& nth, Gtk::VBox *parent)
{