#include <vstcontrols.h>
class CSpecialDigit : public CControl;
Can be used to display a counter with maximum 7 digits. All digit have the same size and are stacked in height in the pixmap.
takeFocus |
1.0 |
Creates a special digit (like a counter) with a given initial value (dwPos
).
size |
|
The coordinates of the enclosing rectangle, relative to the parent frame. |
---|---|---|
listener |
|
The object responsible for handling events in this control. |
tag |
|
The index of the control. |
dwPos |
|
The actual value. |
iNumbers |
|
The amount of digits (up to 7). |
xpos |
|
Array of horizontal positions in the frame. |
ypos |
|
Array of vertical positions in the frame. |
width |
|
The width of one digit. |
height |
|
The height of one digit. |
background |
|
A pixmap containing the numbers. |
~CSpecialDigit |
1.0 |
Destroys a special digit 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.
getNormValue |
1.0 |
Returns the current value normalized between 0 and 1.