CAnimKnob

#include <vstcontrols.h>

class CAnimKnob : public CKnob ;

Such as a knob control object, but there is a unique pixmap which contains different views (subpixmaps) of this knob. According to the value, a specific subpixmap is displayed. The different subpixmaps are stacked in the pixmap object.


CAnimKnob

1.0

CAnimKnob (CRect &size, CControlListener *listener, long tag, long subpixmaps, long heightOfOneImage, CBitmap *handle, CPoint &offset);

Create an animated knob.

size The coordinatees of the enclosing rectangle, relative to the parent frame.
listener The object responsible for handling events in this control.
tag The index of this control.
subpixmaps the number of images stacked in the pixmap.
heightOfOneImage The height of one of the images, in pixel.
handle The pixmap containing the images.
offset

[source] source


~CAnimKnob

1.0

~CAnimKnob ();

Destroy an animKnob object. The pixmap is destroyed if there is no more reference on it.

[source] source


draw

1.0

void draw (CDrawContext* pContext);

Called when this control object needs to be drawed.

[source] source


setInverseBitmap

2.2

void setInverseBitmap (bool val);

Set to true if the bitmap should be drawn inversed.


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