#include <vstcontrols.h>
class CMovieButton : public CControl;
A movie button is a bi-states button with 2 subpixmaps. These subpixmaps are stacked in the pixmap.
CMovieButton |
1.0 |
Creates a movie button.
size |
The enclosing rectangle, in relative to the parent frame. |
---|---|
listener |
The object responsible for handling events in this control. |
tag |
The index of the control. |
heightOfOneImage |
The height of one image in pixels. |
handle |
The pixmap. |
offset |
- |
~CMovieButton |
1.0 |
Destroys a movieButton 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.