diff options
| author | pepper <peppersclothescult@gmail.com> | 2015-01-10 21:37:24 -0800 |
|---|---|---|
| committer | pepper <peppersclothescult@gmail.com> | 2015-01-10 21:37:24 -0800 |
| commit | 58f8437f4b8b741ddc8e7bcde21bf983cc618430 (patch) | |
| tree | bfd0a9d601274fe56de15a4eaeb0998f9481419d /vendor/vstsdk2.4/public.sdk/samples/vst2.x/adelay/editor/sdeditor.h | |
| parent | 36773a28ece1641a2d827a29869cdd4c38e87925 (diff) | |
Diffstat (limited to 'vendor/vstsdk2.4/public.sdk/samples/vst2.x/adelay/editor/sdeditor.h')
| -rw-r--r-- | vendor/vstsdk2.4/public.sdk/samples/vst2.x/adelay/editor/sdeditor.h | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/vendor/vstsdk2.4/public.sdk/samples/vst2.x/adelay/editor/sdeditor.h b/vendor/vstsdk2.4/public.sdk/samples/vst2.x/adelay/editor/sdeditor.h new file mode 100644 index 0000000..abe427a --- /dev/null +++ b/vendor/vstsdk2.4/public.sdk/samples/vst2.x/adelay/editor/sdeditor.h @@ -0,0 +1,51 @@ +//------------------------------------------------------------------------------------------------------- +// VST Plug-Ins SDK +// Version 2.4 $Date: 2006/11/13 09:08:28 $ +// +// Category : VST 2.x SDK Samples +// Filename : sdeditor.h +// Created by : Steinberg Media Technologies +// Description : Simple Surround Delay plugin with Editor using VSTGUI +// +// © 2006, Steinberg Media Technologies, All Rights Reserved +//------------------------------------------------------------------------------------------------------- + +#ifndef __sdeditor__ +#define __sdeditor__ + + +// include VSTGUI +#ifndef __vstgui__ +#include "vstgui.sf/vstgui/vstgui.h" +#endif + + +//----------------------------------------------------------------------------- +class SDEditor : public AEffGUIEditor, public CControlListener +{ +public: + SDEditor (AudioEffect* effect); + virtual ~SDEditor (); + +public: + virtual bool open (void* ptr); + virtual void close (); + + virtual void setParameter (VstInt32 index, float value); + virtual void valueChanged (CDrawContext* context, CControl* control); + +private: + // Controls + CVerticalSlider* delayFader; + CVerticalSlider* feedbackFader; + CVerticalSlider* volumeFader; + + CParamDisplay* delayDisplay; + CParamDisplay* feedbackDisplay; + CParamDisplay* volumeDisplay; + + // Bitmap + CBitmap* hBackground; +}; + +#endif |
