CEGUI::NamedArea Class Reference

NamedArea defines an area for a component which may later be obtained and referenced by a name unique to the WidgetLook holding the NamedArea. More...

Collaboration diagram for CEGUI::NamedArea:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 NamedArea (const String &name)
const StringgetName () const
 Return the name of this NamedArea.
const ComponentAreagetArea () const
 Return the ComponentArea of this NamedArea.
void setArea (const ComponentArea &area)
 Set the Area for this NamedArea.
void writeXMLToStream (XMLSerializer &xml_stream) const
 Writes an xml representation of this NamedArea to out_stream.


Detailed Description

NamedArea defines an area for a component which may later be obtained and referenced by a name unique to the WidgetLook holding the NamedArea.

Member Function Documentation

const ComponentArea & CEGUI::NamedArea::getArea (  )  const

const String & CEGUI::NamedArea::getName ( void   )  const

Return the name of this NamedArea.

Returns:
String object holding the name of this NamedArea.

Referenced by CEGUI::WidgetLookFeel::addNamedArea().

void CEGUI::NamedArea::setArea ( const ComponentArea area  ) 

Set the Area for this NamedArea.

Parameters:
area ComponentArea object describing a new target area for the NamedArea..
Returns:
Nothing.

void CEGUI::NamedArea::writeXMLToStream ( XMLSerializer xml_stream  )  const

Writes an xml representation of this NamedArea to out_stream.

Parameters:
out_stream Stream where xml data should be output.
indentLevel Current XML indentation level
Returns:
Nothing.

References CEGUI::XMLSerializer::attribute(), CEGUI::XMLSerializer::closeTag(), CEGUI::XMLSerializer::openTag(), and CEGUI::ComponentArea::writeXMLToStream().


Generated on Thu Nov 27 20:34:41 2008 for Crazy Eddies GUI System by  doxygen 1.5.7.1