#include <vstcontrols.h>
class CVuMeter : public CControl;
CVuMeter |
1.0 |
Creates a CVuMeter object. The scale of this VuMeter is linear between 0.0 and 1.0.
size |
|
The coordinates of the enclosing rectangle, relative to the parent frame. |
---|---|---|
onBitmap |
|
The pixmap representing the led when it is on. |
offBitmap |
|
The pixmap representing the led when it is off. |
nbLed |
|
Indicates the number of led (quantification) defined for the VuMeter. |
style |
|
kHorizontal or kVertical (the default value). |
~CVuMeter |
1.0 |
Destroy a CVuMeter object. The bitmaps are destroyed if there is no more reference on it.
setDecreaseStepValue |
1.0 |
Sets the delta value maximun between the old value and the new one (only when the value decreases).
draw |
1.0 |
Called when this control object needs to be drawn.
setDirty |
2.2 |
The CVuMeter should be redrawn...