#include <CAUGuiMeter.h>
Inheritance diagram for CAUGuiMeter:

Public Member Functions | |
| CAUGuiMeter (CAUGuiMan *theChief, UInt32 internalIndex, eRect *theWhere, CAUGuiResolution theRes, CAUGuiGraphic *theForeGround, CAUGuiGraphic *theBackground) | |
| constructor for a meter control | |
| virtual | ~CAUGuiMeter () |
| virtual void | draw (CGContextRef context, UInt32 portHeight) |
| receives draws from CAUGuiControlHandler | |
| virtual void | mouseDown (Point *P, bool, bool) |
| receives Mouse clicks from CAUGuiControlHandler | |
| virtual void | mouseTrack (Point *P, bool, bool) |
| receives MouseTracking from CAUGuiControlHandler | |
| virtual void | mouseUp (Point *P, bool, bool) |
| receives Mouse ups from CAUGuiControlHandler | |
| virtual void | idle () |
| the idle timer... | |
This class is merely a helper class for general visualizaion purpose like VU meters.
It is currently bound to represent values from normalized float values that are obtained from an Array of floats that's passed from the process class to the GUI via GetProperty() with a PropertyID defined kInternalParameterProperyID (the one that Apple reserves 0-63999 for their own purpose, so this is 64000).
It could however be extended to use non-propagated AU Parameters as well, as this is the recommended "new way to go" of passing private data from process to GUI. But that would better be handled by Displays where this functionality is already in. One only has to conditionally disable mousing in Displays for that.
If it turns out this class is somewhat useless, it will be deprecated in one of the next updates to CAUGui...
Due to not being bound to AU Parameters, CAUGuiMeters update on timer driven basis when the parameter has changed
Definition at line 40 of file CAUGuiMeter.h.
|
||||||||||||||||||||||||||||
|
constructor for a meter control
Definition at line 12 of file CAUGuiMeter.cpp. References kCAUGui_Meter, and CAUGuiItem::setType(). |
|
|
Definition at line 32 of file CAUGuiMeter.cpp. |
|
||||||||||||
|
receives draws from CAUGuiControlHandler
Reimplemented from CAUGuiCtrl. Definition at line 62 of file CAUGuiMeter.cpp. References CAUGuiGraphic::draw(), CAUGuiCtrl::getBounds(), CAUGuiCtrl::getCarbonControl(), CAUGuiCtrl::getForeBounds(), CAUGuiGraphic::getImage(), eRect::to(), and val. |
|
|
the idle timer...
Reimplemented from CAUGuiCtrl. Definition at line 39 of file CAUGuiMeter.cpp. References CAUGuiCtrl::getCarbonControl(), CAUGuiMan::getInternalParameter(), CAUGuiCtrl::idle(), and val. |
|
||||||||||||||||
|
receives Mouse clicks from CAUGuiControlHandler
Reimplemented from CAUGuiCtrl. Definition at line 60 of file CAUGuiMeter.h. |
|
||||||||||||||||
|
receives MouseTracking from CAUGuiControlHandler
Reimplemented from CAUGuiCtrl. Definition at line 61 of file CAUGuiMeter.h. |
|
||||||||||||||||
|
receives Mouse ups from CAUGuiControlHandler
Reimplemented from CAUGuiCtrl. Definition at line 62 of file CAUGuiMeter.h. |
| (c) 2002 - 2003 by Urs Heckmann www.u-he.com |
1.3.6