CVuMeter

#include <vstcontrols.h>

class CVuMeter : public CControl;


CVuMeter

1.0

CVuMeter (CRect &size,CBitmap*onBitmap, CBitmap *offBitmap, long nbLed, long style);

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).

[source] source


~CVuMeter

1.0

~CVuMeter ();

Destroy a CVuMeter object. The bitmaps are destroyed if there is no more reference on it.

source


setDecreaseStepValue

1.0

void setDecreaseStepValue (float value);

Sets the delta value maximun between the old value and the new one (only when the value decreases).


draw

1.0

void draw (CDrawContext *context);

Called when this control object needs to be drawn.

[source] source


setDirty

2.2

void setDirty (bool val);

The CVuMeter should be redrawn...


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