Steinberg VST Plugins SDK 2.1 - Graphical User Interface v2.0
Changes between VSTGUI V2.0 and V2.1
In vstgui.h file
----------------------------------------------------------------------------
11.05.01 Yvan Grabit
add function
virtual bool CView::removed (CView* parent) { return true; } // it has have been removed from parent view
virtual bool CView::attached (CView* view) { return true; } // it has been attached to a view
CFont CDrawContext::getFont ();
----------------------------------------------------------------------------
23.04.01 Yvan Grabit
change function
void CDrawContext::setFont (CFont fontID, const long size = 0, long style = 0);
with style Text Face
enum CTxtFace
{
kNormalFace = 0,
kBoldFace = 1,
kItalicFace = 2,
kUnderlineFace = 4
};
----------------------------------------------------------------------------
23.04.01 Yvan Grabit
add function
CView *CFrame::getModalView ();
fixed bug for MAC (textEdit)
----------------------------------------------------------------------------
21.02.01 Yvan Grabit
add function
virtual void CViewContainer::setBackgroundOffset (const CPoint &p);
----------------------------------------------------------------------------
21.02.01 Yvan Grabit
change CRect &size => const CRect &size : for new Codewarrior
----------------------------------------------------------------------------
30.01.01 Yvan Grabit
add functions:
virtual void CView::forget ();
virtual void CView::remember ();
virtual long CView::getNbReference ();
virtual bool CView::onWheel (CDrawContext *pContext, const CPoint &where, float distance);
virtual CRect &CView::getViewSize (CRect &rect);
---------------------------------------------------------------------------
09.01.01 Yvan Grabit
add functions:
bool CRect rectOverlap (const CRect& rect);
virtual bool CVerticalSlider::onWheel (CDrawContext *pContext, const CPoint &where, float distance);
virtual bool CHorizontalSlider::onWheel (CDrawContext *pContext, const CPoint &where, float distance);
virtual bool CKnob::onWheel (CDrawContext *pContext, const CPoint &where, float distance);
In vstcontrols.h file
----------------------------------------------------------------------------
11.05.01 Yvan Grabit
change all int into long
fixed in textedit
add function
void CParamDisplay::setTxtFace (CTxtFace txtFace);
CTxtFace CParamDisplay::getTxtFace ();
----------------------------------------------------------------------------
22.03.01 Yvan Grabit
add functions:
virtual void CHorizontalSlider::setZoomFactor (float val);
virtual float CHorizontalSlider::getZoomFactor ();
virtual void CVerticalSlider::setZoomFactor (float val);
virtual float CVerticalSlider::getZoomFactor ();
virtual void CKnob::setZoomFactor (float val);
virtual float CKnob::getZoomFactor ();
----------------------------------------------------------------------------
21.02.01 Yvan Grabit
add functions:
virtual void COptionMenu::setNbItemsPerColumn (long val);
virtual long COptionMenu::getNbItemsPerColumn ();
----------------------------------------------------------------------------
21.02.01 Yvan Grabit
change CRect &size => const CRect &size : for new Codewarrior
add class CFileSelector
----------------------------------------------------------------------------
19.02.01 Yvan Grabit
add style for textedit: kDoubleClickStyle
----------------------------------------------------------------------------
12.02.01 Yvan Grabit
add function:
void CKnob::setHandleBitmap (CBitmap *bitmap);
----------------------------------------------------------------------------
06.02.01 Yvan Grabit
modify control:
add in contructor CRockerSwitch (const int style = kHorizontal)
----------------------------------------------------------------------------
30.01.01 Yvan Grabit
add functions:
virtual void CControl::setWheelInc (float val);
virtual float CControl::getWheelInc ();
virtual void CControl::bounceValue ();