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

Changes between VSTGUI V1.0 and V2.0




In vstgui.h file

----------------------------------------------------------------------------
24.11.00 Yvan Grabit
add functions:
CView *CView::getParentView ();

----------------------------------------------------------------------------
10.11.00 Yvan Grabit
bool CRect::pointInside (const CPoint& where) const;

----------------------------------------------------------------------------
01.11.00 Yvan Grabit
add namespace for Windows

----------------------------------------------------------------------------
17.10.00 Yvan Grabit
add functions:
void CViewContainer::setBackgroundColor (CColor color)

----------------------------------------------------------------------------
09.10.00 Yvan Grabit
add functions:
bool CBitmap::isLoaded ();

----------------------------------------------------------------------------
12.07.00 Yvan Grabit
correction bug MAC for extra symbol

----------------------------------------------------------------------------
20.06.00 Yvan Grabit
add functions:
void CView::setParent (CFrame *pParent);

----------------------------------------------------------------------------
04.05.00 Yvan Grabit (beta 8)
add functions:
bool CView::onDrop (void **ptrItems, long nbItems, long type, CPoint &where);
bool CFrame::onDrop (void **ptrItems, long nbItems, long type, CPoint &where);
bool CViewContainer::onDrop (void **ptrItems, long nbItems, long type, CPoint &where);

----------------------------------------------------------------------------
04.05.00 Yvan Grabit (beta 8)
change functions :
CView::takeFocus (CDrawContext *pContext = 0);
CView::looseFocus (CDrawContext *pContext = 0);

----------------------------------------------------------------------------
17.04.00 Yvan Grabit
add functions:
bool CDrawContext::waitDoubleClick ();
virtual long setKnobMode (int val);
static int getKnobMode () { return knobMode; }
with enum { kCircularMode, kRelativCircularMode, kLinearMode };

----------------------------------------------------------------------------
31.03.00 Yvan Grabit
change function: CViewContainer is always offscreen (no more offscreen flag in constructor)

----------------------------------------------------------------------------
21.03.00 Yvan Grabit
add functions:
bool CViewContainer::isChild (CView *pView);
bool CFrame::isChild (CView *pView);

----------------------------------------------------------------------------
17.03.00 Yvan Grabit
add function:
int AEffGUIEditor::getVstGuiVersion () => return major version in 0xFF00 enad minor version in 0x00FF

----------------------------------------------------------------------------
13.03.00 Yvan Grabit
add function: (Windows only) HWND CFrame::getOuterWindow () (internal use)
add new font : kNormalFontSmaller

----------------------------------------------------------------------------
16.12.99 Yvan Grabit
add function: long CDrawContext::getStringWidth (const char* str);

----------------------------------------------------------------------------
22.11.99 Yvan Grabit
add enum: CDrawMode { kCopyMode = 0, kOrMode, kXorMode};
add functions:
void CDrawContext::setDrawMode (CDrawMode mode);
CDrawMode CDrawContext::getDrawMode ();
void CDrawContext::setClipRect (const CRect &clip);
CRect CDrawContext::getClipRect ();

----------------------------------------------------------------------------
04.11.99 Yvan Grabit
add functions:
virtual bool CView::getTransparency ();
virtual void CView::setTransparency (bool val);

----------------------------------------------------------------------------
30.09.99 Yvan Grabit
Member AEffGUIEditor::lLastTicks is private now.
add CViewContainer class.
add functions:
virtual void CView::setMouseEnabled (const bool bEnable = true) { bMouseEnabled = bEnable; }
virtual bool CView::getMouseEnabled () { return bMouseEnabled; }

virtual void CView::setMouseableArea (CRect& rect) { mouseableArea = rect; }
virtual void CView:getMouseableArea (CRect& rect) { rect = mouseableArea; }
add members:
bool CView::bDirty;
bool CView::bMouseEnabled;

----------------------------------------------------------------------------
27.09.99 Yvan Grabit
add function: void AEffGUIEditor::wait (long ms);

----------------------------------------------------------------------------
03.09.99 Yvan Grabit
add new define for platform independent (new symbols (string)) :
kDegreeSymbol, kInfiniteSymbol, kCopyrightSymbol,
kTrademarkSymbol, kRegisteredSymbol, kMicroSymbol, kPerthousandSymbol

----------------------------------------------------------------------------
25.08.99 Yvan Grabit
add function: int CBitmap::getNbReference ();





In vstcontrols.h file


----------------------------------------------------------------------------
24.11.00 Yvan Grabit
add functions:
virtual void CControl::setTag (long tag);

----------------------------------------------------------------------------
24.11.00 Yvan Grabit
add functions:
virtual void CParamDisplay::setTextTransparency (bool val);
virtual bool CParamDisplay::getTextTransparency ();

----------------------------------------------------------------------------
01.11.00 Yvan Grabit
add namespace for Windows
add functions:
virtual void CKnob::drawHandle (CDrawContext *pContext);

----------------------------------------------------------------------------
06.06.00 Yvan Grabit (beta 8)
add functions :
CKnob::setStartAngle (float val);
float CKnob::getStartAngle ();
CKnob::setRangeAngle (float val);
float CKnob::getRangeAngle ();

----------------------------------------------------------------------------
04.05.00 Yvan Grabit (beta 8)
change functions :
CTextEdit::takeFocus (CDrawContext *pContext = 0);
CTextEdit::looseFocus (CDrawContext *pContext = 0);
COptionMenu::takeFocus (CDrawContext *pContext = 0);
COptionMenu::looseFocus (CDrawContext *pContext = 0);

----------------------------------------------------------------------------
31.03.00 Yvan Grabit
add functions:
void CKnob::setColorShadowHandle (CColor color);
void CKnob::setColorHandle (CColor color);
this allows to change the color of the default handle (without bitmap)

----------------------------------------------------------------------------
20.03.00 Yvan Grabit
change functions:
COptionMenu::getCurrent (char* txt = 0, bool countSeparator = true);
=>Return the current selected item. When CountSeparator is false the separator
items are ignored in the indexation.
COptionMenu::setCurrent (int index, bool countSeparator = true);

----------------------------------------------------------------------------
10.03.00 Yvan Grabit
add function: virtual void CKnob::setInsetValue (int val);

----------------------------------------------------------------------------
12.01.00 Yvan Grabit
add functions:
void CParamDisplay::setStringConvert (float, char*, void*userData);
void CTextEdit::setTextEditConvert (float, char*, void*userData);

----------------------------------------------------------------------------
07.01.00 Yvan Grabit
add functions: CParamDisplay::getFontColor/getFrameColor/getShadowColor/getBackColor

----------------------------------------------------------------------------
21.12.99 Yvan Grabit (1.1)
change CControl constructor add CBitmap *background;
add functions:
CControl::setBackground and CControl::getBackground
setHandle and getHandle in CHorizontalSlider/CVerticalSlider

----------------------------------------------------------------------------
22.11.99 Yvan Grabit
add functions: for CHorizontalSlider CVerticalSlider :
virtual void setFreeClick (bool val) { bFreeClick = val; }
virtual bool getFreeClick () { return bFreeClick; } => this allows to free the click (we don't have to grab the handle)

----------------------------------------------------------------------------
19.11.99 Yvan Grabit
add enum: kNoTextStyle which allows for COptionMenu to disable the display of the text.
add function: void CParamDisplay::setStyle (int val) and CParamDisplay::getStyle ()

----------------------------------------------------------------------------
30.09.99 Yvan Grabit
add functions: CControl::setDirty and CControl::getDirty

----------------------------------------------------------------------------
02.09.99 Yvan Grabit
add define: SQRT2 1.414...






(for internal information only : bugs correction....)

In vstgui.cpp file


----------------------------------------------------------------------------
14.07.00 Yvan Grabit
Mac : change the menu behaviour + new Carbon version

----------------------------------------------------------------------------
31.03.00 Yvan Grabit
Bug Correction: CViewContainer is always offscreen. Its children are always given
with relativ values to it.

----------------------------------------------------------------------------
30.03.00 Yvan Grabit
Bug Correction: CCViewContainer call remember for background bitmap.

----------------------------------------------------------------------------
26.03.00 Yvan Grabit
Bug Correction: DrawEllipse for Windows was 1 pixel too small.

----------------------------------------------------------------------------
13.03.00 Yvan Grabit
New Functionnalities: modify CFrame::getPosition () for Windows (add function getOuterWindow)

----------------------------------------------------------------------------
01.02.00 Yvan Grabit
New Functionnalities: rename transfert -> copyFrom (offscreen) (old function transfert not remove)

----------------------------------------------------------------------------
25.01.00 Yvan Grabit
Bug Correction: setDirty reset to the oldvalue after each draw in CFrame::draw

----------------------------------------------------------------------------
21.01.00 Yvan Grabit
Bug Correction:
-setDirty call after each draw in CFrame::draw
-WINDOWS sendPAINT message in doIldeStuff
-in WM_PAINT : return 0 when processes.

----------------------------------------------------------------------------
13.01.00 Yvan Grabit
New Functionnalities: for textedit color....

----------------------------------------------------------------------------
16.12.99 Yvan Grabit & Karl Steinberg
New Functionnalities: long CDrawContext::getStringWidth (const char* str);

Bug Correction: (MAC)
-Change void CRect2Rect (CRect &cr, Rect &rr); to void CRect2Rect (const CRect &cr, Rect &rr);
(or I got a invalid const/volatile warning...)
-drawString was not clip sensitive.

----------------------------------------------------------------------------
25.11.99 Georges-Edouard Berenger
New Functionnalities: void CDrawContext::resetClipRect ();

----------------------------------------------------------------------------
22.11.99 Yvan Grabit
New Functionnalities:
-void CDrawContext::setDrawMode (CDrawMode mode);
-void CDrawContext::setClipRect (const CRect &clip);

----------------------------------------------------------------------------
18.11.99 Michael Michaelis
New Functionnalities: (MAC) textedit and font adjustment.

----------------------------------------------------------------------------
01.10.99 Yvan Grabit
New Functionnalities:
-integration new class CViewContainer which contains a list of view
-add CView::setDirty (bool val) => used by CControl
-add bool CView::isDirty () => used by CControl for update

Bug Correction: CView::setTempOffscreen not anymore used because Pb with BeOS Platform
!!! a CDrawContext (offscreen too) can only be used temporary !!!!

----------------------------------------------------------------------------
28.09.99 Yvan Grabit
Bug Correction: offscreen contructor with background bitmapo

New Functionnalities: add function wait () and use it in doIdleStuff () (WINDOWS/SGI)

----------------------------------------------------------------------------
02.09.99 Georges-Edouard Berenger
Bug Correction:
-BeOS fixes.
-remove the call of idle in doIdleStuff ().

----------------------------------------------------------------------------
18.06.99 Andreas Mazurkiewicz
Bug Correction: (WINDOWS) : WindowProc: ~CDrawContext was called after EndPaint





In vstcontrols.cpp file


----------------------------------------------------------------------------
10.03.00 Yvan Grabit
Bug Correction: CKnob with inset
New Functionnalities: add function CKnob::setInsetValue ()

----------------------------------------------------------------------------
09.03.00 Yvan Grabit
Bug Correction: in CVerticalSlider/CHorizontalSlider when freeClick was not true

----------------------------------------------------------------------------
02.02.00 Yvan Grabit
Bug Correction: when key release => stop the mouse move (Knob,...)

----------------------------------------------------------------------------
01.02.00 Yvan Grabit
New Functionnalities: rename transfert to copyFrom

----------------------------------------------------------------------------
21.01.00 Yvan Grabit
Bug Correction: (forgotten a userdata pointer:-))
add CParamDisplay::setStringConvert ((void*)(float, char*, void*userData), void*userData)
add CTextEdit::setTextEditConvert ((void*)(float, char*, void*userData), void*userData)

New Functionnalities: Textedit uses the alignment mode when edited

----------------------------------------------------------------------------
17.01.00 Yvan Grabit
Bug Correction: Better CTextEdit for Windows.

----------------------------------------------------------------------------
13.01.00 Yvan Grabit
New Functionnalities:
CKnob don't jump anymore between min and max.
textedit has the background and color font specified (selection of all text when focus)
add CParamDisplay::setStringConvert (float , char*, void*userData)
add CTextEdit::setTextEditConvert (float , char*, void*userData)

----------------------------------------------------------------------------
12.01.00 Yvan Grabit
New Functionnalities: for concerned controls :
Ctrl + Click => Default value,
Alt + Click => Up-down behaviour for CKnob

----------------------------------------------------------------------------
12.01.00 Yvan Grabit
Bug Correction: COptionMenu::addEntry ().

----------------------------------------------------------------------------
21.12.99 Yvan Grabit
New Functionnalities:
add setBackground in CControl.
add setHandle in CHorizontalSlider/CVerticalSlider
all controls give their background to CCOntrol which controls it

----------------------------------------------------------------------------
06.12.99 Yvan Grabit
Bug Correction: COptionMenu add setValue (currentIndex); before listener->valueChanged (pContextTemp, this);

----------------------------------------------------------------------------
22.11.99 Yvan Grabit
New Functionnalities:
add 2 new functions for CHorizontalSlider/CVerticalSlider :
virtual void setFreeClick (bool val) { bFreeClick = val; }
virtual bool getFreeClick () { return bFreeClick; } => this allows to free the click (we don't have to grab the handle)

----------------------------------------------------------------------------
19.11.99 Yvan Grabit
New Functionnalities:
add enum kNoTextStyle which allows for COptionMenu to disable the display of the text.
add void CParamDisplay::setStyle (int val) & getStyle ()

----------------------------------------------------------------------------
18.11.99 Michael Michaelis
New Functionnalities: (MAC) textedit and font ajustment

----------------------------------------------------------------------------
04.11.99 Yvan Grabit
New Functionnalities: add drawTransparency if needed (in draw methods). By default the transparency is disable.

----------------------------------------------------------------------------
02.11.99 Yvan Grabit
Bug Correction: COptionMenu for MAC

----------------------------------------------------------------------------
30.09.99 Yvan Grabit
New Functionnalities:
add setDirty and getDirty
remove update from CControl => implement it in CView

----------------------------------------------------------------------------
27.09.99 Yvan Grabit
New Functionnalities: CKnob::mouse : if kControl used => value change on vertical move
Bug Correction: about mouse and key

----------------------------------------------------------------------------
04.06.99 Yvan Grabit
Bug Correction: in Slider with shift used.

----------------------------------------------------------------------------
02.06.99 Lothar
New Functionnalities: MAC add COptionMenu implementation

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