Crazy Eddie's GUI System
${CEGUI_VERSION}
|
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...
Public Member Functions | |
NamedArea (const String &name) | |
const String & | getName () const |
Return the name of this NamedArea. More... | |
void | setName (const String &name) |
set the name for this NamedArea. More... | |
const ComponentArea & | getArea () const |
Return the ComponentArea of this NamedArea. More... | |
void | setArea (const ComponentArea &area) |
Set the Area for this NamedArea. More... | |
void | writeXMLToStream (XMLSerializer &xml_stream) const |
Writes an xml representation of this NamedArea to out_stream. More... | |
bool | handleFontRenderSizeChange (Window &window, const Font *font) const |
perform any processing required due to the given font having changed. | |
NamedArea (const String &name) | |
const String & | getName () const |
Return the name of this NamedArea. More... | |
void | setName (const String &name) |
set the name for this NamedArea. More... | |
const ComponentArea & | getArea () const |
Return the ComponentArea of this NamedArea. More... | |
void | setArea (const ComponentArea &area) |
Set the Area for this NamedArea. More... | |
void | writeXMLToStream (XMLSerializer &xml_stream) const |
Writes an xml representation of this NamedArea to out_stream. More... | |
bool | handleFontRenderSizeChange (Window &window, const Font *font) const |
perform any processing required due to the given font having changed. | |
NamedArea defines an area for a component which may later be obtained and referenced by a name unique to the WidgetLook holding the NamedArea.
const ComponentArea & CEGUI::NamedArea::getArea | ( | ) | const |
Return the ComponentArea of this NamedArea.
Referenced by CEGUI::FalagardItemEntry::getItemPixelSize(), CEGUI::FalagardMenuItem::getItemPixelSize(), CEGUI::FalagardMenubar::getItemRenderArea(), CEGUI::FalagardPopupMenu::getItemRenderArea(), CEGUI::FalagardMultiColumnList::getListRenderArea(), CEGUI::ComponentArea::getPixelRect(), CEGUI::FalagardMultiLineEditbox::getTextRenderArea(), CEGUI::FalagardFrameWindow::getUnclippedInnerRect(), CEGUI::WindowRenderer::getUnclippedInnerRect(), CEGUI::FalagardScrollbar::getValueFromThumb(), CEGUI::FalagardSlider::getValueFromThumb(), CEGUI::FalagardScrollablePane::getViewableArea(), CEGUI::FalagardProgressBar::render(), CEGUI::FalagardEditbox::render(), CEGUI::FalagardScrollbar::updateThumb(), and CEGUI::FalagardSlider::updateThumb().
const ComponentArea& CEGUI::NamedArea::getArea | ( | ) | const |
Return the ComponentArea of this NamedArea.
const String & CEGUI::NamedArea::getName | ( | void | ) | const |
Return the name of this NamedArea.
Referenced by CEGUI::WidgetLookFeel::addNamedArea().
const String& CEGUI::NamedArea::getName | ( | ) | const |
void CEGUI::NamedArea::setArea | ( | const ComponentArea & | area | ) |
Set the Area for this NamedArea.
area | ComponentArea object describing a new target area for the NamedArea.. |
void CEGUI::NamedArea::setArea | ( | const ComponentArea & | area | ) |
Set the Area for this NamedArea.
area | ComponentArea object describing a new target area for the NamedArea.. |
void CEGUI::NamedArea::setName | ( | const String & | name | ) |
void CEGUI::NamedArea::setName | ( | const String & | name | ) |
void CEGUI::NamedArea::writeXMLToStream | ( | XMLSerializer & | xml_stream | ) | const |
Writes an xml representation of this NamedArea to out_stream.
out_stream | Stream where xml data should be output. |
References CEGUI::XMLSerializer::attribute(), CEGUI::XMLSerializer::closeTag(), and CEGUI::XMLSerializer::openTag().
void CEGUI::NamedArea::writeXMLToStream | ( | XMLSerializer & | xml_stream | ) | const |
Writes an xml representation of this NamedArea to out_stream.
out_stream | Stream where xml data should be output. |