//------------------------------------------------------------------------------------------------------- // // Filename : View.h // Created by : Alex Medearis, extended from VSTGUI Builder // Description : Alex's VST Synth GUI // // A basic "Hello World" GUI with knobs to control the carrier and modulator voicings //------------------------------------------------------------------------------------------------------- #ifndef View_H_ #define View_H_ #include "vstgui.h" class View : public AEffGUIEditor, public CControlListener { public: View(AudioEffect *effect); ~View(); protected: bool open(void *ptr); void close(); long controlModifierClicked(CDrawContext *pContext, CControl *pControl, long button) {return 0;}; void setParameter(long index, float value); void valueChanged(CDrawContext* context, CControl* control); void idle(); //Controls CKnob *w1; CKnob *w2; //Bitmaps CBitmap *hBack; CBitmap *hknob; CBitmap *hhandle; }; #endif