diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-06-24 19:46:28 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-06-24 19:46:28 +0000 |
commit | 806a22fefe8bc79c0307a6c3f6bfbde1185e7574 (patch) | |
tree | 52f091c939865daf2c42e1ede1e0b29502ee667b /gtk2_ardour/canvas-note-event.cc | |
parent | de24d4f8b11b959a5155051a9f4a7b456b4ab465 (diff) |
change note colors on the fly, to permit user-definition of colors more easily; remove some debug output
git-svn-id: svn://localhost/ardour2/branches/3.0@7301 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/canvas-note-event.cc')
-rw-r--r-- | gtk2_ardour/canvas-note-event.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/canvas-note-event.cc b/gtk2_ardour/canvas-note-event.cc index cd3fcffa8b..c85cdc39d2 100644 --- a/gtk2_ardour/canvas-note-event.cc +++ b/gtk2_ardour/canvas-note-event.cc @@ -117,7 +117,7 @@ CanvasNoteEvent::on_channel_selection_change(uint16_t selection) set_outline_color(calculate_outline(ARDOUR_UI::config()->canvasvar_MidiNoteInactiveChannel.get())); } else { // set the color according to the notes selection state - selected(_selected); + set_selected(_selected); } // this forces the item to update..... maybe slow... _item->hide(); @@ -168,7 +168,7 @@ CanvasNoteEvent::hide_channel_selector(void) } void -CanvasNoteEvent::selected(bool selected) +CanvasNoteEvent::set_selected(bool selected) { if (!_note) { return; |