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

Public Member Functions | |
| CAUGuiDisplay (CAUGuiMan *theChief, CAAUParameter &theAuvp, eRect *theWhere, CAUGuiResolution theRes, CAUGuiGraphic *theForeGround, CAUGuiGraphic *theBackground) | |
| constructor for graphics driven display | |
| CAUGuiDisplay (CAUGuiMan *theChief, CAAUParameter &theAuvp, eRect *theWhere, CAUGuiResolution theRes, displayTextProcedure aTexter, void *userDData, CAUGuiGraphic *theBackground) | |
| constructor for text driven display | |
| virtual | ~CAUGuiDisplay () |
| destructor | |
| 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 | setUserProcedure (displayUserProcedure theProc, void *theUserData) |
| optional displayUserProcedure that gets called on value changes | |
| virtual void | mouseRight (Point *P) |
| derive this to react on mouse clicks /w CTRL for contextual stuff, but you need to install special event handlers. I never managed to get this working | |
| virtual void | generatePopUpMenue () |
| use on indexed parameters only! | |
This is not just for representing values, it also works for manipulating them
on floating point values, it works like a vertical slider. Dragging up/down on the left side adjusts values in integer steps, dragging on the right side adjusts in fine resolution (determined by the attached CAUGuiResolution
on indexed values, it can be used as a PopUpMenue
a special note: If you have an indexed parameter attached and a simple CAUGuiGraphic as foreground, the display will use subsequently added Graphics to display feedback for each integer value.
|
this will attach the three images to the corresponding three values of myAUVP!
Definition at line 88 of file CAUGuiDisplay.h.
|
||||||||||||||||||||||||||||
|
constructor for graphics driven display
if the foreground is a plain CAUGuiGraphic, hence a single image, the display assumes that it represents an indexed parameter and that the graphic is the first in a series of graphics stored in the same linked list (CAUGuiItem). Commonly, there's only one such list for graphics, observed and maintaines by CAUGuiMan Definition at line 12 of file CAUGuiDisplay.cpp. References CAUGUI_DEFAULT_FONT_ALIGN, kCAUGui_Display, and CAUGuiItem::setType(). |
|
||||||||||||||||||||||||||||||||
|
constructor for text driven display
Definition at line 42 of file CAUGuiDisplay.cpp. References CAUGUI_DEFAULT_FONT_ALIGN, displayTextProcedure, generatePopUpMenue(), kCAUGui_Display, and CAUGuiItem::setType(). |
|
|
destructor
Definition at line 95 of file CAUGuiDisplay.cpp. |
|
||||||||||||
|
receives draws from CAUGuiControlHandler
Reimplemented from CAUGuiCtrl. Definition at line 312 of file CAUGuiDisplay.cpp. References CAUGuiCtrl::getAUVP(), CAUGuiCtrl::getBounds(), CAUGuiCtrl::getCarbonControl(), CAUGuiCtrl::getForeBounds(), CAUGuiGraphic::getImage(), CAUGuiItem::getNext(), and eRect::to(). |
|
|
use on indexed parameters only! if AUTO_POP_UP_MENUES in CAUGuiConfig is set to zero, you can use this function to individually set up a PopUpMenue for this display. Otherwise it will be automatically established if applicable (indexed parameter, less than 100 or so values) Definition at line 109 of file CAUGuiDisplay.cpp. Referenced by CAUGuiDisplay(). |
|
||||||||||||||||
|
receives Mouse clicks from CAUGuiControlHandler
Reimplemented from CAUGuiCtrl. Definition at line 162 of file CAUGuiDisplay.cpp. References CAUGuiCtrl::getCarbonControl(), last_X, last_Y, and val. |
|
|
derive this to react on mouse clicks /w CTRL for contextual stuff, but you need to install special event handlers. I never managed to get this working
Reimplemented from CAUGuiCtrl. Definition at line 277 of file CAUGuiDisplay.cpp. References CAUGuiCtrl::getCarbonControl(). |
|
||||||||||||||||
|
receives MouseTracking from CAUGuiControlHandler
Reimplemented from CAUGuiCtrl. Definition at line 198 of file CAUGuiDisplay.cpp. References CAUGuiCtrl::getBounds(), CAUGuiCtrl::getCarbonControl(), CAUGuiCtrl::getResolution(), kCAUGui_res_1, last_X, val, and eRect::w. |
|
||||||||||||||||
|
receives Mouse ups from CAUGuiControlHandler
Reimplemented from CAUGuiCtrl. Definition at line 270 of file CAUGuiDisplay.cpp. |
|
||||||||||||
|
optional displayUserProcedure that gets called on value changes
Definition at line 431 of file CAUGuiDisplay.cpp. References displayUserProcedure. |
| (c) 2002 - 2003 by Urs Heckmann www.u-he.com |
1.3.6