Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

CAUGuiLabel Class Reference

Labels, made up from Graphics. More...

#include <CAUGuiTools.h>

Inheritance diagram for CAUGuiLabel:

CAUGuiItem List of all members.

Public Member Functions

 CAUGuiLabel (CAUGuiGraphic *theGraphic, eRect *theBounds)
virtual ~CAUGuiLabel ()
virtual SInt32 getWidth ()
virtual SInt32 getHeight ()
virtual void draw (CGContextRef context, UInt32 portHeight, eRect *rect, float value)

Detailed Description

Labels, made up from Graphics.

CAUGuiLabels are currently only used in LayeredPanes

They produce overhead that sometimes is neccessary, for instance when a parameter influences the meaning of another parameter. In those cases, LayeredPanes don't need to change their whole background image but can display little, changing graphics as labels instead

See CAUGuiLayeredPane for details

Definition at line 456 of file CAUGuiTools.h.


Constructor & Destructor Documentation

CAUGuiLabel::CAUGuiLabel CAUGuiGraphic theGraphic,
eRect theBounds
 

Definition at line 340 of file CAUGuiTools.cpp.

References eRect::h, kCAUGui_Label, eRect::set(), CAUGuiItem::setType(), and eRect::w.

virtual CAUGuiLabel::~CAUGuiLabel  )  [inline, virtual]
 

Definition at line 461 of file CAUGuiTools.h.


Member Function Documentation

void CAUGuiLabel::draw CGContextRef  context,
UInt32  portHeight,
eRect rect,
float  value
[virtual]
 

Definition at line 357 of file CAUGuiTools.cpp.

References CAUGuiGraphic::draw(), eRect::h, eRect::set(), eRect::w, eRect::x, and eRect::y.

Referenced by CAUGuiLayeredPane::draw().

virtual SInt32 CAUGuiLabel::getHeight  )  [inline, virtual]
 

Definition at line 470 of file CAUGuiTools.h.

References CAUGuiGraphic::getHeight().

virtual SInt32 CAUGuiLabel::getWidth  )  [inline, virtual]
 

Definition at line 468 of file CAUGuiTools.h.

References CAUGuiGraphic::getWidth().


The documentation for this class was generated from the following files:
(c) 2002 - 2003 by Urs Heckmann www.u-he.com
Generated on Thu May 6 15:13:15 2004 for CAUGui by doxygen 1.3.6