summaryrefslogtreecommitdiff
path: root/gtk2_ardour/canvas-program-change.h
diff options
context:
space:
mode:
authorHans Baier <hansfbaier@googlemail.com>2008-12-15 11:05:41 +0000
committerHans Baier <hansfbaier@googlemail.com>2008-12-15 11:05:41 +0000
commit5e7ae490c1616696a733287b62c08416726653ae (patch)
tree9d9d933e7c4afacbb8608cce17e7de779be0b0fe /gtk2_ardour/canvas-program-change.h
parentbf7e792e3e499b665c20fc196e53cf05bb99e0c7 (diff)
* first working prototype of changing program changes by scroll wheel (still some automation points issues)
git-svn-id: svn://localhost/ardour2/branches/3.0@4324 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/canvas-program-change.h')
-rw-r--r--gtk2_ardour/canvas-program-change.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/gtk2_ardour/canvas-program-change.h b/gtk2_ardour/canvas-program-change.h
index 929c302b7c..2620359036 100644
--- a/gtk2_ardour/canvas-program-change.h
+++ b/gtk2_ardour/canvas-program-change.h
@@ -28,16 +28,13 @@ public:
void set_event_time(nframes_t new_time) { _event_time = new_time; };
uint8_t program() const { return _program; }
- void set_program(uint8_t new_time) { _program = new_time; };
+ void set_program(uint8_t new_program) { _program = new_program; };
uint8_t channel() const { return _channel; }
- void set_channel(uint8_t new_time) { _channel = new_time; };
+ void set_channel(uint8_t new_channel) { _channel = new_channel; };
private:
- void previous_patch();
- void next_patch();
-
nframes_t _event_time;
uint8_t _program;
uint8_t _channel;