Crazy Eddie's GUI System
${CEGUI_VERSION}
|
Class that encapsulates Look N' Feel information for a widget. More...
Public Member Functions | |
WidgetLookFeel (const String &name, const String &inherits) | |
WidgetLookFeel (const WidgetLookFeel &other) | |
WidgetLookFeel & | operator= (const WidgetLookFeel &other) |
const StateImagery & | getStateImagery (const CEGUI::String &state) const |
Return a const reference to the StateImagery object for the specified state. More... | |
const ImagerySection & | getImagerySection (const CEGUI::String §ion) const |
Return a const reference to the ImagerySection object with the specified name. More... | |
const String & | getName () const |
Return the name of the widget look. More... | |
void | addImagerySection (const ImagerySection §ion) |
Add an ImagerySection to the WidgetLookFeel. More... | |
void | renameImagerySection (const String &oldName, const String &newName) |
void | addWidgetComponent (const WidgetComponent &widget) |
Add a WidgetComponent to the WidgetLookFeel. More... | |
void | addStateSpecification (const StateImagery &state) |
Add a state specification (StateImagery object) to the WidgetLookFeel. More... | |
void | addPropertyInitialiser (const PropertyInitialiser &initialiser) |
Add a property initialiser to the WidgetLookFeel. More... | |
void | clearImagerySections () |
Clear all ImagerySections from the WidgetLookFeel. More... | |
void | clearWidgetComponents () |
Clear all WidgetComponents from the WidgetLookFeel. More... | |
void | clearStateSpecifications () |
Clear all StateImagery objects from the WidgetLookFeel. More... | |
void | clearPropertyInitialisers () |
Clear all PropertyInitialiser objects from the WidgetLookFeel. More... | |
void | initialiseWidget (Window &widget) const |
Initialise the given window using PropertyInitialsers and component widgets specified for this WidgetLookFeel. More... | |
void | cleanUpWidget (Window &widget) const |
Clean up the given window from all properties and component widgets created by this WidgetLookFeel. More... | |
bool | isStateImageryPresent (const String &state) const |
Return whether imagery is defined for the given state. More... | |
void | addNamedArea (const NamedArea &area) |
Adds a named area to the WidgetLookFeel. More... | |
void | clearNamedAreas () |
Clear all defined named areas from the WidgetLookFeel. More... | |
const NamedArea & | getNamedArea (const String &name) const |
Return the NamedArea with the specified name. More... | |
void | renameNamedArea (const String &oldName, const String &newName) |
bool | isNamedAreaDefined (const String &name) const |
return whether a NamedArea object with the specified name exists for this WidgetLookFeel. More... | |
void | layoutChildWidgets (const Window &owner) const |
Layout the child widgets defined for this WidgetLookFeel which are attached to the given window. More... | |
void | addPropertyDefinition (PropertyDefinitionBase *propdef) |
Adds a property definition to the WidgetLookFeel. More... | |
void | addPropertyLinkDefinition (PropertyDefinitionBase *propdef) |
Adds a property link definition to the WidgetLookFeel. More... | |
void | clearPropertyDefinitions () |
Clear all defined property definitions from the WidgetLookFeel. More... | |
void | clearPropertyLinkDefinitions () |
Clear all defined property link definitions from the WidgetLookFeel. More... | |
void | addAnimationName (const String &anim_name) |
Add the name of an animation that is associated with the WidgetLookFeel. More... | |
void | addEventLinkDefinition (const EventLinkDefinition &evtdef) |
adds an event link definition to the WidgetLookFeel. | |
void | clearEventLinkDefinitions () |
clear all defined event link definitions from the WidgetLookFeel. | |
void | writeXMLToStream (XMLSerializer &xml_stream) const |
Writes an xml representation of this WidgetLookFeel to out_stream. More... | |
const PropertyInitialiser * | findPropertyInitialiser (const String &propertyName) const |
Takes the name of a property and returns a pointer to the last PropertyInitialiser for this property or 0 if the is no PropertyInitialiser for this property in the WidgetLookFeel. More... | |
const WidgetComponent * | findWidgetComponent (const String &name) const |
Takes the name for a WidgetComponent and returns a pointer to it if it exists or a null pointer if it doesn't. More... | |
WidgetComponent * | retrieveWidgetComponentFromList (const String &name, bool includeInheritedElements=false) |
Takes the name for a WidgetComponent and returns a pointer to it if it exists or null pointer if it doesn't. More... | |
PropertyInitialiser * | retrievePropertyInitialiserFromList (const String &name, bool includeInheritedElements=false) |
Takes the name for a Property (PropertyInitialiser) and returns a pointer to it if it exists or 0 if it doesn't. More... | |
PropertyDefinitionBase * | retrievePropertyDefinitionFromList (const String &name, bool includeInheritedElements=false) |
Takes the name for a PropertyDefinition and returns a pointer to it if it exists or 0 if it doesn't. More... | |
PropertyDefinitionBase * | retrievePropertyLinkDefinitionFromList (const String &name, bool includeInheritedElements=false) |
Takes the name for a PropertyLinkDefinition and returns a pointer to it if it exists or 0 if it doesn't. More... | |
EventLinkDefinition * | retrieveEventLinkDefinitionFromList (const String &name, bool includeInheritedElements=false) |
Takes the name for a EventLinkDefinition and returns a pointer to it if it exists or 0 if it doesn't. More... | |
const PropertyDefinitionList & | getPropertyDefinitions () const |
const PropertyLinkDefinitionList & | getPropertyLinkDefinitions () const |
const PropertyList & | getProperties () const |
bool | handleFontRenderSizeChange (Window &window, const Font *font) const |
perform any processing required due to the given font having changed. | |
StateImageryPointerMap | getStateImageryMap (bool includeInheritedElements=false) |
Returns a map of names to pointers for all StateImagery elements this WidgetLookFeel owns. If the list of StateImageries of this or an inherited WidgetLookFeel is modified in any way (by clearing it, adding or removing elements), then the pointers in this map are not valid anymore. The function should then be called again to retrieve valid pointers. More... | |
ImagerySectionPointerMap | getImagerySectionMap (bool includeInheritedElements=false) |
Returns a map of names to pointers for all ImagerySection elements this WidgetLookFeel owns. If the list of ImagerySections of this or an inherited WidgetLookFeel is modified in any way (by clearing it, adding or removing elements), then the pointers in this map are not valid anymore. The function should then be called again to retrieve valid pointers. More... | |
NamedAreaPointerMap | getNamedAreaMap (bool includeInheritedElements=false) |
Returns a map of names to pointers for all NamedArea elements this WidgetLookFeel owns. If the list of NamedAreas of this or an inherited WidgetLookFeel is modified in any way (by clearing it, adding or removing elements), then the pointers in this map are not valid anymore. The function should then be called again to retrieve valid pointers. More... | |
WidgetComponentPointerMap | getWidgetComponentMap (bool includeInheritedElements=false) |
Returns a map of names to pointers for all WidgetComponent elements this WidgetLookFeel owns. If the list of WidgetComponents of this or an inherited WidgetLookFeel is modified in any way (by clearing it, adding or removing elements), then the pointers in this map are not valid anymore. The function should then be called again to retrieve valid pointers. More... | |
PropertyInitialiserPointerMap | getPropertyInitialiserMap (bool includeInheritedElements=false) |
Returns a map of names to pointers for all PropertyInitialiser elements this WidgetLookFeel owns. If the list of PropertyInitialisers of this or an inherited WidgetLookFeel is modified in any way (by clearing it, adding or removing elements), then the pointers in this map are not valid anymore. The function should then be called again to retrieve valid pointers. More... | |
PropertyDefinitionBasePointerMap | getPropertyDefinitionMap (bool includeInheritedElements=false) |
Returns a map of names to pointers for all PropertyDefinition elements this WidgetLookFeel owns. If the list of PropertyDefinitions of this or an inherited WidgetLookFeel is modified in any way (by clearing it, adding or removing elements), then the pointers in this map are not valid anymore. The function should then be called again to retrieve valid pointers. More... | |
PropertyDefinitionBasePointerMap | getPropertyLinkDefinitionMap (bool includeInheritedElements=false) |
Returns a map of names to pointers for all PropertyLinkDefinition elements this WidgetLookFeel owns. If the list of PropertyLinkDefinitions of this or an inherited WidgetLookFeel is modified in any way (by clearing it, adding or removing elements), then the pointers in this map are not valid anymore. The function should then be called again to retrieve valid pointers. More... | |
EventLinkDefinitionPointerMap | getEventLinkDefinitionMap (bool includeInheritedElements=false) |
Returns a map of names to pointers for all EventLinkDefinition elements this WidgetLookFeel owns. If the list of EventLinkDefinitions of this or an inherited WidgetLookFeel is modified in any way (by clearing it, adding or removing elements), then the pointers in this map are not valid anymore. The function should then be called again to retrieve valid pointers. More... | |
const CEGUI::String & | getInheritedWidgetLookName () const |
Returns a String containing the name of the inherited WidgetLookFeel. More... | |
StringSet | getStateImageryNames (bool inherits=false) const |
StringSet | getStateNames (bool inherits=false) const |
StringSet | getImagerySectionNames (bool inherits=false) const |
StringSet | getImageryNames (bool inherits=false) const |
StringSet | getNamedAreaNames (bool inherits=false) const |
StringSet | getWidgetComponentNames (bool inherits=false) const |
StringSet | getWidgetNames (bool inherits=false) const |
StringSet | getPropertyInitialiserNames (bool inherits=false) const |
StringSet | getPropertyDefinitionNames (bool inherits=false) const |
StringSet | getPropertyLinkDefinitionNames (bool inherits=false) const |
StringSet | getEventLinkDefinitionNames (bool inherits=false) const |
StringSet | getAnimationNames (bool inherits=false) const |
StateIterator | getStateIterator (bool inherits=false) const |
Returns an iterator for the StateImageries of this WidgetLookFeel. More... | |
ImageryIterator | getImageryIterator (bool inherits=false) const |
Returns an iterator for the ImagerySections of this WidgetLookFeel. More... | |
NamedAreaIterator | getNamedAreaIterator (bool inherits=false) const |
Returns an iterator for the NamedAreas of this WidgetLookFeel. More... | |
WidgetComponentIterator | getWidgetComponentIterator (bool inherits=false) const |
Returns an iterator for the WidgetComponents of this WidgetLookFeel. More... | |
PropertyDefinitionIterator | getPropertyDefinitionIterator (bool inherits=false) const |
Returns an iterator for the PropertyDefinitions of this WidgetLookFeel. More... | |
PropertyLinkDefinitionIterator | getPropertyLinkDefinitionIterator (bool inherits=false) const |
Returns an iterator for the PropertyLinkDefinitions of this WidgetLookFeel. More... | |
PropertyInitialiserIterator | getPropertyInitialiserIterator (bool inherits=false) const |
Returns an iterator for the PropertyInitialisers of this WidgetLookFeel. More... | |
EventLinkDefinitionIterator | getEventLinkDefinitionIterator (bool inherits=false) const |
Returns an iterator for the EventLinkDefinitions of this WidgetLookFeel. More... | |
AnimationNameIterator | getAnimationNameIterator (bool inherits=false) const |
Returns an iterator for the AnimationNames of this WidgetLookFeel. More... | |
WidgetLookFeel (const String &name, const String &inherits) | |
WidgetLookFeel (const WidgetLookFeel &other) | |
WidgetLookFeel & | operator= (const WidgetLookFeel &other) |
const StateImagery & | getStateImagery (const CEGUI::String &state) const |
Return a const reference to the StateImagery object for the specified state. More... | |
const ImagerySection & | getImagerySection (const CEGUI::String §ion) const |
Return a const reference to the ImagerySection object with the specified name. More... | |
const String & | getName () const |
Return the name of the widget look. More... | |
void | addImagerySection (const ImagerySection §ion) |
Add an ImagerySection to the WidgetLookFeel. More... | |
void | renameImagerySection (const String &oldName, const String &newName) |
void | addWidgetComponent (const WidgetComponent &widget) |
Add a WidgetComponent to the WidgetLookFeel. More... | |
void | addStateSpecification (const StateImagery &state) |
Add a state specification (StateImagery object) to the WidgetLookFeel. More... | |
void | addPropertyInitialiser (const PropertyInitialiser &initialiser) |
Add a property initialiser to the WidgetLookFeel. More... | |
void | clearImagerySections () |
Clear all ImagerySections from the WidgetLookFeel. More... | |
void | clearWidgetComponents () |
Clear all WidgetComponents from the WidgetLookFeel. More... | |
void | clearStateSpecifications () |
Clear all StateImagery objects from the WidgetLookFeel. More... | |
void | clearPropertyInitialisers () |
Clear all PropertyInitialiser objects from the WidgetLookFeel. More... | |
void | initialiseWidget (Window &widget) const |
Initialise the given window using PropertyInitialsers and component widgets specified for this WidgetLookFeel. More... | |
void | cleanUpWidget (Window &widget) const |
Clean up the given window from all properties and component widgets created by this WidgetLookFeel. More... | |
bool | isStateImageryPresent (const String &state) const |
Return whether imagery is defined for the given state. More... | |
void | addNamedArea (const NamedArea &area) |
Adds a named area to the WidgetLookFeel. More... | |
void | clearNamedAreas () |
Clear all defined named areas from the WidgetLookFeel. More... | |
const NamedArea & | getNamedArea (const String &name) const |
Return the NamedArea with the specified name. More... | |
void | renameNamedArea (const String &oldName, const String &newName) |
bool | isNamedAreaDefined (const String &name) const |
return whether a NamedArea object with the specified name exists for this WidgetLookFeel. More... | |
void | layoutChildWidgets (const Window &owner) const |
Layout the child widgets defined for this WidgetLookFeel which are attached to the given window. More... | |
void | addPropertyDefinition (PropertyDefinitionBase *propdef) |
Adds a property definition to the WidgetLookFeel. More... | |
void | addPropertyLinkDefinition (PropertyDefinitionBase *propdef) |
Adds a property link definition to the WidgetLookFeel. More... | |
void | clearPropertyDefinitions () |
Clear all defined property definitions from the WidgetLookFeel. More... | |
void | clearPropertyLinkDefinitions () |
Clear all defined property link definitions from the WidgetLookFeel. More... | |
void | addAnimationName (const String &anim_name) |
Add the name of an animation that is associated with the WidgetLookFeel. More... | |
void | addEventLinkDefinition (const EventLinkDefinition &evtdef) |
adds an event link definition to the WidgetLookFeel. | |
void | clearEventLinkDefinitions () |
clear all defined event link definitions from the WidgetLookFeel. | |
void | writeXMLToStream (XMLSerializer &xml_stream) const |
Writes an xml representation of this WidgetLookFeel to out_stream. More... | |
const PropertyInitialiser * | findPropertyInitialiser (const String &propertyName) const |
Takes the name of a property and returns a pointer to the last PropertyInitialiser for this property or 0 if the is no PropertyInitialiser for this property in the WidgetLookFeel. More... | |
const WidgetComponent * | findWidgetComponent (const String &name) const |
Takes the name for a WidgetComponent and returns a pointer to it if it exists or a null pointer if it doesn't. More... | |
WidgetComponent * | retrieveWidgetComponentFromList (const String &name, bool includeInheritedElements=false) |
Takes the name for a WidgetComponent and returns a pointer to it if it exists or null pointer if it doesn't. More... | |
PropertyInitialiser * | retrievePropertyInitialiserFromList (const String &name, bool includeInheritedElements=false) |
Takes the name for a Property (PropertyInitialiser) and returns a pointer to it if it exists or 0 if it doesn't. More... | |
PropertyDefinitionBase * | retrievePropertyDefinitionFromList (const String &name, bool includeInheritedElements=false) |
Takes the name for a PropertyDefinition and returns a pointer to it if it exists or 0 if it doesn't. More... | |
PropertyDefinitionBase * | retrievePropertyLinkDefinitionFromList (const String &name, bool includeInheritedElements=false) |
Takes the name for a PropertyLinkDefinition and returns a pointer to it if it exists or 0 if it doesn't. More... | |
EventLinkDefinition * | retrieveEventLinkDefinitionFromList (const String &name, bool includeInheritedElements=false) |
Takes the name for a EventLinkDefinition and returns a pointer to it if it exists or 0 if it doesn't. More... | |
const PropertyDefinitionList & | getPropertyDefinitions () const |
const PropertyLinkDefinitionList & | getPropertyLinkDefinitions () const |
const PropertyList & | getProperties () const |
bool | handleFontRenderSizeChange (Window &window, const Font *font) const |
perform any processing required due to the given font having changed. | |
StateImageryPointerMap | getStateImageryMap (bool includeInheritedElements=false) |
Returns a map of names to pointers for all StateImagery elements this WidgetLookFeel owns. If the list of StateImageries of this or an inherited WidgetLookFeel is modified in any way (by clearing it, adding or removing elements), then the pointers in this map are not valid anymore. The function should then be called again to retrieve valid pointers. More... | |
ImagerySectionPointerMap | getImagerySectionMap (bool includeInheritedElements=false) |
Returns a map of names to pointers for all ImagerySection elements this WidgetLookFeel owns. If the list of ImagerySections of this or an inherited WidgetLookFeel is modified in any way (by clearing it, adding or removing elements), then the pointers in this map are not valid anymore. The function should then be called again to retrieve valid pointers. More... | |
NamedAreaPointerMap | getNamedAreaMap (bool includeInheritedElements=false) |
Returns a map of names to pointers for all NamedArea elements this WidgetLookFeel owns. If the list of NamedAreas of this or an inherited WidgetLookFeel is modified in any way (by clearing it, adding or removing elements), then the pointers in this map are not valid anymore. The function should then be called again to retrieve valid pointers. More... | |
WidgetComponentPointerMap | getWidgetComponentMap (bool includeInheritedElements=false) |
Returns a map of names to pointers for all WidgetComponent elements this WidgetLookFeel owns. If the list of WidgetComponents of this or an inherited WidgetLookFeel is modified in any way (by clearing it, adding or removing elements), then the pointers in this map are not valid anymore. The function should then be called again to retrieve valid pointers. More... | |
PropertyInitialiserPointerMap | getPropertyInitialiserMap (bool includeInheritedElements=false) |
Returns a map of names to pointers for all PropertyInitialiser elements this WidgetLookFeel owns. If the list of PropertyInitialisers of this or an inherited WidgetLookFeel is modified in any way (by clearing it, adding or removing elements), then the pointers in this map are not valid anymore. The function should then be called again to retrieve valid pointers. More... | |
PropertyDefinitionBasePointerMap | getPropertyDefinitionMap (bool includeInheritedElements=false) |
Returns a map of names to pointers for all PropertyDefinition elements this WidgetLookFeel owns. If the list of PropertyDefinitions of this or an inherited WidgetLookFeel is modified in any way (by clearing it, adding or removing elements), then the pointers in this map are not valid anymore. The function should then be called again to retrieve valid pointers. More... | |
PropertyDefinitionBasePointerMap | getPropertyLinkDefinitionMap (bool includeInheritedElements=false) |
Returns a map of names to pointers for all PropertyLinkDefinition elements this WidgetLookFeel owns. If the list of PropertyLinkDefinitions of this or an inherited WidgetLookFeel is modified in any way (by clearing it, adding or removing elements), then the pointers in this map are not valid anymore. The function should then be called again to retrieve valid pointers. More... | |
EventLinkDefinitionPointerMap | getEventLinkDefinitionMap (bool includeInheritedElements=false) |
Returns a map of names to pointers for all EventLinkDefinition elements this WidgetLookFeel owns. If the list of EventLinkDefinitions of this or an inherited WidgetLookFeel is modified in any way (by clearing it, adding or removing elements), then the pointers in this map are not valid anymore. The function should then be called again to retrieve valid pointers. More... | |
const CEGUI::String & | getInheritedWidgetLookName () const |
Returns a String containing the name of the inherited WidgetLookFeel. More... | |
StringSet | getStateImageryNames (bool inherits=false) const |
StringSet | getStateNames (bool inherits=false) const |
StringSet | getImagerySectionNames (bool inherits=false) const |
StringSet | getImageryNames (bool inherits=false) const |
StringSet | getNamedAreaNames (bool inherits=false) const |
StringSet | getWidgetComponentNames (bool inherits=false) const |
StringSet | getWidgetNames (bool inherits=false) const |
StringSet | getPropertyInitialiserNames (bool inherits=false) const |
StringSet | getPropertyDefinitionNames (bool inherits=false) const |
StringSet | getPropertyLinkDefinitionNames (bool inherits=false) const |
StringSet | getEventLinkDefinitionNames (bool inherits=false) const |
StringSet | getAnimationNames (bool inherits=false) const |
StateIterator | getStateIterator (bool inherits=false) const |
Returns an iterator for the StateImageries of this WidgetLookFeel. More... | |
ImageryIterator | getImageryIterator (bool inherits=false) const |
Returns an iterator for the ImagerySections of this WidgetLookFeel. More... | |
NamedAreaIterator | getNamedAreaIterator (bool inherits=false) const |
Returns an iterator for the NamedAreas of this WidgetLookFeel. More... | |
WidgetComponentIterator | getWidgetComponentIterator (bool inherits=false) const |
Returns an iterator for the WidgetComponents of this WidgetLookFeel. More... | |
PropertyDefinitionIterator | getPropertyDefinitionIterator (bool inherits=false) const |
Returns an iterator for the PropertyDefinitions of this WidgetLookFeel. More... | |
PropertyLinkDefinitionIterator | getPropertyLinkDefinitionIterator (bool inherits=false) const |
Returns an iterator for the PropertyLinkDefinitions of this WidgetLookFeel. More... | |
PropertyInitialiserIterator | getPropertyInitialiserIterator (bool inherits=false) const |
Returns an iterator for the PropertyInitialisers of this WidgetLookFeel. More... | |
EventLinkDefinitionIterator | getEventLinkDefinitionIterator (bool inherits=false) const |
Returns an iterator for the EventLinkDefinitions of this WidgetLookFeel. More... | |
AnimationNameIterator | getAnimationNameIterator (bool inherits=false) const |
Returns an iterator for the AnimationNames of this WidgetLookFeel. More... | |
Class that encapsulates Look N' Feel information for a widget.
typedef ConstVectorIterator<AnimationNameSet> CEGUI::WidgetLookFeel::AnimationNameIterator |
typedef ConstVectorIterator<AnimationNameSet> CEGUI::WidgetLookFeel::AnimationNameIterator |
typedef ConstVectorIterator<EventLinkDefinitionCollator> CEGUI::WidgetLookFeel::EventLinkDefinitionIterator |
typedef ConstVectorIterator<EventLinkDefinitionCollator> CEGUI::WidgetLookFeel::EventLinkDefinitionIterator |
typedef ConstMapIterator<ImageryList> CEGUI::WidgetLookFeel::ImageryIterator |
typedef ConstMapIterator<ImageryList> CEGUI::WidgetLookFeel::ImageryIterator |
typedef ConstMapIterator<NamedAreaList> CEGUI::WidgetLookFeel::NamedAreaIterator |
typedef ConstMapIterator<NamedAreaList> CEGUI::WidgetLookFeel::NamedAreaIterator |
typedef ConstVectorIterator<PropertyDefinitionCollator> CEGUI::WidgetLookFeel::PropertyDefinitionIterator |
typedef ConstVectorIterator<PropertyDefinitionCollator> CEGUI::WidgetLookFeel::PropertyDefinitionIterator |
typedef std::vector<PropertyDefinitionBase* CEGUI_VECTOR_ALLOC(PropertyDefinitionBase*)> CEGUI::WidgetLookFeel::PropertyDefinitionList |
typedef std::vector<PropertyDefinitionBase* CEGUI_VECTOR_ALLOC(PropertyDefinitionBase*)> CEGUI::WidgetLookFeel::PropertyDefinitionList |
typedef ConstVectorIterator<PropertyInitialiserCollator> CEGUI::WidgetLookFeel::PropertyInitialiserIterator |
typedef ConstVectorIterator<PropertyInitialiserCollator> CEGUI::WidgetLookFeel::PropertyInitialiserIterator |
typedef std::map<String, PropertyInitialiser*, StringFastLessCompare CEGUI_MAP_ALLOC(String, PropertyInitialiser*)> CEGUI::WidgetLookFeel::PropertyInitialiserPointerMap |
Map of Strings to PropertyInitialiser pointers.
Typedefs for maps of property related elements this WidgetLookFeel owns.
typedef std::map<String, PropertyInitialiser*, StringFastLessCompare CEGUI_MAP_ALLOC(String, PropertyInitialiser*)> CEGUI::WidgetLookFeel::PropertyInitialiserPointerMap |
Map of Strings to PropertyInitialiser pointers.
Typedefs for maps of property related elements this WidgetLookFeel owns.
typedef ConstVectorIterator<PropertyLinkDefinitionCollator> CEGUI::WidgetLookFeel::PropertyLinkDefinitionIterator |
typedef ConstVectorIterator<PropertyLinkDefinitionCollator> CEGUI::WidgetLookFeel::PropertyLinkDefinitionIterator |
typedef std::vector<PropertyDefinitionBase* CEGUI_VECTOR_ALLOC(PropertyDefinitionBase*)> CEGUI::WidgetLookFeel::PropertyLinkDefinitionList |
typedef std::vector<PropertyDefinitionBase* CEGUI_VECTOR_ALLOC(PropertyDefinitionBase*)> CEGUI::WidgetLookFeel::PropertyLinkDefinitionList |
typedef std::vector<PropertyInitialiser CEGUI_VECTOR_ALLOC(PropertyInitialiser)> CEGUI::WidgetLookFeel::PropertyList |
Typedefs for property related lists.
typedef std::vector<PropertyInitialiser CEGUI_VECTOR_ALLOC(PropertyInitialiser)> CEGUI::WidgetLookFeel::PropertyList |
Typedefs for property related lists.
typedef std::map<String, StateImagery*, StringFastLessCompare CEGUI_MAP_ALLOC(String, StateImagery*)> CEGUI::WidgetLookFeel::StateImageryPointerMap |
Map of Strings to StateImagery pointers.
Typedefs for maps of Falagard elements this WidgetLookFeel owns.
typedef std::map<String, StateImagery*, StringFastLessCompare CEGUI_MAP_ALLOC(String, StateImagery*)> CEGUI::WidgetLookFeel::StateImageryPointerMap |
Map of Strings to StateImagery pointers.
Typedefs for maps of Falagard elements this WidgetLookFeel owns.
typedef ConstMapIterator<StateList> CEGUI::WidgetLookFeel::StateIterator |
typedef ConstMapIterator<StateList> CEGUI::WidgetLookFeel::StateIterator |
void CEGUI::WidgetLookFeel::addAnimationName | ( | const String & | anim_name | ) |
Add the name of an animation that is associated with the WidgetLookFeel.
anim_name | Reference to a String object that contains the name of the animation to be associated with this WidgetLookFeel. |
Referenced by CEGUI::Falagard_xmlHandler::elementEndLocal().
void CEGUI::WidgetLookFeel::addAnimationName | ( | const String & | anim_name | ) |
Add the name of an animation that is associated with the WidgetLookFeel.
anim_name | Reference to a String object that contains the name of the animation to be associated with this WidgetLookFeel. |
void CEGUI::WidgetLookFeel::addImagerySection | ( | const ImagerySection & | section | ) |
Add an ImagerySection to the WidgetLookFeel.
section | ImagerySection object to be added. |
void CEGUI::WidgetLookFeel::addImagerySection | ( | const ImagerySection & | section | ) |
Add an ImagerySection to the WidgetLookFeel.
section | ImagerySection object to be added. |
References CEGUI::ImagerySection::getName().
Referenced by CEGUI::Falagard_xmlHandler::elementEndLocal().
void CEGUI::WidgetLookFeel::addNamedArea | ( | const NamedArea & | area | ) |
Adds a named area to the WidgetLookFeel.
area | NamedArea to be added. |
References CEGUI::NamedArea::getName().
Referenced by CEGUI::Falagard_xmlHandler::elementEndLocal().
void CEGUI::WidgetLookFeel::addNamedArea | ( | const NamedArea & | area | ) |
void CEGUI::WidgetLookFeel::addPropertyDefinition | ( | PropertyDefinitionBase * | propdef | ) |
Adds a property definition to the WidgetLookFeel.
propdef | PropertyDefinition object to be added. |
Referenced by CEGUI::Falagard_xmlHandler::elementEndLocal().
void CEGUI::WidgetLookFeel::addPropertyDefinition | ( | PropertyDefinitionBase * | propdef | ) |
Adds a property definition to the WidgetLookFeel.
propdef | PropertyDefinition object to be added. |
void CEGUI::WidgetLookFeel::addPropertyInitialiser | ( | const PropertyInitialiser & | initialiser | ) |
Add a property initialiser to the WidgetLookFeel.
initialiser | PropertyInitialiser object to be added. |
Referenced by CEGUI::Falagard_xmlHandler::elementEndLocal().
void CEGUI::WidgetLookFeel::addPropertyInitialiser | ( | const PropertyInitialiser & | initialiser | ) |
Add a property initialiser to the WidgetLookFeel.
initialiser | PropertyInitialiser object to be added. |
void CEGUI::WidgetLookFeel::addPropertyLinkDefinition | ( | PropertyDefinitionBase * | propdef | ) |
Adds a property link definition to the WidgetLookFeel.
propdef | PropertyLinkDefinition object to be added. |
void CEGUI::WidgetLookFeel::addPropertyLinkDefinition | ( | PropertyDefinitionBase * | propdef | ) |
Adds a property link definition to the WidgetLookFeel.
propdef | PropertyLinkDefinition object to be added. |
Referenced by CEGUI::Falagard_xmlHandler::elementEndLocal().
void CEGUI::WidgetLookFeel::addStateSpecification | ( | const StateImagery & | state | ) |
Add a state specification (StateImagery object) to the WidgetLookFeel.
section | StateImagery object to be added. |
References CEGUI::StateImagery::getName().
Referenced by CEGUI::Falagard_xmlHandler::elementEndLocal().
void CEGUI::WidgetLookFeel::addStateSpecification | ( | const StateImagery & | state | ) |
Add a state specification (StateImagery object) to the WidgetLookFeel.
section | StateImagery object to be added. |
void CEGUI::WidgetLookFeel::addWidgetComponent | ( | const WidgetComponent & | widget | ) |
Add a WidgetComponent to the WidgetLookFeel.
widget | WidgetComponent object to be added. |
void CEGUI::WidgetLookFeel::addWidgetComponent | ( | const WidgetComponent & | widget | ) |
Add a WidgetComponent to the WidgetLookFeel.
widget | WidgetComponent object to be added. |
Referenced by CEGUI::Falagard_xmlHandler::elementEndLocal().
void CEGUI::WidgetLookFeel::cleanUpWidget | ( | Window & | widget | ) | const |
Clean up the given window from all properties and component widgets created by this WidgetLookFeel.
widget | Window based object to be cleaned up. |
void CEGUI::WidgetLookFeel::cleanUpWidget | ( | Window & | widget | ) | const |
Clean up the given window from all properties and component widgets created by this WidgetLookFeel.
widget | Window based object to be cleaned up. |
References CEGUI::Window::getLookNFeel(), CEGUI::NamedElement::getNamePath(), and CEGUI::PropertySet::removeProperty().
Referenced by CEGUI::Window::setLookNFeel().
void CEGUI::WidgetLookFeel::clearImagerySections | ( | ) |
Clear all ImagerySections from the WidgetLookFeel.
void CEGUI::WidgetLookFeel::clearImagerySections | ( | ) |
Clear all ImagerySections from the WidgetLookFeel.
void CEGUI::WidgetLookFeel::clearNamedAreas | ( | ) |
Clear all defined named areas from the WidgetLookFeel.
void CEGUI::WidgetLookFeel::clearNamedAreas | ( | ) |
Clear all defined named areas from the WidgetLookFeel.
void CEGUI::WidgetLookFeel::clearPropertyDefinitions | ( | ) |
Clear all defined property definitions from the WidgetLookFeel.
void CEGUI::WidgetLookFeel::clearPropertyDefinitions | ( | ) |
Clear all defined property definitions from the WidgetLookFeel.
void CEGUI::WidgetLookFeel::clearPropertyInitialisers | ( | ) |
Clear all PropertyInitialiser objects from the WidgetLookFeel.
void CEGUI::WidgetLookFeel::clearPropertyInitialisers | ( | ) |
Clear all PropertyInitialiser objects from the WidgetLookFeel.
void CEGUI::WidgetLookFeel::clearPropertyLinkDefinitions | ( | ) |
Clear all defined property link definitions from the WidgetLookFeel.
void CEGUI::WidgetLookFeel::clearPropertyLinkDefinitions | ( | ) |
Clear all defined property link definitions from the WidgetLookFeel.
void CEGUI::WidgetLookFeel::clearStateSpecifications | ( | ) |
Clear all StateImagery objects from the WidgetLookFeel.
void CEGUI::WidgetLookFeel::clearStateSpecifications | ( | ) |
Clear all StateImagery objects from the WidgetLookFeel.
void CEGUI::WidgetLookFeel::clearWidgetComponents | ( | ) |
Clear all WidgetComponents from the WidgetLookFeel.
void CEGUI::WidgetLookFeel::clearWidgetComponents | ( | ) |
Clear all WidgetComponents from the WidgetLookFeel.
const PropertyInitialiser* CEGUI::WidgetLookFeel::findPropertyInitialiser | ( | const String & | propertyName | ) | const |
Takes the name of a property and returns a pointer to the last PropertyInitialiser for this property or 0 if the is no PropertyInitialiser for this property in the WidgetLookFeel.
propertyName | The name of the property to look for. |
const PropertyInitialiser * CEGUI::WidgetLookFeel::findPropertyInitialiser | ( | const String & | propertyName | ) | const |
Takes the name of a property and returns a pointer to the last PropertyInitialiser for this property or 0 if the is no PropertyInitialiser for this property in the WidgetLookFeel.
propertyName | The name of the property to look for. |
Referenced by CEGUI::Window::isPropertyAtDefault().
const WidgetComponent * CEGUI::WidgetLookFeel::findWidgetComponent | ( | const String & | name | ) | const |
Takes the name for a WidgetComponent and returns a pointer to it if it exists or a null pointer if it doesn't.
name | The name of the Child component to look for. |
Referenced by CEGUI::Window::isPropertyAtDefault().
const WidgetComponent* CEGUI::WidgetLookFeel::findWidgetComponent | ( | const String & | name | ) | const |
Takes the name for a WidgetComponent and returns a pointer to it if it exists or a null pointer if it doesn't.
name | The name of the Child component to look for. |
WidgetLookFeel::AnimationNameIterator CEGUI::WidgetLookFeel::getAnimationNameIterator | ( | bool | inherits = false | ) | const |
Returns an iterator for the AnimationNames of this WidgetLookFeel.
AnimationNameIterator CEGUI::WidgetLookFeel::getAnimationNameIterator | ( | bool | inherits = false | ) | const |
Returns an iterator for the AnimationNames of this WidgetLookFeel.
EventLinkDefinitionIterator CEGUI::WidgetLookFeel::getEventLinkDefinitionIterator | ( | bool | inherits = false | ) | const |
Returns an iterator for the EventLinkDefinitions of this WidgetLookFeel.
WidgetLookFeel::EventLinkDefinitionIterator CEGUI::WidgetLookFeel::getEventLinkDefinitionIterator | ( | bool | inherits = false | ) | const |
Returns an iterator for the EventLinkDefinitions of this WidgetLookFeel.
WidgetLookFeel::EventLinkDefinitionPointerMap CEGUI::WidgetLookFeel::getEventLinkDefinitionMap | ( | bool | includeInheritedElements = false | ) |
Returns a map of names to pointers for all EventLinkDefinition elements this WidgetLookFeel owns. If the list of EventLinkDefinitions of this or an inherited WidgetLookFeel is modified in any way (by clearing it, adding or removing elements), then the pointers in this map are not valid anymore. The function should then be called again to retrieve valid pointers.
includeInheritedElements | If set to true, this function will try to also include elements from the inherited WidgetLookFeel. |
EventLinkDefinitionPointerMap CEGUI::WidgetLookFeel::getEventLinkDefinitionMap | ( | bool | includeInheritedElements = false | ) |
Returns a map of names to pointers for all EventLinkDefinition elements this WidgetLookFeel owns. If the list of EventLinkDefinitions of this or an inherited WidgetLookFeel is modified in any way (by clearing it, adding or removing elements), then the pointers in this map are not valid anymore. The function should then be called again to retrieve valid pointers.
includeInheritedElements | If set to true, this function will try to also include elements from the inherited WidgetLookFeel. |
WidgetLookFeel::ImageryIterator CEGUI::WidgetLookFeel::getImageryIterator | ( | bool | inherits = false | ) | const |
Returns an iterator for the ImagerySections of this WidgetLookFeel.
ImageryIterator CEGUI::WidgetLookFeel::getImageryIterator | ( | bool | inherits = false | ) | const |
Returns an iterator for the ImagerySections of this WidgetLookFeel.
WidgetLookFeel::StringSet CEGUI::WidgetLookFeel::getImageryNames | ( | bool | inherits = false | ) | const |
StringSet CEGUI::WidgetLookFeel::getImageryNames | ( | bool | inherits = false | ) | const |
const ImagerySection & CEGUI::WidgetLookFeel::getImagerySection | ( | const CEGUI::String & | section | ) | const |
Return a const reference to the ImagerySection object with the specified name.
Referenced by CEGUI::FalagardMultiLineEditbox::cacheCaretImagery(), CEGUI::Tree::initialise(), CEGUI::SectionSpecification::render(), and CEGUI::FalagardEditbox::render().
const ImagerySection& CEGUI::WidgetLookFeel::getImagerySection | ( | const CEGUI::String & | section | ) | const |
Return a const reference to the ImagerySection object with the specified name.
WidgetLookFeel::ImagerySectionPointerMap CEGUI::WidgetLookFeel::getImagerySectionMap | ( | bool | includeInheritedElements = false | ) |
Returns a map of names to pointers for all ImagerySection elements this WidgetLookFeel owns. If the list of ImagerySections of this or an inherited WidgetLookFeel is modified in any way (by clearing it, adding or removing elements), then the pointers in this map are not valid anymore. The function should then be called again to retrieve valid pointers.
includeInheritedElements | If set to true, this function will try to also include elements from the inherited WidgetLookFeel. |
References CEGUI::String::find().
ImagerySectionPointerMap CEGUI::WidgetLookFeel::getImagerySectionMap | ( | bool | includeInheritedElements = false | ) |
Returns a map of names to pointers for all ImagerySection elements this WidgetLookFeel owns. If the list of ImagerySections of this or an inherited WidgetLookFeel is modified in any way (by clearing it, adding or removing elements), then the pointers in this map are not valid anymore. The function should then be called again to retrieve valid pointers.
includeInheritedElements | If set to true, this function will try to also include elements from the inherited WidgetLookFeel. |
const CEGUI::String& CEGUI::WidgetLookFeel::getInheritedWidgetLookName | ( | ) | const |
Returns a String containing the name of the inherited WidgetLookFeel.
const CEGUI::String & CEGUI::WidgetLookFeel::getInheritedWidgetLookName | ( | ) | const |
Returns a String containing the name of the inherited WidgetLookFeel.
const String& CEGUI::WidgetLookFeel::getName | ( | ) | const |
Return the name of the widget look.
const String & CEGUI::WidgetLookFeel::getName | ( | void | ) | const |
Return the name of the widget look.
Referenced by CEGUI::WidgetLookManager::addWidgetLook(), CEGUI::Falagard_xmlHandler::elementEndLocal(), and CEGUI::getStartTextForException().
Return the NamedArea with the specified name.
Referenced by CEGUI::FalagardItemEntry::getItemPixelSize(), CEGUI::FalagardMenuItem::getItemPixelSize(), CEGUI::FalagardMenubar::getItemRenderArea(), CEGUI::FalagardPopupMenu::getItemRenderArea(), CEGUI::FalagardItemListbox::getItemRenderArea(), CEGUI::FalagardMultiColumnList::getListRenderArea(), CEGUI::FalagardListbox::getListRenderArea(), CEGUI::ComponentArea::getPixelRect(), CEGUI::FalagardMultiLineEditbox::getTextRenderArea(), CEGUI::FalagardFrameWindow::getUnclippedInnerRect(), CEGUI::WindowRenderer::getUnclippedInnerRect(), CEGUI::FalagardScrollbar::getValueFromThumb(), CEGUI::FalagardSlider::getValueFromThumb(), CEGUI::FalagardScrollablePane::getViewableArea(), CEGUI::FalagardStaticText::handleFontRenderSizeChange(), CEGUI::ComponentArea::handleFontRenderSizeChange(), CEGUI::FalagardProgressBar::render(), CEGUI::FalagardEditbox::render(), CEGUI::FalagardScrollbar::updateThumb(), CEGUI::FalagardSlider::updateThumb(), and CEGUI::FalagardTree::~FalagardTree().
WidgetLookFeel::NamedAreaIterator CEGUI::WidgetLookFeel::getNamedAreaIterator | ( | bool | inherits = false | ) | const |
Returns an iterator for the NamedAreas of this WidgetLookFeel.
NamedAreaIterator CEGUI::WidgetLookFeel::getNamedAreaIterator | ( | bool | inherits = false | ) | const |
Returns an iterator for the NamedAreas of this WidgetLookFeel.
WidgetLookFeel::NamedAreaPointerMap CEGUI::WidgetLookFeel::getNamedAreaMap | ( | bool | includeInheritedElements = false | ) |
Returns a map of names to pointers for all NamedArea elements this WidgetLookFeel owns. If the list of NamedAreas of this or an inherited WidgetLookFeel is modified in any way (by clearing it, adding or removing elements), then the pointers in this map are not valid anymore. The function should then be called again to retrieve valid pointers.
includeInheritedElements | If set to true, this function will try to also include elements from the inherited WidgetLookFeel. |
References CEGUI::String::find().
NamedAreaPointerMap CEGUI::WidgetLookFeel::getNamedAreaMap | ( | bool | includeInheritedElements = false | ) |
Returns a map of names to pointers for all NamedArea elements this WidgetLookFeel owns. If the list of NamedAreas of this or an inherited WidgetLookFeel is modified in any way (by clearing it, adding or removing elements), then the pointers in this map are not valid anymore. The function should then be called again to retrieve valid pointers.
includeInheritedElements | If set to true, this function will try to also include elements from the inherited WidgetLookFeel. |
|
inline |
Obtains list of properties. public
References CEGUI::swap().
|
inline |
Obtains list of properties. public
References CEGUI::swap().
WidgetLookFeel::PropertyDefinitionIterator CEGUI::WidgetLookFeel::getPropertyDefinitionIterator | ( | bool | inherits = false | ) | const |
Returns an iterator for the PropertyDefinitions of this WidgetLookFeel.
PropertyDefinitionIterator CEGUI::WidgetLookFeel::getPropertyDefinitionIterator | ( | bool | inherits = false | ) | const |
Returns an iterator for the PropertyDefinitions of this WidgetLookFeel.
WidgetLookFeel::PropertyDefinitionBasePointerMap CEGUI::WidgetLookFeel::getPropertyDefinitionMap | ( | bool | includeInheritedElements = false | ) |
Returns a map of names to pointers for all PropertyDefinition elements this WidgetLookFeel owns. If the list of PropertyDefinitions of this or an inherited WidgetLookFeel is modified in any way (by clearing it, adding or removing elements), then the pointers in this map are not valid anymore. The function should then be called again to retrieve valid pointers.
includeInheritedElements | If set to true, this function will try to also include elements from the inherited WidgetLookFeel. |
PropertyDefinitionBasePointerMap CEGUI::WidgetLookFeel::getPropertyDefinitionMap | ( | bool | includeInheritedElements = false | ) |
Returns a map of names to pointers for all PropertyDefinition elements this WidgetLookFeel owns. If the list of PropertyDefinitions of this or an inherited WidgetLookFeel is modified in any way (by clearing it, adding or removing elements), then the pointers in this map are not valid anymore. The function should then be called again to retrieve valid pointers.
includeInheritedElements | If set to true, this function will try to also include elements from the inherited WidgetLookFeel. |
|
inline |
Obtains list of properties definitions. public
|
inline |
Obtains list of properties definitions. public
WidgetLookFeel::PropertyInitialiserIterator CEGUI::WidgetLookFeel::getPropertyInitialiserIterator | ( | bool | inherits = false | ) | const |
Returns an iterator for the PropertyInitialisers of this WidgetLookFeel.
PropertyInitialiserIterator CEGUI::WidgetLookFeel::getPropertyInitialiserIterator | ( | bool | inherits = false | ) | const |
Returns an iterator for the PropertyInitialisers of this WidgetLookFeel.
WidgetLookFeel::PropertyInitialiserPointerMap CEGUI::WidgetLookFeel::getPropertyInitialiserMap | ( | bool | includeInheritedElements = false | ) |
Returns a map of names to pointers for all PropertyInitialiser elements this WidgetLookFeel owns. If the list of PropertyInitialisers of this or an inherited WidgetLookFeel is modified in any way (by clearing it, adding or removing elements), then the pointers in this map are not valid anymore. The function should then be called again to retrieve valid pointers.
includeInheritedElements | If set to true, this function will try to also include elements from the inherited WidgetLookFeel. |
PropertyInitialiserPointerMap CEGUI::WidgetLookFeel::getPropertyInitialiserMap | ( | bool | includeInheritedElements = false | ) |
Returns a map of names to pointers for all PropertyInitialiser elements this WidgetLookFeel owns. If the list of PropertyInitialisers of this or an inherited WidgetLookFeel is modified in any way (by clearing it, adding or removing elements), then the pointers in this map are not valid anymore. The function should then be called again to retrieve valid pointers.
includeInheritedElements | If set to true, this function will try to also include elements from the inherited WidgetLookFeel. |
WidgetLookFeel::PropertyLinkDefinitionIterator CEGUI::WidgetLookFeel::getPropertyLinkDefinitionIterator | ( | bool | inherits = false | ) | const |
Returns an iterator for the PropertyLinkDefinitions of this WidgetLookFeel.
PropertyLinkDefinitionIterator CEGUI::WidgetLookFeel::getPropertyLinkDefinitionIterator | ( | bool | inherits = false | ) | const |
Returns an iterator for the PropertyLinkDefinitions of this WidgetLookFeel.
WidgetLookFeel::PropertyDefinitionBasePointerMap CEGUI::WidgetLookFeel::getPropertyLinkDefinitionMap | ( | bool | includeInheritedElements = false | ) |
Returns a map of names to pointers for all PropertyLinkDefinition elements this WidgetLookFeel owns. If the list of PropertyLinkDefinitions of this or an inherited WidgetLookFeel is modified in any way (by clearing it, adding or removing elements), then the pointers in this map are not valid anymore. The function should then be called again to retrieve valid pointers.
includeInheritedElements | If set to true, this function will try to also include elements from the inherited WidgetLookFeel. |
PropertyDefinitionBasePointerMap CEGUI::WidgetLookFeel::getPropertyLinkDefinitionMap | ( | bool | includeInheritedElements = false | ) |
Returns a map of names to pointers for all PropertyLinkDefinition elements this WidgetLookFeel owns. If the list of PropertyLinkDefinitions of this or an inherited WidgetLookFeel is modified in any way (by clearing it, adding or removing elements), then the pointers in this map are not valid anymore. The function should then be called again to retrieve valid pointers.
includeInheritedElements | If set to true, this function will try to also include elements from the inherited WidgetLookFeel. |
|
inline |
Obtains list of properties link definitions. public
Referenced by CEGUI::Window::isPropertyAtDefault().
|
inline |
Obtains list of properties link definitions. public
const StateImagery& CEGUI::WidgetLookFeel::getStateImagery | ( | const CEGUI::String & | state | ) | const |
Return a const reference to the StateImagery object for the specified state.
const StateImagery & CEGUI::WidgetLookFeel::getStateImagery | ( | const CEGUI::String & | state | ) | const |
Return a const reference to the StateImagery object for the specified state.
Referenced by CEGUI::FalagardMultiLineEditbox::cacheEditboxBaseImagery(), CEGUI::FalagardMultiColumnList::cacheListboxBaseImagery(), CEGUI::FalagardListbox::cacheListboxBaseImagery(), CEGUI::InventoryItemRenderer::render(), CEGUI::FalagardDefault::render(), CEGUI::FalagardTitlebar::render(), CEGUI::FalagardTabButton::render(), CEGUI::FalagardButton::render(), CEGUI::FalagardPopupMenu::render(), CEGUI::FalagardMenubar::render(), CEGUI::FalagardTooltip::render(), CEGUI::FalagardScrollablePane::render(), CEGUI::FalagardListHeaderSegment::render(), CEGUI::FalagardItemEntry::render(), CEGUI::FalagardItemListbox::render(), CEGUI::FalagardListHeader::render(), CEGUI::FalagardFrameWindow::render(), CEGUI::FalagardMenuItem::render(), CEGUI::FalagardTree::render(), CEGUI::FalagardScrollbar::render(), CEGUI::FalagardTabControl::render(), CEGUI::FalagardSlider::render(), CEGUI::FalagardProgressBar::render(), CEGUI::FalagardStaticImage::render(), CEGUI::FalagardStatic::render(), CEGUI::FalagardEditbox::renderBaseImagery(), and CEGUI::FalagardEditbox::setupVisualString().
WidgetLookFeel::StateImageryPointerMap CEGUI::WidgetLookFeel::getStateImageryMap | ( | bool | includeInheritedElements = false | ) |
Returns a map of names to pointers for all StateImagery elements this WidgetLookFeel owns. If the list of StateImageries of this or an inherited WidgetLookFeel is modified in any way (by clearing it, adding or removing elements), then the pointers in this map are not valid anymore. The function should then be called again to retrieve valid pointers.
includeInheritedElements | If set to true, this function will try to also include elements from the inherited WidgetLookFeel. |
References CEGUI::String::find().
StateImageryPointerMap CEGUI::WidgetLookFeel::getStateImageryMap | ( | bool | includeInheritedElements = false | ) |
Returns a map of names to pointers for all StateImagery elements this WidgetLookFeel owns. If the list of StateImageries of this or an inherited WidgetLookFeel is modified in any way (by clearing it, adding or removing elements), then the pointers in this map are not valid anymore. The function should then be called again to retrieve valid pointers.
includeInheritedElements | If set to true, this function will try to also include elements from the inherited WidgetLookFeel. |
WidgetLookFeel::StateIterator CEGUI::WidgetLookFeel::getStateIterator | ( | bool | inherits = false | ) | const |
Returns an iterator for the StateImageries of this WidgetLookFeel.
StateIterator CEGUI::WidgetLookFeel::getStateIterator | ( | bool | inherits = false | ) | const |
Returns an iterator for the StateImageries of this WidgetLookFeel.
StringSet CEGUI::WidgetLookFeel::getStateNames | ( | bool | inherits = false | ) | const |
WidgetLookFeel::StringSet CEGUI::WidgetLookFeel::getStateNames | ( | bool | inherits = false | ) | const |
WidgetLookFeel::WidgetComponentIterator CEGUI::WidgetLookFeel::getWidgetComponentIterator | ( | bool | inherits = false | ) | const |
Returns an iterator for the WidgetComponents of this WidgetLookFeel.
WidgetComponentIterator CEGUI::WidgetLookFeel::getWidgetComponentIterator | ( | bool | inherits = false | ) | const |
Returns an iterator for the WidgetComponents of this WidgetLookFeel.
WidgetComponentPointerMap CEGUI::WidgetLookFeel::getWidgetComponentMap | ( | bool | includeInheritedElements = false | ) |
Returns a map of names to pointers for all WidgetComponent elements this WidgetLookFeel owns. If the list of WidgetComponents of this or an inherited WidgetLookFeel is modified in any way (by clearing it, adding or removing elements), then the pointers in this map are not valid anymore. The function should then be called again to retrieve valid pointers.
includeInheritedElements | If set to true, this function will try to also include elements from the inherited WidgetLookFeel. |
WidgetLookFeel::WidgetComponentPointerMap CEGUI::WidgetLookFeel::getWidgetComponentMap | ( | bool | includeInheritedElements = false | ) |
Returns a map of names to pointers for all WidgetComponent elements this WidgetLookFeel owns. If the list of WidgetComponents of this or an inherited WidgetLookFeel is modified in any way (by clearing it, adding or removing elements), then the pointers in this map are not valid anymore. The function should then be called again to retrieve valid pointers.
includeInheritedElements | If set to true, this function will try to also include elements from the inherited WidgetLookFeel. |
StringSet CEGUI::WidgetLookFeel::getWidgetNames | ( | bool | inherits = false | ) | const |
WidgetLookFeel::StringSet CEGUI::WidgetLookFeel::getWidgetNames | ( | bool | inherits = false | ) | const |
void CEGUI::WidgetLookFeel::initialiseWidget | ( | Window & | widget | ) | const |
Initialise the given window using PropertyInitialsers and component widgets specified for this WidgetLookFeel.
widget | Window based object to be initialised. |
References CEGUI::PropertySet::addProperty(), and CEGUI::AnimationInstance::setTargetWindow().
Referenced by CEGUI::Window::setLookNFeel().
void CEGUI::WidgetLookFeel::initialiseWidget | ( | Window & | widget | ) | const |
Initialise the given window using PropertyInitialsers and component widgets specified for this WidgetLookFeel.
widget | Window based object to be initialised. |
bool CEGUI::WidgetLookFeel::isNamedAreaDefined | ( | const String & | name | ) | const |
return whether a NamedArea object with the specified name exists for this WidgetLookFeel.
bool CEGUI::WidgetLookFeel::isNamedAreaDefined | ( | const String & | name | ) | const |
return whether a NamedArea object with the specified name exists for this WidgetLookFeel.
Referenced by CEGUI::FalagardMenuItem::getItemPixelSize(), CEGUI::FalagardItemListbox::getItemRenderArea(), CEGUI::FalagardMultiColumnList::getListRenderArea(), CEGUI::FalagardListbox::getListRenderArea(), CEGUI::FalagardMultiLineEditbox::getTextRenderArea(), CEGUI::WindowRenderer::getUnclippedInnerRect(), CEGUI::FalagardScrollablePane::getViewableArea(), CEGUI::FalagardStaticText::handleFontRenderSizeChange(), and CEGUI::FalagardTree::~FalagardTree().
bool CEGUI::WidgetLookFeel::isStateImageryPresent | ( | const String & | state | ) | const |
Return whether imagery is defined for the given state.
state | String object containing name of state to look for. |
bool CEGUI::WidgetLookFeel::isStateImageryPresent | ( | const String & | state | ) | const |
Return whether imagery is defined for the given state.
state | String object containing name of state to look for. |
Referenced by CEGUI::FalagardTabButton::render(), CEGUI::FalagardButton::render(), CEGUI::FalagardMenuItem::render(), and CEGUI::FalagardStaticImage::render().
void CEGUI::WidgetLookFeel::layoutChildWidgets | ( | const Window & | owner | ) | const |
Layout the child widgets defined for this WidgetLookFeel which are attached to the given window.
owner | Window object that has the child widgets that require laying out. |
void CEGUI::WidgetLookFeel::layoutChildWidgets | ( | const Window & | owner | ) | const |
Layout the child widgets defined for this WidgetLookFeel which are attached to the given window.
owner | Window object that has the child widgets that require laying out. |
EventLinkDefinition* CEGUI::WidgetLookFeel::retrieveEventLinkDefinitionFromList | ( | const String & | name, |
bool | includeInheritedElements = false |
||
) |
Takes the name for a EventLinkDefinition and returns a pointer to it if it exists or 0 if it doesn't.
name | The name of the EventLinkDefinition to look for. |
includeInheritedElements | If set to true, this function will try to also include elements from the inherited WidgetLookFeel. |
EventLinkDefinition * CEGUI::WidgetLookFeel::retrieveEventLinkDefinitionFromList | ( | const String & | name, |
bool | includeInheritedElements = false |
||
) |
Takes the name for a EventLinkDefinition and returns a pointer to it if it exists or 0 if it doesn't.
name | The name of the EventLinkDefinition to look for. |
includeInheritedElements | If set to true, this function will try to also include elements from the inherited WidgetLookFeel. |
References CEGUI::String::compare(), CEGUI::EventLinkDefinition::getName(), and retrieveEventLinkDefinitionFromList().
Referenced by retrieveEventLinkDefinitionFromList().
PropertyDefinitionBase* CEGUI::WidgetLookFeel::retrievePropertyDefinitionFromList | ( | const String & | name, |
bool | includeInheritedElements = false |
||
) |
Takes the name for a PropertyDefinition and returns a pointer to it if it exists or 0 if it doesn't.
name | The name of the PropertyDefinition (PropertyDefinitionBase) to look for. |
includeInheritedElements | If set to true, this function will try to also include elements from the inherited WidgetLookFeel. |
PropertyDefinitionBase * CEGUI::WidgetLookFeel::retrievePropertyDefinitionFromList | ( | const String & | name, |
bool | includeInheritedElements = false |
||
) |
Takes the name for a PropertyDefinition and returns a pointer to it if it exists or 0 if it doesn't.
name | The name of the PropertyDefinition (PropertyDefinitionBase) to look for. |
includeInheritedElements | If set to true, this function will try to also include elements from the inherited WidgetLookFeel. |
References CEGUI::String::compare(), and retrievePropertyDefinitionFromList().
Referenced by retrievePropertyDefinitionFromList().
PropertyInitialiser * CEGUI::WidgetLookFeel::retrievePropertyInitialiserFromList | ( | const String & | name, |
bool | includeInheritedElements = false |
||
) |
Takes the name for a Property (PropertyInitialiser) and returns a pointer to it if it exists or 0 if it doesn't.
name | The name of the Property (PropertyInitialiser) to look for. |
includeInheritedElements | If set to true, this function will try to also include elements from the inherited WidgetLookFeel. |
References CEGUI::String::compare(), CEGUI::PropertyInitialiser::getTargetPropertyName(), and retrievePropertyInitialiserFromList().
Referenced by retrievePropertyInitialiserFromList().
PropertyInitialiser* CEGUI::WidgetLookFeel::retrievePropertyInitialiserFromList | ( | const String & | name, |
bool | includeInheritedElements = false |
||
) |
Takes the name for a Property (PropertyInitialiser) and returns a pointer to it if it exists or 0 if it doesn't.
name | The name of the Property (PropertyInitialiser) to look for. |
includeInheritedElements | If set to true, this function will try to also include elements from the inherited WidgetLookFeel. |
PropertyDefinitionBase* CEGUI::WidgetLookFeel::retrievePropertyLinkDefinitionFromList | ( | const String & | name, |
bool | includeInheritedElements = false |
||
) |
Takes the name for a PropertyLinkDefinition and returns a pointer to it if it exists or 0 if it doesn't.
name | The name of the PropertyLinkDefinition (PropertyDefinitionBase) to look for. |
includeInheritedElements | If set to true, this function will try to also include elements from the inherited WidgetLookFeel. |
PropertyDefinitionBase * CEGUI::WidgetLookFeel::retrievePropertyLinkDefinitionFromList | ( | const String & | name, |
bool | includeInheritedElements = false |
||
) |
Takes the name for a PropertyLinkDefinition and returns a pointer to it if it exists or 0 if it doesn't.
name | The name of the PropertyLinkDefinition (PropertyDefinitionBase) to look for. |
includeInheritedElements | If set to true, this function will try to also include elements from the inherited WidgetLookFeel. |
References CEGUI::String::compare(), and retrievePropertyLinkDefinitionFromList().
Referenced by retrievePropertyLinkDefinitionFromList().
WidgetComponent* CEGUI::WidgetLookFeel::retrieveWidgetComponentFromList | ( | const String & | name, |
bool | includeInheritedElements = false |
||
) |
Takes the name for a WidgetComponent and returns a pointer to it if it exists or null pointer if it doesn't.
name | The name of the WidgetComponent to look for. |
includeInheritedElements | If set to true, this function will try to also include elements from the inherited WidgetLookFeel. |
WidgetComponent * CEGUI::WidgetLookFeel::retrieveWidgetComponentFromList | ( | const String & | name, |
bool | includeInheritedElements = false |
||
) |
Takes the name for a WidgetComponent and returns a pointer to it if it exists or null pointer if it doesn't.
name | The name of the WidgetComponent to look for. |
includeInheritedElements | If set to true, this function will try to also include elements from the inherited WidgetLookFeel. |
References retrieveWidgetComponentFromList().
Referenced by retrieveWidgetComponentFromList().
void CEGUI::WidgetLookFeel::writeXMLToStream | ( | XMLSerializer & | xml_stream | ) | const |
Writes an xml representation of this WidgetLookFeel to out_stream.
xml_stream | Stream where xml data should be output. |
void CEGUI::WidgetLookFeel::writeXMLToStream | ( | XMLSerializer & | xml_stream | ) | const |
Writes an xml representation of this WidgetLookFeel to out_stream.
xml_stream | Stream where xml data should be output. |
References CEGUI::XMLSerializer::attribute(), CEGUI::XMLSerializer::closeTag(), and CEGUI::XMLSerializer::openTag().
Referenced by CEGUI::WidgetLookManager::writeWidgetLookSetToStream(), and CEGUI::WidgetLookManager::writeWidgetLookToStream().