change Control::{set,get}_float to Control::{set,get}_double and make almost all Control-related stuff use double rather than random mixtures of float, double and some integer value ; make hans' program change stuff work quite a bit better (not finished yet) including keyboard edting of pgm change values

git-svn-id: svn://localhost/ardour2/branches/3.0@7514 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2010-07-27 14:09:16 +00:00
parent fbc946d60d
commit ece5093234
34 changed files with 155 additions and 169 deletions

View file

@ -26,7 +26,7 @@ public:
double y,
string& model_name,
string& custom_device_mode,
nframes_t event_time,
double _event_time,
uint8_t channel,
uint8_t program
);
@ -41,8 +41,8 @@ public:
string custom_device_mode() const { return _custom_device_mode; }
void set_custom_device_mode(string custom_device_mode) { _custom_device_mode = custom_device_mode; }
nframes_t event_time() const { return _event_time; }
void set_event_time(nframes_t new_time) { _event_time = new_time; };
double event_time() const { return _event_time; }
void set_event_time(double new_time) { _event_time = new_time; };
uint8_t program() const { return _program; }
void set_program(uint8_t new_program) { _program = new_program; };
@ -57,7 +57,7 @@ public:
private:
string _model_name;
string _custom_device_mode;
nframes_t _event_time;
double _event_time;
uint8_t _channel;
uint8_t _program;
Gtk::Menu _popup;