iPlug2 - C++ Audio Plug-in Framework
|
A base interface to be combined with IControl for bitmap-based controls "IBControls", managing an IBitmap. More...
#include <IControl.h>
Public Member Functions | |
IBitmapBase (const IBitmap &bitmap) | |
IBitmapBase Constructor. More... | |
void | AttachIControl (IControl *pControl) |
Call in the constructor of your IBControl to link the IBitmapBase and IControl. More... | |
void | DrawBitmap (IGraphics &g) |
Draw a frame of a multi-frame bitmap based on the IControl value. More... | |
Protected Attributes | |
IBitmap | mBitmap |
IControl * | mControl = nullptr |
A base interface to be combined with IControl for bitmap-based controls "IBControls", managing an IBitmap.
Definition at line 586 of file IControl.h.
|
inline |
IBitmapBase Constructor.
The | IBitmap to use in this IBControl |
Definition at line 591 of file IControl.h.
Referenced by IBKnobRotaterControl::Draw(), and IBSwitchControl::OnMouseDown().
|
inline |
Call in the constructor of your IBControl to link the IBitmapBase and IControl.
pControl | Ptr to the control |
Definition at line 600 of file IControl.h.
Referenced by IBSwitchControl::IBSwitchControl(), and IBSwitchControl::OnMouseDown().
|
inline |
Draw a frame of a multi-frame bitmap based on the IControl value.
g | The IGraphics context |
Definition at line 604 of file IControl.h.
References Clip(), and IGraphics::DrawBitmap().