}
void
-CanvasNoteEvent::show_velocity(void)
+CanvasNoteEvent::show_velocity()
{
hide_velocity();
_text = new Text(*(_item->property_parent()));
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);
}
void
-CanvasNoteEvent::hide_velocity(void)
+CanvasNoteEvent::hide_velocity()
{
- if(_text) {
+ if (_text) {
_text->hide();
delete _text;
}