#include <CAUGuiTools.h>
Inheritance diagram for CAUGuiGraphic:

Public Member Functions | |
| CAUGuiGraphic (char *pngFileName) | |
| trivial graphic made up from .png resource file | |
| CAUGuiGraphic (char *pngFileName, UInt32 numFrames) | |
| stacked image (animation) made up from .png resource file | |
| virtual | ~CAUGuiGraphic () |
| destructor WARNING: kills all following Items in the CAUGuiItem linked list!!! | |
| virtual bool | isAnim () |
| frame based animated Graphics should implement this | |
| virtual CGImageRef | getImage () |
| for relicts in controls that want to draw'em themselves | |
| virtual SInt32 | getFrames () |
| number of frames | |
| virtual SInt32 | getWidth () |
| returns Width | |
| virtual SInt32 | getHeight () |
| returns Height | |
| virtual void | draw (CGContextRef context, UInt32 portHeight, eRect *rect, float value) |
| letting Graphics draw themselves | |
CAUGuiGraphic is the base class of all types of graphical objects in CAUGui
The concept of hiding visual representation from actual control objects offers some possibilities:
Definition at line 378 of file CAUGuiTools.h.
|
|
trivial graphic made up from .png resource file
Definition at line 218 of file CAUGuiTools.cpp. References kCAUGui_Graphic, and CAUGuiItem::setType(). |
|
||||||||||||
|
stacked image (animation) made up from .png resource file
Definition at line 232 of file CAUGuiTools.cpp. References kCAUGui_Graphic, and CAUGuiItem::setType(). |
|
|
destructor WARNING: kills all following Items in the CAUGuiItem linked list!!!
Definition at line 389 of file CAUGuiTools.h. |
|
||||||||||||||||||||
|
letting Graphics draw themselves
Reimplemented in CAUGuiSpinImage, CAUGuiHandleImage, and CAUGuiCroppingImage. Definition at line 265 of file CAUGuiTools.cpp. References eRect::h, and eRect::to(). Referenced by CAUGuiLabel::draw(), CAUGuiSlider::draw(), CAUGuiSelector::draw(), CAUGuiMeter::draw(), CAUGuiKnob::draw(), and CAUGuiButton::draw(). |
|
|
number of frames
Definition at line 408 of file CAUGuiTools.h. |
|
|
returns Height
Definition at line 260 of file CAUGuiTools.cpp. Referenced by CAUGuiKnob::CAUGuiKnob(), CAUGuiSelector::CAUGuiSelector(), CAUGuiSlider::CAUGuiSlider(), CAUGuiSpinImage::CAUGuiSpinImage(), CAUGuiCroppingImage::draw(), CAUGuiHandleImage::draw(), and CAUGuiLabel::getHeight(). |
|
|
for relicts in controls that want to draw'em themselves
Definition at line 405 of file CAUGuiTools.h. Referenced by CAUGuiSlider::draw(), CAUGuiSelector::draw(), CAUGuiLayeredPane::draw(), CAUGuiPane::draw(), CAUGuiCroppingImage::draw(), CAUGuiHandleImage::draw(), CAUGuiSpinImage::draw(), CAUGuiMeter::draw(), CAUGuiKnob::draw(), CAUGuiDisplay::draw(), CAUGuiButton::draw(), PoofButton::idle(), and PoofButton::mouseDown(). |
|
|
returns Width
Definition at line 250 of file CAUGuiTools.cpp. Referenced by CAUGuiKnob::CAUGuiKnob(), CAUGuiSelector::CAUGuiSelector(), CAUGuiSlider::CAUGuiSlider(), CAUGuiSpinImage::CAUGuiSpinImage(), CAUGuiCroppingImage::draw(), CAUGuiHandleImage::draw(), and CAUGuiLabel::getWidth(). |
|
|
frame based animated Graphics should implement this
Definition at line 402 of file CAUGuiTools.h. |
| (c) 2002 - 2003 by Urs Heckmann www.u-he.com |
1.3.6