* some refactoring of patch name stuff in preparation for altering program changes events

git-svn-id: svn://localhost/ardour2/branches/3.0@4323 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Hans Baier 2008-12-14 22:56:44 +00:00
parent 18d6284438
commit bf7e792e3e
7 changed files with 130 additions and 44 deletions

View file

@ -24,7 +24,23 @@ public:
virtual bool on_event(GdkEvent* ev);
nframes_t event_time() const { return _event_time; }
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; };
uint8_t channel() const { return _channel; }
void set_channel(uint8_t new_time) { _channel = new_time; };
private:
void previous_patch();
void next_patch();
nframes_t _event_time;
uint8_t _program;
uint8_t _channel;
};
} // namespace Canvas