#include <vstcontrols.h>
Inheritance diagram for CMovieButton:
Public Member Functions | |
CMovieButton (const CRect &size, CControlListener *listener, long tag, CBitmap *background, CPoint &offset) | |
CMovieButton (const CRect &size, CControlListener *listener, long tag, CCoord heightOfOneImage, CBitmap *background, CPoint &offset) | |
virtual | ~CMovieButton () |
virtual void | draw (CDrawContext *) |
called if the view should draw itself | |
virtual void | mouse (CDrawContext *pContext, CPoint &where, long button=-1) |
called if a mouse click event occurs | |
Protected Attributes | |
CPoint | offset |
CCoord | heightOfOneImage |
float | buttonState |
A movie button is a bi-states button with 2 subpixmaps. These subpixmaps are stacked in the pixmap.
|
|
|
|
|
|
|
called if the view should draw itself
Implements CControl. |
|
called if a mouse click event occurs
Reimplemented from CView. |
|
|
|
|
|
|