#include <vstcontrols.h>
Inheritance diagram for CVuMeter:

Public Member Functions | |
| CVuMeter (const CRect &size, CBitmap *onBitmap, CBitmap *offBitmap, long nbLed, const long style=kVertical) | |
| virtual | ~CVuMeter () |
| virtual void | setDecreaseStepValue (float value) |
| virtual bool | attached (CView *parent) |
| view is attached to a parent view | |
| virtual bool | removed (CView *parent) |
| view is removed from parent view | |
| virtual void | draw (CDrawContext *pContext) |
| called if the view should draw itself | |
| virtual void | setDirty (const bool val=true) |
| set the view to dirty so that it is redrawn in the next idle. Thread Safe ! | |
| void | setUseOffscreen (bool val=true) |
| bool | getUseOffscreen () const |
Protected Attributes | |
| CBitmap * | onBitmap |
| CBitmap * | offBitmap |
| COffscreenContext * | pOScreen |
| long | nbLed |
| long | style |
| float | decreaseValue |
| bool | bUseOffscreen |
| CRect | rectOn |
| CRect | rectOff |
|
||||||||||||||||||||||||
|
|
|
|
|
|
|
view is attached to a parent view
Reimplemented from CView. |
|
|
called if the view should draw itself
Implements CControl. |
|
|
|
|
|
view is removed from parent view
Reimplemented from CView. |
|
|
|
|
|
set the view to dirty so that it is redrawn in the next idle. Thread Safe !
Reimplemented from CControl. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|