iPlug2 - C++ Audio Plug-in Framework
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
IBitmapBase Class Reference

A base interface to be combined with IControl for bitmap-based controls "IBControls", managing an IBitmap. More...

#include <IControl.h>

Inheritance diagram for IBitmapBase:
[legend]

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
 

Detailed Description

A base interface to be combined with IControl for bitmap-based controls "IBControls", managing an IBitmap.

Definition at line 723 of file IControl.h.

Constructor & Destructor Documentation

◆ IBitmapBase()

IBitmapBase::IBitmapBase ( const IBitmap &  bitmap)
inline

IBitmapBase Constructor.

Parameters
TheIBitmap to use in this IBControl

Definition at line 728 of file IControl.h.

◆ ~IBitmapBase()

virtual IBitmapBase::~IBitmapBase ( )
inlinevirtual

Definition at line 733 of file IControl.h.

Member Function Documentation

◆ AttachIControl()

void IBitmapBase::AttachIControl ( IControl *  pControl)
inline

Call in the constructor of your IBControl to link the IBitmapBase and IControl.

Parameters
pControlPtr to the control

Definition at line 737 of file IControl.h.

Referenced by IBitmapControl::IBitmapControl(), and IBSwitchControl::IBSwitchControl().

◆ DrawBitmap()

void IBitmapBase::DrawBitmap ( IGraphics &  g)
inline

Member Data Documentation

◆ mBitmap

IBitmap IBitmapBase::mBitmap
protected

Definition at line 755 of file IControl.h.

◆ mControl

IControl* IBitmapBase::mControl = nullptr
protected

Definition at line 756 of file IControl.h.


The documentation for this class was generated from the following file: