diff options
| author | Tim E. Real <termtech@rogers.com> | 2011-08-29 22:44:24 +0000 | 
|---|---|---|
| committer | Tim E. Real <termtech@rogers.com> | 2011-08-29 22:44:24 +0000 | 
| commit | d505c378bdf55445babb73e0ba4085702be35870 (patch) | |
| tree | 40ccb82e5b27f118904a5298faedd10fe3b96d36 /muse2/muse/ctrl.h | |
| parent | 21e75f0c2d14010d060693c77fd3e22e1fccd65d (diff) | |
Fixed audio automation graph editing. And now 'snaps' to discrete integer or bool types. 
All control movements should update display now. Also slightly changed behaviour of Ctrl class. 
TODO: Fix some painting corruption, improve discrete display, add transparency etc. etc.
Applied compilation patch to rhythmbase.ui by Jean-Damien Durand. 
Diffstat (limited to 'muse2/muse/ctrl.h')
| -rw-r--r-- | muse2/muse/ctrl.h | 5 | 
1 files changed, 3 insertions, 2 deletions
| diff --git a/muse2/muse/ctrl.h b/muse2/muse/ctrl.h index 34a31211..14f23643 100644 --- a/muse2/muse/ctrl.h +++ b/muse2/muse/ctrl.h @@ -6,6 +6,7 @@  //    controller for mixer automation  //  //  (C) Copyright 2003-2004 Werner Schweer (ws@seh.de) +//  (C) Copyright 2011 Time E. Real (terminator356 on users dot sourceforge dot net)  //=========================================================  #ifndef __CTRL_H__ @@ -120,8 +121,8 @@ class CtrlList : public std::map<int, CtrlVal, std::less<int> > {        void setValueType(CtrlValueType t) { _valueType = t; }        double value(int frame); -      void add(int tick, double value); -      void del(int tick); +      void add(int frame, double value); +      void del(int frame);        void read(Xml& xml);        void setColor( QColor c ) { _displayColor = c;} | 
