Tutorial

This tutorial should give you a brief overview on how to get started using VSTGUI.

VST Integration

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.

Adding views and controls

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.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines

Generated on Tue Sep 25 18:22:38 2012 for VSTGUI by  doxygen 1.6.1