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

CAUGuiItem Class Reference

Convenience class, mainly a linked list and base class of any object in CAUGui. More...

#include <CAUGuiTools.h>

Inheritance diagram for CAUGuiItem:

CAUGuiCtrl CAUGuiGraphic CAUGuiImage CAUGuiLabel CAUGuiButton CAUGuiDisplay CAUGuiKnob CAUGuiMeter CAUGuiPane CAUGuiSelector CAUGuiSlider CAUGuiCroppingImage CAUGuiHandleImage CAUGuiSpinImage List of all members.

Public Member Functions

 CAUGuiItem ()
virtual ~CAUGuiItem ()
 destructor WARNING: kills all following Items in the CAUGuiItem linked list!!!

CAUGuiItemgetByID (UInt32 theID)
void append (CAUGuiItem *nextItem)
 adding a new Item to the list

CAUGuiItemgetNext ()
CAUGuiItemgetPrev ()
void setPrev (CAUGuiItem *thePrev)
UInt32 getID ()
void setID (UInt32 theID)
CAUGuiType getType ()
void setType (CAUGuiType theType)

Detailed Description

Convenience class, mainly a linked list and base class of any object in CAUGui.

every class of Graphics, Controls etc. is derived from CAUGuiItem

They are basically linked lists for some convenience mechanisms:

you normally don't have to deal with this class, you usually derive from CAUGuiControl or CAUGuiGraphic

Definition at line 243 of file CAUGuiTools.h.


Constructor & Destructor Documentation

CAUGuiItem::CAUGuiItem  )  [inline]
 

Definition at line 247 of file CAUGuiTools.h.

References kCAUGui_noType.

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

destructor WARNING: kills all following Items in the CAUGuiItem linked list!!!

Definition at line 258 of file CAUGuiTools.h.


Member Function Documentation

void CAUGuiItem::append CAUGuiItem nextItem  )  [inline]
 

adding a new Item to the list

the instantiating object usually cares only about the first item in the list

to append another item, it has just to be passed to the first item and will automatically be inserted at the end of the list, cool, he?

Definition at line 283 of file CAUGuiTools.h.

References setPrev().

Referenced by CAUGuiLayeredPane::addCtrl(), CAUGuiCtrl::addCtrl(), CAUGuiMan::addCtrl(), CAUGuiLayeredPane::addCtrlToGroup(), CAUGuiMan::addImage(), and CAUGuiLayeredPane::placeGroupLabel().

CAUGuiItem* CAUGuiItem::getByID UInt32  theID  )  [inline]
 

Definition at line 266 of file CAUGuiTools.h.

Referenced by CAUGuiMan::getCtrlByID(), and CAUGuiMan::getImageByID().

UInt32 CAUGuiItem::getID  )  [inline]
 

Definition at line 297 of file CAUGuiTools.h.

CAUGuiItem* CAUGuiItem::getNext  )  [inline]
 

Definition at line 294 of file CAUGuiTools.h.

Referenced by CAUGuiLayeredPane::clip(), CAUGuiCtrl::clip(), CAUGuiLayeredPane::draw(), CAUGuiDisplay::draw(), CAUGuiLayeredPane::getChild(), CAUGuiCtrl::getChild(), CAUGuiMan::getCtrlByControlRef(), CAUGuiCtrl::idle(), CAUGuiLayeredPane::isControlRef(), CAUGuiCtrl::isControlRef(), CAUGuiLayeredPane::setLayer(), CAUGuiLayeredPane::setOffset(), CAUGuiCtrl::setOffset(), CAUGuiCtrl::setVisible(), and CAUGuiLayeredPane::showGroup().

CAUGuiItem* CAUGuiItem::getPrev  )  [inline]
 

Definition at line 295 of file CAUGuiTools.h.

CAUGuiType CAUGuiItem::getType  )  [inline]
 

Definition at line 299 of file CAUGuiTools.h.

References CAUGuiType.

Referenced by CAUGuiKnob::draw().

void CAUGuiItem::setID UInt32  theID  )  [inline]
 

Definition at line 298 of file CAUGuiTools.h.

Referenced by CAUGuiMan::addCtrl(), and CAUGuiMan::addImage().

void CAUGuiItem::setPrev CAUGuiItem thePrev  )  [inline]
 

Definition at line 296 of file CAUGuiTools.h.

Referenced by append().

void CAUGuiItem::setType CAUGuiType  theType  )  [inline]
 

Definition at line 300 of file CAUGuiTools.h.

Referenced by CAUGuiDisplay::CAUGuiDisplay(), CAUGuiGraphic::CAUGuiGraphic(), CAUGuiImage::CAUGuiImage(), CAUGuiKnob::CAUGuiKnob(), CAUGuiLabel::CAUGuiLabel(), CAUGuiLayeredPane::CAUGuiLayeredPane(), CAUGuiMeter::CAUGuiMeter(), CAUGuiPane::CAUGuiPane(), CAUGuiSelector::CAUGuiSelector(), CAUGuiSlider::CAUGuiSlider(), and CAUGuiSpinImage::CAUGuiSpinImage().


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