Steinberg VST Plugins SDK 2.1 - Graphical User Interface v2.2

Changes between VSTGUI V2.1 and V2.2




In vstgui.h file

----------------------------------------------------------------------------
add functions :
in CFrame :
virtual bool removeAll (const bool &withForget);
void *getParentSystemWindow ();
void setParentSystemWindow (void *val);
bool setDropActive (bool val);
bool isDropActive ();
void *getGC ();
void setOpenFlag (bool val);
bool getOpenFlag ();
in COffscreenContext :
void copyTo (CDrawContext* pContext, CRect& srcRect, CPoint destOffset);
in CViewContainer :
virtual CColor getBackgroundColor ();
virtual const CPoint& getBackgroundOffset ();
void drawBackgroundRect (CDrawContext *pContext, CRect& _updateRect);

----------------------------------------------------------------------------
23.05.02 Matthias Juwan (beta 3)
MAC changes:
new CBitmap implementation: getHandle returns GWorldPtr (to get the old stuff, set CASHED_PICT to 1)
implemented CBitmap::setTransparencyMask
implemented CDrawContext::floodFill (changed behavior: fill while color is color of start point)
offscreen can modify bitmaps
added invert operator to CColor

----------------------------------------------------------------------------
13.05.02 Matthias Juwan
added CView::onKeyDown, CView::onKeyUp
implemented key handling for CFrame, CViewContainer: edit view -> modalview -> sub views (reverse order)

----------------------------------------------------------------------------
22.02.02 Matthias Juwan
added CView::drawRect, CView::checkUpdate
implemented CFrame::drawRect, CViewContainer::drawRect
added CRect::bound

----------------------------------------------------------------------------
21.02.02 Yvan Grabit
change:
the library msimg32.dll is now dynamically loaded (Windows)

----------------------------------------------------------------------------
20.02.02 Matthias Juwan
added COptionMenuScheme (Windows)
CDrawContext::waitDrag behavior: left mouse button must be pressed (no
modifiers)

----------------------------------------------------------------------------
11.02.02 Yvan Grabit
add functions:
void CFrame::invalidate (const CRect &rect);
long CFrame::getNbViews ();
CView *CFrame::getView (long index);
long CViewContainer::getNbViews ();
CView *CViewContainer::getView (long index);

----------------------------------------------------------------------------
28.01.02 Matthias Juwan
add functions:
CDrawContext::getPoint
CDrawContext::floodFill

CView::setParentView
CView::notify
CView::hitTest => CView::mouse only called if it returns true

CViewContainer::useOffscreen
CViewContainer::hitTestSubViews

CBitmap::setTransparencyMask
CBitmap::CBitmap (CFrame&, width, height) (windows)

change:
optimized transparent drawing of bitmaps (Windows)
made CCView public
made CDrawContext::getSystemContext public
CDrawContext::waitDoubleClick now observes mouse position (Windows) =>should be faster in most cases
CViewContainer behavior: evaluate bTransparencyEnabled in draw
added bool drawInBitmap to COffscreenContext constructor (Windows)

----------------------------------------------------------------------------
11.12.01 Yvan Grabit (beta 1/beta 2)
add functions:
void CBitmap::setTransparentColor (const CColor color);
CColor CBitmap::getTransparentColor ();

----------------------------------------------------------------------------
11.12.01 Matthias Juwan
add functions
bool CRect::isEmpty ();
change:
changed CPoint::isInside to const method
new behaviour of CFrame::onWheel -> only if view is mouse enabled

----------------------------------------------------------------------------
11.12.01 Yvan Grabit
reorganization:
remove class definition : AEffGUIEditor : add it in new file aeffguieditor.h
change all AEffGUIEditor pointer to void pointer
add enum for CViewContainer:
enum {
kNormalUpdate = 0,
kOnlyDirtyUpdate
};

add functions:
unsigned long CFrame::getTicks ();
virtual void *CFrame::getEditor ();
long CFrame::getKnobMode ();
void CBitmap::drawAlphaBlend (CDrawContext *pContext, CRect &rect, const CPoint &offset = CPoint (0, 0), unsigned char alpha = 128);
CFrame* CDrawContext::getFrame ();
bool CDrawContext::waitDrag ();


In vstcontrols.h file

----------------------------------------------------------------------------
add functions :
in CAnimKnob :
void setInverseBitmap (bool val);
in CControl :  
virtual void setBackOffset (CPoint &offset);
in COptionMenu :
long getLastResult ();
COptionMenu *getLastItemMenu (long &idxInMenu);
void setScheme (COptionMenuScheme* s);
virtual COptionMenuScheme* getScheme ();
in CParamDisplay :
CFont getFont ();
virtual void setString2FloatConvert (void (*convert) (char *string, float &output));
in CSplashScreen :
virtual void unSplash ();
in CVuMeter :
virtual void setDirty (const bool val); 
----------------------------------------------------------------------------
27.05.02 Yvan Grabit (beta 3)
add some protections (test of null pointer)

----------------------------------------------------------------------------
15.05.02 Matthias Juwan
add functions:
implemented onKeyDown for CSlider
added reference counting to COptionMenuScheme
implemented onKeyDown for CKnob

----------------------------------------------------------------------------
18.02.02 Yvan Grabit
COption menu is dynamically allocating.

----------------------------------------------------------------------------
28.01.02 Matthias Juwan
CTextEdit sends "LooseFocus" to parent

----------------------------------------------------------------------------
15.01.02 Yvan Grabit (beta 2)
add CSlider, redesign CVerticalSlider and CHorizontalSlider
long style => const long style

----------------------------------------------------------------------------
13.12.01 Yvan Grabit (beta 1)
fix problem with vertical and horizontal switch

----------------------------------------------------------------------------
20.11.01 Yvan Grabit
add functions:
virtual void COptionMenu::setValue (float val);
virtual bool COptionMenu::addEntry (COptionMenu *subMenu, char *txt);
bool CTextEdit::isDoubleClick ();


Copyright ©2003 Steinberg Media Technologies GmbH. All Rights Reserved.