summaryrefslogtreecommitdiff
path: root/gtk2_ardour/canvas-note-event.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-02-15 19:44:27 +0000
committerDavid Robillard <d@drobilla.net>2009-02-15 19:44:27 +0000
commit166395c96b8a85d90b9785e629c739494494130f (patch)
treead688f25e8298519f63829e926a09d8739fbf5b0 /gtk2_ardour/canvas-note-event.h
parentecaf107ed3dd2bb3443a92fc3dd9cf566d3439e3 (diff)
Fix genererally retarded and broken note range / diskstream display / etc. related things (correctly display region contents on initial session load).
git-svn-id: svn://localhost/ardour2/branches/3.0@4583 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/canvas-note-event.h')
-rw-r--r--gtk2_ardour/canvas-note-event.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/gtk2_ardour/canvas-note-event.h b/gtk2_ardour/canvas-note-event.h
index 1f22a5b797..060e4d9fa9 100644
--- a/gtk2_ardour/canvas-note-event.h
+++ b/gtk2_ardour/canvas-note-event.h
@@ -59,6 +59,8 @@ public:
virtual ~CanvasNoteEvent();
+ virtual void show() = 0;
+ virtual void hide() = 0;
virtual bool on_event(GdkEvent* ev);
bool selected() const { return _selected; }
@@ -71,10 +73,10 @@ public:
void show_velocity();
void hide_velocity();
- /**
- * This slot is called, when a new channel is selected for the single event
- * */
+ /** Channel changed for this specific event */
void on_channel_change(uint8_t channel);
+
+ /** Channel selection changed */
void on_channel_selection_change(uint16_t selection);
void show_channel_selector();
@@ -111,7 +113,7 @@ public:
return UINT_INTERPOLATE(color, 0x000000ff, 0.5);
}
- /// dividing the hue circle in 16 parts, hand adjusted for equal look, courtesy Thorsten Wilms
+ /// hue circle divided into 16 equal-looking parts, courtesy Thorsten Wilms
static const uint32_t midi_channel_colors[16];
protected: