summaryrefslogtreecommitdiff
path: root/plugins/ZamComp/ZamCompUI.hpp
diff options
context:
space:
mode:
authorfalkTX <falktx@gmail.com>2014-04-12 16:46:01 +0000
committerfalkTX <falktx@gmail.com>2014-04-12 16:46:01 +0000
commit56922b54f9b978d01978f07adae996ddd7420e82 (patch)
tree17256581fcda6d52e7f1699421bccde420a7b9b4 /plugins/ZamComp/ZamCompUI.hpp
parenta2a549152a098d5efd06858ccaeb9bec1f15f275 (diff)
ZamComp: Draw leds example code
Diffstat (limited to 'plugins/ZamComp/ZamCompUI.hpp')
-rw-r--r--plugins/ZamComp/ZamCompUI.hpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/plugins/ZamComp/ZamCompUI.hpp b/plugins/ZamComp/ZamCompUI.hpp
index 01fd125..6504fca 100644
--- a/plugins/ZamComp/ZamCompUI.hpp
+++ b/plugins/ZamComp/ZamCompUI.hpp
@@ -33,7 +33,7 @@ START_NAMESPACE_DISTRHO
// -----------------------------------------------------------------------
class ZamCompUI : public UI,
- public ImageKnob::Callback
+ public ImageKnob::Callback
{
public:
ZamCompUI();
@@ -56,8 +56,8 @@ protected:
// -------------------------------------------------------------------
// DSP Callbacks
- void d_parameterChanged(uint32_t index, float value) ;
- void d_programChanged(uint32_t index) ;
+ void d_parameterChanged(uint32_t index, float value) override;
+ void d_programChanged(uint32_t index) override;
// -------------------------------------------------------------------
// Widget Callbacks
@@ -76,6 +76,9 @@ private:
ImageKnob* fKnobRatio;
ImageKnob* fKnobKnee;
ImageKnob* fKnobMakeup;
+
+ Image fLedRedImg;
+ float fLedRedValue;
};
// -----------------------------------------------------------------------