This tutorial should give you a brief overview on how to get started using VSTGUI.
To add a user interface to a VST Plug-In with VSTGUI is quiet simple.
Create a new class which inherite from AEffGUIEditor. Overwrite AEffGUIEditor::open and AEffGUIEditor::close.
class MyEditor : public AEffGUIEditor { public: bool open (void* ptr); void close (); };
In MyEditor::open you create the CFrame.
bool MyEditor::open (void* ptr) { CRect frameSize (0, 0, 300, 300); frame = new CFrame (frameSize, ptr, this); return true; }
In MyEditor::close you need to delete the CFrame
void MyEditor::close () { delete frame; frame = 0; }
Now you have your own editor for a VST Plug-In. Now you need to add controls to it.
Most controls provided with VSTGUI use bitmaps. So you need to know how to load and use bitmaps in VSTGUI. To load a bitmap, you just need to use the CBitmap class.