#include <vstcontrols.h>
class CHorizontalSwitch : public CControl;
Same as the CVerticalSwitch but horizontal.
CHorizontalSwitch |
1.0 |
Creates a horizontal switch with a given number of positions.
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. |
subpixmaps |
|
The number of subpixmaps. |
heightOfOneImage |
|
The height of one subpixmap in pixel. |
iMaxPositions |
|
|
handle |
|
The pixmap containing all the images. |
offset
|
|
- |
~CHorizontalSwitch |
1.0 |
Destroys a horizontalSwitch 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.
mouse |
1.0 |
Called when there is a mouse-click inside this control object.
CControlListener
's valueChanged
method which is called when the value has changed.