diff options
author | Tim E. Real <termtech@rogers.com> | 2012-10-20 04:10:19 +0000 |
---|---|---|
committer | Tim E. Real <termtech@rogers.com> | 2012-10-20 04:10:19 +0000 |
commit | c4aca7b81e76e0f098ac0f855599bdf1e3cf1e22 (patch) | |
tree | 177c77d19a5867866cff997c01a187fc54530759 /muse2/muse/widgets/knob.h | |
parent | 5821f678ca1c95a97170588a77303e2f14e4dbdb (diff) |
Improved: Midi initializations. New settings options, can be 'quiet'. Complete rewrite of initializations coding.
Improved: Midi controller graphs: Control selector 'S' popup now stay-open, AND NOW with multi-coloured dots.
Bonus! Pianoroll and drum edit 'Ctrl' buttons ALSO now popup this very same menu.
Improved: 'Old' drum track 'drum controllers' display and operation: Fixed several problems.
Diffstat (limited to 'muse2/muse/widgets/knob.h')
-rw-r--r-- | muse2/muse/widgets/knob.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/muse2/muse/widgets/knob.h b/muse2/muse/widgets/knob.h index 114284d0..fcaedfaa 100644 --- a/muse2/muse/widgets/knob.h +++ b/muse2/muse/widgets/knob.h @@ -49,7 +49,7 @@ class Knob : public SliderBase, public ScaleIf gainType, }; - private: + protected: bool hasScale; int d_borderWidth; @@ -81,7 +81,7 @@ class Knob : public SliderBase, public ScaleIf void recalcAngle(); void valueChange(); void rangeChange(); - void drawKnob(QPainter *p, const QRect &r); + virtual void drawKnob(QPainter *p, const QRect &r); void drawMarker(QPainter *p, double arc, const QColor &c); virtual void paintEvent(QPaintEvent *); |