#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 |
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 |
~CAnimKnob |
1.0 |
Destroy an animKnob object. The pixmap is destroyed if there is no more reference on it.
draw |
1.0 |
Called when this control object needs to be drawed.
setInverseBitmap |
2.2 |
Set to true if the bitmap should be drawn inversed.