#include <vstcontrols.h>
Inheritance diagram for CAnimKnob:
Public Member Functions | |
CAnimKnob (const CRect &size, CControlListener *listener, long tag, CBitmap *background, CPoint &offset) | |
CAnimKnob (const CRect &size, CControlListener *listener, long tag, long subPixmaps, CCoord heightOfOneImage, CBitmap *background, CPoint &offset) | |
virtual | ~CAnimKnob () |
virtual bool | isDirty () const |
check if view is dirty | |
virtual void | draw (CDrawContext *pContext) |
called if the view should draw itself | |
void | setInverseBitmap (bool val) |
Protected Attributes | |
long | subPixmaps |
CCoord | heightOfOneImage |
bool | bInverseBitmap |
CPoint | lastDrawnPoint |
Such as a CKnob control object, but there is a unique pixmap which contains different views (subpixmaps) of this knob. According to the value, a specific subpixmap is displayed. The different subpixmaps are stacked in the pixmap object.
|
|
|
|
|
|
|
called if the view should draw itself
Reimplemented from CKnob. |
|
check if view is dirty
Reimplemented from CControl. |
|
|
|
|
|
|
|
|
|
|