5 #ifndef __aeffguieditor__ 6 #define __aeffguieditor__ 9 #include "public.sdk/source/vst2.x/aeffeditor.h" 12 #ifndef __audioeffectx__ 13 #include "public.sdk/source/vst2.x/audioeffectx.h" 16 #include "../vstgui.h" 29 virtual void setParameter (VstInt32 index,
float value) {}
30 virtual bool getRect (
ERect** ppRect);
31 virtual bool open (
void* ptr);
33 virtual void draw (
ERect* pRect);
35 #if VST_2_1_EXTENSIONS 41 void wait (uint32_t ms);
47 virtual void doIdleStuff ();
50 AudioEffect* getEffect () {
return effect; }
53 int32_t getVstGuiVersion () {
return (VSTGUI_VERSION_MAJOR << 16) + VSTGUI_VERSION_MINOR; }
56 virtual bool setKnobMode (int32_t val);
57 virtual int32_t getKnobMode ()
const {
return knobMode; }
61 virtual bool onWheel (
float distance);
63 #if VST_2_1_EXTENSIONS 64 virtual void beginEdit (int32_t index) { ((AudioEffectX*)effect)->beginEdit (index); }
65 virtual void endEdit (int32_t index) { ((AudioEffectX*)effect)->endEdit (index); }
76 static int32_t knobMode;
Rect structure.
Definition: crect.h:17
Definition: aeffguieditor.h:21
Definition: vstkeycode.h:12
Definition: plugguieditor.h:11
virtual bool beforeSizeChange(const CRect &newSize, const CRect &oldSize)
frame will change size, if this returns false the upstream implementation does not allow it and thus ...
Definition: aeffguieditor.cpp:204