aboutsummaryrefslogtreecommitdiffstats
path: root/src/mdaSpecMeterGUI.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-02-22 21:24:34 +0000
committerDavid Robillard <d@drobilla.net>2010-02-22 21:24:34 +0000
commitadacb33bf4eadcd49a744177bf3f059e7b2f2f52 (patch)
tree922620c99fdc348529002d1a000ec0e8f94f3041 /src/mdaSpecMeterGUI.h
parent4514036c46168f4bbc693649989d53bdffe6137b (diff)
downloadmda.lv2-adacb33bf4eadcd49a744177bf3f059e7b2f2f52.tar.gz
mda.lv2-adacb33bf4eadcd49a744177bf3f059e7b2f2f52.tar.bz2
mda.lv2-adacb33bf4eadcd49a744177bf3f059e7b2f2f52.zip
Merge with upstream r2.
git-svn-id: http://svn.drobilla.net/lad/trunk/mda-lv2@2471 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/mdaSpecMeterGUI.h')
-rw-r--r--src/mdaSpecMeterGUI.h87
1 files changed, 44 insertions, 43 deletions
diff --git a/src/mdaSpecMeterGUI.h b/src/mdaSpecMeterGUI.h
index 99a71f7..bc0a232 100644
--- a/src/mdaSpecMeterGUI.h
+++ b/src/mdaSpecMeterGUI.h
@@ -1,43 +1,44 @@
-#ifndef _mdaSpecMeterGUI_h_
-#define _mdaSpecMeterGUI_h_
-
-#include "vstgui.h"
-
-
-class CDraw : public CControl
-{
-public:
- CDraw(CRect& size, float x, CBitmap* background);
- ~CDraw();
-
- void draw(CDrawContext* pContext);
- long x2pix(float x);
- long x22pix(float x);
-
- float Lpeak, Lrms, Lmin, Rpeak, Rrms, Rmin, Corr;
- float band[2][16];
-
-protected:
- CBitmap* bitmap;
-};
-
-
-class mdaSpecMeterGUI : public AEffGUIEditor
-{
-public:
- mdaSpecMeterGUI(AudioEffect* effect);
- ~mdaSpecMeterGUI();
-
- long open(void* ptr);
- void idle();
- void close();
-
-private:
- CDraw* draw;
- CBitmap* background;
- long xtimer;
-};
-
-
-#endif // _mdaSpecMeterGUI_h_
-
+#ifndef _mdaSpecMeterGUI_h_
+#define _mdaSpecMeterGUI_h_
+
+#include "vstgui.h"
+
+
+class CDraw : public CControl
+{
+public:
+ CDraw(CRect& size, float x, CBitmap* background);
+ ~CDraw();
+
+ void draw(CDrawContext *pContext);
+ LvzInt32 x2pix(float x);
+ LvzInt32 x22pix(float x);
+
+ float Lpeak, Lrms, Lmin, Rpeak, Rrms, Rmin, Corr;
+ float band[2][16];
+ LvzInt32 temp;
+
+protected:
+ CBitmap* bitmap;
+};
+
+
+class mdaSpecMeterGUI : public AEffGUIEditor
+{
+public:
+ mdaSpecMeterGUI(AudioEffect* effect);
+ ~mdaSpecMeterGUI();
+
+ long open(void* ptr);
+ void idle();
+ void close();
+
+private:
+ CDraw* draw;
+ CBitmap* background;
+ LvzInt32 xtimer;
+};
+
+
+#endif // _mdaSpecMeterGUI_h_
+