Crazy Eddie's GUI System  0.8.4
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...

+ Inheritance diagram for CEGUI::NamedArea:
+ Collaboration diagram for CEGUI::NamedArea:

List of all members.

Public Member Functions

 NamedArea (const String &name)
const StringgetName () const
 Return the name of this NamedArea.
void setName (const String &name)
 set the name for 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.
bool handleFontRenderSizeChange (Window &window, const Font *font) const
 perform any processing required due to the given font having changed.

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

Return the ComponentArea of this NamedArea.

Returns:
ComponentArea object describing the NamedArea's current target area.

Return the name of this NamedArea.

Returns:
String object holding the name of this NamedArea.
void CEGUI::NamedArea::setArea ( const ComponentArea area)

Set the Area for this NamedArea.

Parameters:
areaComponentArea object describing a new target area for the NamedArea..
Returns:
Nothing.
void CEGUI::NamedArea::setName ( const String name)

set the name for this NamedArea.

Parameters:
areaString object holding the name of this NamedArea.
Returns:
Nothing.
void CEGUI::NamedArea::writeXMLToStream ( XMLSerializer xml_stream) const

Writes an xml representation of this NamedArea to out_stream.

Parameters:
out_streamStream where xml data should be output.
Returns:
Nothing.
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends