|
ASPiK SDK
|
This object demonstrates how to subclass an existing VSTGUI4 control to setup a communcation channel with it using the ICustomView interface.
.
More...
#include <customviews.h>
Public Member Functions | |
| CustomKnobView (const CRect &size, IControlListener *listener, int32_t tag, int32_t subPixmaps, CCoord heightOfOneImage, CBitmap *background, const CPoint &offset, bool bSwitchKnob=false) | |
| CustomKnobView constructor. More... | |
| virtual void | updateView () override |
| virtual void | sendMessage (void *data) override |
Public Member Functions inherited from ICustomView | |
| virtual void | pushDataValue (double data) |
This object demonstrates how to subclass an existing VSTGUI4 control to setup a communcation channel with it using the ICustomView interface.
.
| VSTGUI::CustomKnobView::CustomKnobView | ( | const CRect & | size, |
| IControlListener * | listener, | ||
| int32_t | tag, | ||
| int32_t | subPixmaps, | ||
| CCoord | heightOfOneImage, | ||
| CBitmap * | background, | ||
| const CPoint & | offset, | ||
| bool | bSwitchKnob = false |
||
| ) |
CustomKnobView constructor.
| size | - the control rectangle |
| listener | - the control's listener (usuall PluginGUI object) |
| tag | - the control ID value |
| subPixmaps | - the number of frames in the strip animation |
| heightOfOneImage- | the number of frames in the strip animation |
| background- | the graphics file for the control |
| offset- | positional offset value |
| bSwitchKnob | - flag to enable switch knob |
|
overridevirtual |
ICustomView method: send a message to the object (!)
Reimplemented from ICustomView.
|
overridevirtual |
ICustomView method: this repaints the control
Implements ICustomView.