Give MIDI velocity text its own colour (from ccherret).
git-svn-id: svn://localhost/ardour2/branches/3.0@3867 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
eb919af9a5
commit
4c6ec2a5a3
@ -67,6 +67,7 @@
|
||||
<Option name="midi note outline mid" value="ffff22b0"/>
|
||||
<Option name="midi note outline min" value="22ff22b0"/>
|
||||
<Option name="midi note selected outline" value="5566ffee"/>
|
||||
<Option name="midi note velocity text" value="000000ff"/>
|
||||
<Option name="midi program change fill" value="0000ffa0"/>
|
||||
<Option name="midi program change outline" value="a7a7d4ff"/>
|
||||
<Option name="midi select rect fill" value="8888ff88"/>
|
||||
|
@ -76,7 +76,7 @@ CanvasNoteEvent::show_velocity()
|
||||
velo << int(_note->velocity());
|
||||
_text->property_text() = velo.str();
|
||||
_text->property_justification() = Gtk::JUSTIFY_CENTER;
|
||||
_text->property_fill_color_rgba() = ARDOUR_UI::config()->canvasvar_MidiNoteSelectedOutline.get();
|
||||
_text->property_fill_color_rgba() = ARDOUR_UI::config()->canvasvar_MidiNoteVelocityText.get();
|
||||
_text->show();
|
||||
_text->lower_to_bottom();
|
||||
_text->raise(2);
|
||||
|
@ -64,6 +64,7 @@ CANVAS_VARIABLE(canvasvar_MidiNoteOutlineMid, "midi note outline mid")
|
||||
CANVAS_VARIABLE(canvasvar_MidiNoteOutlineMin, "midi note outline min")
|
||||
CANVAS_VARIABLE(canvasvar_MidiNoteOutlineInactiveChannel, "midi note outline inactive channel")
|
||||
CANVAS_VARIABLE(canvasvar_MidiNoteSelectedOutline, "midi note selected outline")
|
||||
CANVAS_VARIABLE(canvasvar_MidiNoteVelocityText, "midi note velocity text")
|
||||
CANVAS_VARIABLE(canvasvar_MidiProgramChangeFill, "midi program change fill")
|
||||
CANVAS_VARIABLE(canvasvar_MidiProgramChangeOutline, "midi program change outline")
|
||||
CANVAS_VARIABLE(canvasvar_MidiSelectRectFill, "midi select rect fill")
|
||||
|
Loading…
Reference in New Issue
Block a user