|
|
virtual void | addChild_impl (::CEGUI::Element *element) |
| |
|
virtual void | default_addChild_impl (::CEGUI::Element *element) |
| |
|
void | addElementProperties () |
| |
|
void | fireAreaChangeEvents (bool const moved, bool const sized) |
| |
|
virtual ::CEGUI::Rectf | getUnclippedInnerRect_impl (bool skipAllPixelAlignment) const |
| | Default implementation of function to return Element's inner rect area.
|
| |
|
virtual ::CEGUI::Rectf | default_getUnclippedInnerRect_impl (bool skipAllPixelAlignment) const |
| |
|
virtual ::CEGUI::Rectf | getUnclippedOuterRect_impl (bool skipAllPixelAlignment) const |
| | Default implementation of function to return Element's outer rect area.
|
| |
|
virtual ::CEGUI::Rectf | default_getUnclippedOuterRect_impl (bool skipAllPixelAlignment) const |
| |
|
bool | isInnerRectSizeChanged () const |
| |
|
void | notifyChildrenOfSizeChange (bool const non_client, bool const client) |
| |
| virtual void | notifyScreenAreaChanged (bool recursive=true) |
| | Inform the element and (optionally) all children that screen area has changed. More...
|
| |
|
void | default_notifyScreenAreaChanged (bool recursive=true) |
| |
|
virtual void | onChildAdded (::CEGUI::ElementEventArgs &e) |
| |
|
virtual void | default_onChildAdded (::CEGUI::ElementEventArgs &e) |
| |
|
virtual void | onChildRemoved (::CEGUI::ElementEventArgs &e) |
| |
|
virtual void | default_onChildRemoved (::CEGUI::ElementEventArgs &e) |
| |
|
virtual void | onHorizontalAlignmentChanged (::CEGUI::ElementEventArgs &e) |
| |
|
virtual void | default_onHorizontalAlignmentChanged (::CEGUI::ElementEventArgs &e) |
| |
|
virtual void | onMoved (::CEGUI::ElementEventArgs &e) |
| |
|
virtual void | default_onMoved (::CEGUI::ElementEventArgs &e) |
| |
|
virtual void | onNonClientChanged (::CEGUI::ElementEventArgs &e) |
| |
|
virtual void | default_onNonClientChanged (::CEGUI::ElementEventArgs &e) |
| |
|
virtual void | onParentSized (::CEGUI::ElementEventArgs &e) |
| |
|
virtual void | default_onParentSized (::CEGUI::ElementEventArgs &e) |
| |
|
virtual void | onRotated (::CEGUI::ElementEventArgs &e) |
| |
|
virtual void | default_onRotated (::CEGUI::ElementEventArgs &e) |
| |
|
virtual void | onSized (::CEGUI::ElementEventArgs &e) |
| |
|
virtual void | default_onSized (::CEGUI::ElementEventArgs &e) |
| |
|
virtual void | onVerticalAlignmentChanged (::CEGUI::ElementEventArgs &e) |
| |
|
virtual void | default_onVerticalAlignmentChanged (::CEGUI::ElementEventArgs &e) |
| |
|
virtual void | removeChild_impl (::CEGUI::Element *element) |
| |
|
virtual void | default_removeChild_impl (::CEGUI::Element *element) |
| |
|
virtual void | setArea (::CEGUI::UVector2 const &pos,::CEGUI::USize const &size) |
| |
|
void | default_setArea (::CEGUI::UVector2 const &pos,::CEGUI::USize const &size) |
| |
|
virtual void | setArea_impl (::CEGUI::UVector2 const &pos,::CEGUI::USize const &size, bool topLeftSizing=false, bool fireEvents=true) |
| |
|
virtual void | default_setArea_impl (::CEGUI::UVector2 const &pos,::CEGUI::USize const &size, bool topLeftSizing=false, bool fireEvents=true) |
| |
|
virtual void | setHorizontalAlignment (::CEGUI::HorizontalAlignment const alignment) |
| |
|
void | default_setHorizontalAlignment (::CEGUI::HorizontalAlignment const alignment) |
| |
|
virtual void | setParent (::CEGUI::Element *parent) |
| |
|
virtual void | default_setParent (::CEGUI::Element *parent) |
| |
|
virtual void | setVerticalAlignment (::CEGUI::VerticalAlignment const alignment) |
| |
|
void | default_setVerticalAlignment (::CEGUI::VerticalAlignment const alignment) |
| |
|
virtual void | fireEvent (::CEGUI::String const &name,::CEGUI::EventArgs &args,::CEGUI::String const &eventNamespace="") |
| |
|
void | default_fireEvent (::CEGUI::String const &name,::CEGUI::EventArgs &args,::CEGUI::String const &eventNamespace="") |
| |
|
void | fireEvent_impl (::CEGUI::String const &name,::CEGUI::EventArgs &args) |
| |
|
::CEGUI::ScriptModule * | getScriptModule () const |
| |
|
virtual ::CEGUI::RefCounted< CEGUI::BoundSlot > | subscribeScriptedEvent (::CEGUI::String const &name,::CEGUI::String const &subscriber_name) |
| |
|
::CEGUI::RefCounted< CEGUI::BoundSlot > | default_subscribeScriptedEvent (::CEGUI::String const &name,::CEGUI::String const &subscriber_name) |
| |
|
virtual ::CEGUI::RefCounted< CEGUI::BoundSlot > | subscribeScriptedEvent (::CEGUI::String const &name, unsigned int group,::CEGUI::String const &subscriber_name) |
| |
|
::CEGUI::RefCounted< CEGUI::BoundSlot > | default_subscribeScriptedEvent (::CEGUI::String const &name, unsigned int group,::CEGUI::String const &subscriber_name) |
| |
|
| Element () |
| | Constructor.
|
| |
|
virtual | ~Element () |
| | Destructor.
|
| |
| Element * | getParentElement () const |
| | Retrieves parent of this element. More...
|
| |
| virtual void | setArea (const UVector2 &pos, const USize &size) |
| | Set the Element area. More...
|
| |
| void | setArea (const UDim &xpos, const UDim &ypos, const UDim &width, const UDim &height) |
| |
| void | setArea (const URect &area) |
| |
| const URect & | getArea () const |
| | Return the element's area. More...
|
| |
| void | setPosition (const UVector2 &pos) |
| | Set the element's position. More...
|
| |
| void | setXPosition (const UDim &pos) |
| |
| void | setYPosition (const UDim &pos) |
| |
| const UVector2 & | getPosition () const |
| | Get the element's position. More...
|
| |
| const UDim & | getXPosition () const |
| |
| const UDim & | getYPosition () const |
| |
| virtual void | setHorizontalAlignment (const HorizontalAlignment alignment) |
| | Set the horizontal alignment. More...
|
| |
| HorizontalAlignment | getHorizontalAlignment () const |
| | Get the horizontal alignment. More...
|
| |
| virtual void | setVerticalAlignment (const VerticalAlignment alignment) |
| | Set the vertical alignment. More...
|
| |
| VerticalAlignment | getVerticalAlignment () const |
| | Get the vertical alignment. More...
|
| |
| void | setSize (const USize &size) |
| | Set the element's size. More...
|
| |
| void | setWidth (const UDim &width) |
| |
| void | setHeight (const UDim &height) |
| |
| USize | getSize () const |
| | Get the element's size. More...
|
| |
| UDim | getWidth () const |
| |
| UDim | getHeight () const |
| |
| void | setMinSize (const USize &size) |
| | Set the element's minimum size. More...
|
| |
| const USize & | getMinSize () const |
| | Get the element's minimum size. More...
|
| |
| void | setMaxSize (const USize &size) |
| | Set the element's maximum size. More...
|
| |
| const USize & | getMaxSize () const |
| | Get the element's maximum size. More...
|
| |
| void | setAspectMode (const AspectMode mode) |
| | Sets current aspect mode and recalculates the area rect. More...
|
| |
| AspectMode | getAspectMode () const |
| | Retrieves currently used aspect mode. More...
|
| |
| void | setAspectRatio (const float ratio) |
| | Sets target aspect ratio. More...
|
| |
| float | getAspectRatio () const |
| | Retrieves target aspect ratio. More...
|
| |
| void | setPixelAligned (const bool setting) |
| | Sets whether this Element is pixel aligned (both position and size, basically the 4 "corners"). More...
|
| |
| bool | isPixelAligned () const |
| | Checks whether this Element is pixel aligned. More...
|
| |
| const Vector2f & | getPixelPosition () const |
| | Return the element's absolute (or screen, depending on the type of the element) position in pixels. More...
|
| |
| const Sizef & | getPixelSize () const |
| | Return the element's size in pixels. More...
|
| |
| Sizef | calculatePixelSize (bool skipAllPixelAlignment=false) const |
| | Calculates this element's pixel size. More...
|
| |
| Sizef | getParentPixelSize (bool skipAllPixelAlignment=false) const |
| | Return the pixel size of the parent element. More...
|
| |
| void | setRotation (const Quaternion &rotation) |
| | sets rotation of this widget More...
|
| |
| const Quaternion & | getRotation () const |
| | retrieves rotation of this widget More...
|
| |
| void | addChild (Element *element) |
| | Add the specified Element as a child of this Element. More...
|
| |
| void | removeChild (Element *element) |
| | Remove the Element Element's child list. More...
|
| |
| Element * | getChildElementAtIdx (size_t idx) const |
| | return a pointer to the child element that is attached to 'this' at the given index. More...
|
| |
|
size_t | getChildCount () const |
| | Returns number of child elements attached to this Element.
|
| |
|
bool | isChild (const Element *element) const |
| | Checks whether given element is attached to this Element.
|
| |
| bool | isAncestor (const Element *element) const |
| | Checks whether the specified Element is an ancestor of this Element. More...
|
| |
| void | setNonClient (const bool setting) |
| | Set whether the Element is non-client. More...
|
| |
| bool | isNonClient () const |
| | Checks whether this element was set to be non client. More...
|
| |
| const CachedRectf & | getUnclippedOuterRect () const |
| | Return a Rect that describes the unclipped outer rect area of the Element. More...
|
| |
| const CachedRectf & | getUnclippedInnerRect () const |
| | Return a Rect that describes the unclipped inner rect area of the Element. More...
|
| |
| const CachedRectf & | getUnclippedRect (const bool inner) const |
| | Return a Rect that describes the unclipped area covered by the Element. More...
|
| |
| virtual const CachedRectf & | getClientChildContentArea () const |
| | Return a Rect that is used by client child elements as content area. More...
|
| |
| virtual const CachedRectf & | getNonClientChildContentArea () const |
| | Return a Rect that is used by client child elements as content area. More...
|
| |
| const CachedRectf & | getChildContentArea (const bool non_client=false) const |
| | Return a Rect that is used to position and size child elements. More...
|
| |
| virtual const Sizef & | getRootContainerSize () const |
| | Return the size of the root container (such as screen size). More...
|
| |
|
| Element () |
| | Constructor.
|
| |
|
virtual | ~Element () |
| | Destructor.
|
| |
| Element * | getParentElement () const |
| | Retrieves parent of this element. More...
|
| |
| virtual void | setArea (const UVector2 &pos, const USize &size) |
| | Set the Element area. More...
|
| |
| void | setArea (const UDim &xpos, const UDim &ypos, const UDim &width, const UDim &height) |
| |
| void | setArea (const URect &area) |
| |
| const URect & | getArea () const |
| | Return the element's area. More...
|
| |
| void | setPosition (const UVector2 &pos) |
| | Set the element's position. More...
|
| |
| void | setXPosition (const UDim &pos) |
| |
| void | setYPosition (const UDim &pos) |
| |
| const UVector2 & | getPosition () const |
| | Get the element's position. More...
|
| |
| const UDim & | getXPosition () const |
| |
| const UDim & | getYPosition () const |
| |
| virtual void | setHorizontalAlignment (const HorizontalAlignment alignment) |
| | Set the horizontal alignment. More...
|
| |
| HorizontalAlignment | getHorizontalAlignment () const |
| | Get the horizontal alignment. More...
|
| |
| virtual void | setVerticalAlignment (const VerticalAlignment alignment) |
| | Set the vertical alignment. More...
|
| |
| VerticalAlignment | getVerticalAlignment () const |
| | Get the vertical alignment. More...
|
| |
| void | setSize (const USize &size) |
| | Set the element's size. More...
|
| |
| void | setWidth (const UDim &width) |
| |
| void | setHeight (const UDim &height) |
| |
| USize | getSize () const |
| | Get the element's size. More...
|
| |
| UDim | getWidth () const |
| |
| UDim | getHeight () const |
| |
| void | setMinSize (const USize &size) |
| | Set the element's minimum size. More...
|
| |
| const USize & | getMinSize () const |
| | Get the element's minimum size. More...
|
| |
| void | setMaxSize (const USize &size) |
| | Set the element's maximum size. More...
|
| |
| const USize & | getMaxSize () const |
| | Get the element's maximum size. More...
|
| |
| void | setAspectMode (const AspectMode mode) |
| | Sets current aspect mode and recalculates the area rect. More...
|
| |
| AspectMode | getAspectMode () const |
| | Retrieves currently used aspect mode. More...
|
| |
| void | setAspectRatio (const float ratio) |
| | Sets target aspect ratio. More...
|
| |
| float | getAspectRatio () const |
| | Retrieves target aspect ratio. More...
|
| |
| void | setPixelAligned (const bool setting) |
| | Sets whether this Element is pixel aligned (both position and size, basically the 4 "corners"). More...
|
| |
| bool | isPixelAligned () const |
| | Checks whether this Element is pixel aligned. More...
|
| |
| const Vector2f & | getPixelPosition () const |
| | Return the element's absolute (or screen, depending on the type of the element) position in pixels. More...
|
| |
| const Sizef & | getPixelSize () const |
| | Return the element's size in pixels. More...
|
| |
| Sizef | calculatePixelSize (bool skipAllPixelAlignment=false) const |
| | Calculates this element's pixel size. More...
|
| |
| Sizef | getParentPixelSize (bool skipAllPixelAlignment=false) const |
| | Return the pixel size of the parent element. More...
|
| |
| void | setRotation (const Quaternion &rotation) |
| | sets rotation of this widget More...
|
| |
| const Quaternion & | getRotation () const |
| | retrieves rotation of this widget More...
|
| |
| void | addChild (Element *element) |
| | Add the specified Element as a child of this Element. More...
|
| |
| void | removeChild (Element *element) |
| | Remove the Element Element's child list. More...
|
| |
| Element * | getChildElementAtIdx (size_t idx) const |
| | return a pointer to the child element that is attached to 'this' at the given index. More...
|
| |
|
size_t | getChildCount () const |
| | Returns number of child elements attached to this Element.
|
| |
|
bool | isChild (const Element *element) const |
| | Checks whether given element is attached to this Element.
|
| |
| bool | isAncestor (const Element *element) const |
| | Checks whether the specified Element is an ancestor of this Element. More...
|
| |
| void | setNonClient (const bool setting) |
| | Set whether the Element is non-client. More...
|
| |
| bool | isNonClient () const |
| | Checks whether this element was set to be non client. More...
|
| |
| const CachedRectf & | getUnclippedOuterRect () const |
| | Return a Rect that describes the unclipped outer rect area of the Element. More...
|
| |
| const CachedRectf & | getUnclippedInnerRect () const |
| | Return a Rect that describes the unclipped inner rect area of the Element. More...
|
| |
| const CachedRectf & | getUnclippedRect (const bool inner) const |
| | Return a Rect that describes the unclipped area covered by the Element. More...
|
| |
| virtual const CachedRectf & | getClientChildContentArea () const |
| | Return a Rect that is used by client child elements as content area. More...
|
| |
| virtual const CachedRectf & | getNonClientChildContentArea () const |
| | Return a Rect that is used by client child elements as content area. More...
|
| |
| const CachedRectf & | getChildContentArea (const bool non_client=false) const |
| | Return a Rect that is used to position and size child elements. More...
|
| |
| virtual const Sizef & | getRootContainerSize () const |
| | Return the size of the root container (such as screen size). More...
|
| |
|
| PropertySet (void) |
| | Constructs a new PropertySet object.
|
| |
|
virtual | ~PropertySet (void) |
| | Destructor for PropertySet objects.
|
| |
| void | addProperty (Property *property) |
| | Adds a new Property to the PropertySet. More...
|
| |
| void | removeProperty (const String &name) |
| | Removes a Property from the PropertySet. More...
|
| |
| Property * | getPropertyInstance (const String &name) const |
| | Retrieves a property instance (that was previously added) More...
|
| |
| void | clearProperties (void) |
| | Removes all Property objects from the PropertySet. More...
|
| |
| bool | isPropertyPresent (const String &name) const |
| | Checks to see if a Property with the given name is in the PropertySet. More...
|
| |
| const String & | getPropertyHelp (const String &name) const |
| | Return the help text for the specified Property. More...
|
| |
| String | getProperty (const String &name) const |
| | Gets the current value of the specified Property. More...
|
| |
| template<typename T > |
| PropertyHelper< T >::return_type | getProperty (const String &name) const |
| | Gets the current value of the specified Property. More...
|
| |
| void | setProperty (const String &name, const String &value) |
| | Sets the current value of a Property. More...
|
| |
| template<typename T > |
| void | setProperty (const String &name, typename PropertyHelper< T >::pass_type value) |
| | Sets the current value of a Property. More...
|
| |
| bool | isPropertyDefault (const String &name) const |
| | Returns whether a Property is at it's default value. More...
|
| |
| String | getPropertyDefault (const String &name) const |
| | Returns the default value of a Property as a String. More...
|
| |
|
PropertyIterator | getPropertyIterator (void) const |
| | Return a PropertySet::PropertyIterator object to iterate over the available Properties.
|
| |
|
| PropertySet (void) |
| | Constructs a new PropertySet object.
|
| |
|
virtual | ~PropertySet (void) |
| | Destructor for PropertySet objects.
|
| |
| void | addProperty (Property *property) |
| | Adds a new Property to the PropertySet. More...
|
| |
| void | removeProperty (const String &name) |
| | Removes a Property from the PropertySet. More...
|
| |
| Property * | getPropertyInstance (const String &name) const |
| | Retrieves a property instance (that was previously added) More...
|
| |
| void | clearProperties (void) |
| | Removes all Property objects from the PropertySet. More...
|
| |
| bool | isPropertyPresent (const String &name) const |
| | Checks to see if a Property with the given name is in the PropertySet. More...
|
| |
| const String & | getPropertyHelp (const String &name) const |
| | Return the help text for the specified Property. More...
|
| |
| String | getProperty (const String &name) const |
| | Gets the current value of the specified Property. More...
|
| |
| template<typename T > |
| PropertyHelper< T >::return_type | getProperty (const String &name) const |
| | Gets the current value of the specified Property. More...
|
| |
| void | setProperty (const String &name, const String &value) |
| | Sets the current value of a Property. More...
|
| |
| template<typename T > |
| void | setProperty (const String &name, typename PropertyHelper< T >::pass_type value) |
| | Sets the current value of a Property. More...
|
| |
| bool | isPropertyDefault (const String &name) const |
| | Returns whether a Property is at it's default value. More...
|
| |
| String | getPropertyDefault (const String &name) const |
| | Returns the default value of a Property as a String. More...
|
| |
|
PropertyIterator | getPropertyIterator (void) const |
| | Return a PropertySet::PropertyIterator object to iterate over the available Properties.
|
| |
|
| EventSet () |
| | Constructor for EventSet objects.
|
| |
|
virtual | ~EventSet (void) |
| | Destructor for EventSet objects.
|
| |
| void | addEvent (const String &name) |
| | Creates a new Event object with the given name and adds it to the EventSet. More...
|
| |
| void | addEvent (Event &event) |
| | Adds the given Event object to the EventSet. Ownership of the object passes to EventSet and it will be deleted when it is removed from the EventSet - whether explicitly via removeEvent or when the EventSet is destroyed. More...
|
| |
| void | removeEvent (const String &name) |
| | Removes the Event with the given name. All connections to the event are disconnected, and the underlying Event object is destroyed. More...
|
| |
| void | removeEvent (Event &event) |
| | Removes the given event from the EventSet. All connections to the event are disconnected, and the event object is destroyed. More...
|
| |
|
void | removeAllEvents (void) |
| | Remove all Event objects from the EventSet. Add connections will be disconnected, and all Event objects destroyed.
|
| |
| bool | isEventPresent (const String &name) |
| | Checks to see if an Event with the given name is present in this EventSet. More...
|
| |
| virtual Event::Connection | subscribeEvent (const String &name, Event::Subscriber subscriber) |
| | Subscribes a handler to the named Event. If the named Event is not yet present in the EventSet, it is created and added. More...
|
| |
| virtual Event::Connection | subscribeEvent (const String &name, Event::Group group, Event::Subscriber subscriber) |
| | Subscribes a handler to the specified group of the named Event. If the named Event is not yet present in the EventSet, it is created and added. More...
|
| |
| template<typename Arg1 , typename Arg2 > |
| Event::Connection | subscribeEvent (const String &name, Arg1 arg1, Arg2 arg2) |
| | Subscribes a handler to the named Event. If the named Event is not yet present in the EventSet, it is created and added. More...
|
| |
| template<typename Arg1 , typename Arg2 > |
| Event::Connection | subscribeEvent (const String &name, Event::Group group, Arg1 arg1, Arg2 arg2) |
| | Subscribes a handler to the named Event. If the named Event is not yet present in the EventSet, it is created and added. More...
|
| |
| virtual Event::Connection | subscribeScriptedEvent (const String &name, const String &subscriber_name) |
| | Subscribes the named Event to a scripted funtion. More...
|
| |
| virtual Event::Connection | subscribeScriptedEvent (const String &name, Event::Group group, const String &subscriber_name) |
| | Subscribes the specified group of the named Event to a scripted funtion. More...
|
| |
| virtual void | fireEvent (const String &name, EventArgs &args, const String &eventNamespace="") |
| | Fires the named event passing the given EventArgs object. More...
|
| |
| bool | isMuted (void) const |
| | Return whether the EventSet is muted or not. More...
|
| |
| void | setMutedState (bool setting) |
| | Set the mute state for this EventSet. More...
|
| |
| Event * | getEventObject (const String &name, bool autoAdd=false) |
| | Return a pointer to the Event object with the given name, optionally adding such an Event object to the EventSet if it does not already exist. More...
|
| |
|
EventIterator | getEventIterator (void) const |
| | Return a EventSet::EventIterator object to iterate over the events currently added to the EventSet.
|
| |
|
| EventSet () |
| | Constructor for EventSet objects.
|
| |
|
virtual | ~EventSet (void) |
| | Destructor for EventSet objects.
|
| |
| void | addEvent (const String &name) |
| | Creates a new Event object with the given name and adds it to the EventSet. More...
|
| |
| void | addEvent (Event &event) |
| | Adds the given Event object to the EventSet. Ownership of the object passes to EventSet and it will be deleted when it is removed from the EventSet - whether explicitly via removeEvent or when the EventSet is destroyed. More...
|
| |
| void | removeEvent (const String &name) |
| | Removes the Event with the given name. All connections to the event are disconnected, and the underlying Event object is destroyed. More...
|
| |
| void | removeEvent (Event &event) |
| | Removes the given event from the EventSet. All connections to the event are disconnected, and the event object is destroyed. More...
|
| |
|
void | removeAllEvents (void) |
| | Remove all Event objects from the EventSet. Add connections will be disconnected, and all Event objects destroyed.
|
| |
| bool | isEventPresent (const String &name) |
| | Checks to see if an Event with the given name is present in this EventSet. More...
|
| |
| virtual Event::Connection | subscribeEvent (const String &name, Event::Subscriber subscriber) |
| | Subscribes a handler to the named Event. If the named Event is not yet present in the EventSet, it is created and added. More...
|
| |
| virtual Event::Connection | subscribeEvent (const String &name, Event::Group group, Event::Subscriber subscriber) |
| | Subscribes a handler to the specified group of the named Event. If the named Event is not yet present in the EventSet, it is created and added. More...
|
| |
| template<typename Arg1 , typename Arg2 > |
| Event::Connection | subscribeEvent (const String &name, Arg1 arg1, Arg2 arg2) |
| | Subscribes a handler to the named Event. If the named Event is not yet present in the EventSet, it is created and added. More...
|
| |
| template<typename Arg1 , typename Arg2 > |
| Event::Connection | subscribeEvent (const String &name, Event::Group group, Arg1 arg1, Arg2 arg2) |
| | Subscribes a handler to the named Event. If the named Event is not yet present in the EventSet, it is created and added. More...
|
| |
| virtual Event::Connection | subscribeScriptedEvent (const String &name, const String &subscriber_name) |
| | Subscribes the named Event to a scripted funtion. More...
|
| |
| virtual Event::Connection | subscribeScriptedEvent (const String &name, Event::Group group, const String &subscriber_name) |
| | Subscribes the specified group of the named Event to a scripted funtion. More...
|
| |
| virtual void | fireEvent (const String &name, EventArgs &args, const String &eventNamespace="") |
| | Fires the named event passing the given EventArgs object. More...
|
| |
| bool | isMuted (void) const |
| | Return whether the EventSet is muted or not. More...
|
| |
| void | setMutedState (bool setting) |
| | Set the mute state for this EventSet. More...
|
| |
| Event * | getEventObject (const String &name, bool autoAdd=false) |
| | Return a pointer to the Event object with the given name, optionally adding such an Event object to the EventSet if it does not already exist. More...
|
| |
|
EventIterator | getEventIterator (void) const |
| | Return a EventSet::EventIterator object to iterate over the events currently added to the EventSet.
|
| |
|
|
typedef ConstMapIterator< PropertyRegistry > | PropertyIterator |
| |
|
typedef ConstMapIterator< PropertyRegistry > | PropertyIterator |
| |
|
typedef ConstMapIterator< EventMap > | EventIterator |
| |
|
typedef ConstMapIterator< EventMap > | EventIterator |
| |
|
static const String | EventNamespace |
| | Namespace for global events.
|
| |
| static const String | EventSized |
| |
| static const String | EventParentSized |
| |
| static const String | EventMoved |
| |
| static const String | EventHorizontalAlignmentChanged |
| |
| static const String | EventVerticalAlignmentChanged |
| |
| static const String | EventRotated |
| |
| static const String | EventChildAdded |
| |
| static const String | EventChildRemoved |
| |
| static const String | EventZOrderChanged |
| |
| static const String | EventNonClientChanged |
| |
|
typedef std::vector< Element *CEGUI_VECTOR_ALLOC(Element *)> | ChildList |
| | definition of type used for the list of attached child elements.
|
| |
|
typedef std::vector< Element *CEGUI_VECTOR_ALLOC(Element *)> | ChildList |
| | definition of type used for the list of attached child elements.
|
| |
|
typedef std::map< String, Event *, StringFastLessCompare CEGUI_MAP_ALLOC(String, Event *)> | EventMap |
| |
|
typedef std::map< String, Event *, StringFastLessCompare CEGUI_MAP_ALLOC(String, Event *)> | EventMap |
| |
|
void | addElementProperties () |
| | Add standard CEGUI::Element properties.
|
| |
| virtual void | setArea_impl (const UVector2 &pos, const USize &size, bool topLeftSizing=false, bool fireEvents=true) |
| | Implementation method to modify element area while correctly applying min / max size processing, and firing any appropriate events. More...
|
| |
|
bool | isInnerRectSizeChanged () const |
| | helper to return whether the inner rect size has changed
|
| |
| virtual void | setParent (Element *parent) |
| | Set the parent element for this element object. More...
|
| |
|
virtual void | addChild_impl (Element *element) |
| | Add given element to child list at an appropriate position.
|
| |
|
virtual void | removeChild_impl (Element *element) |
| | Remove given element from child list.
|
| |
|
void | fireAreaChangeEvents (const bool moved, const bool sized) |
| | helper to fire events based on changes to area rect
|
| |
|
void | notifyChildrenOfSizeChange (const bool non_client, const bool client) |
| |
| virtual void | onSized (ElementEventArgs &e) |
| | Handler called when the element's size changes. More...
|
| |
| virtual void | onParentSized (ElementEventArgs &e) |
| | Handler called when this element's parent element has been resized. If this element is the root / GUI Sheet element, this call will be made when the display size changes. More...
|
| |
| virtual void | onMoved (ElementEventArgs &e) |
| | Handler called when the element's position changes. More...
|
| |
| virtual void | onHorizontalAlignmentChanged (ElementEventArgs &e) |
| | Handler called when the horizontal alignment setting for the element is changed. More...
|
| |
| virtual void | onVerticalAlignmentChanged (ElementEventArgs &e) |
| | Handler called when the vertical alignment setting for the element is changed. More...
|
| |
| virtual void | onRotated (ElementEventArgs &e) |
| | Handler called when the element's rotation is changed. More...
|
| |
| virtual void | onChildAdded (ElementEventArgs &e) |
| | Handler called when a child element is added to this element. More...
|
| |
| virtual void | onChildRemoved (ElementEventArgs &e) |
| | Handler called when a child element is removed from this element. More...
|
| |
| virtual void | onNonClientChanged (ElementEventArgs &e) |
| | Handler called when the element's non-client setting, affecting it's position and size relative to it's parent is changed. More...
|
| |
|
void | addElementProperties () |
| | Add standard CEGUI::Element properties.
|
| |
| virtual void | setArea_impl (const UVector2 &pos, const USize &size, bool topLeftSizing=false, bool fireEvents=true) |
| | Implementation method to modify element area while correctly applying min / max size processing, and firing any appropriate events. More...
|
| |
|
bool | isInnerRectSizeChanged () const |
| | helper to return whether the inner rect size has changed
|
| |
| virtual void | setParent (Element *parent) |
| | Set the parent element for this element object. More...
|
| |
|
virtual void | addChild_impl (Element *element) |
| | Add given element to child list at an appropriate position.
|
| |
|
virtual void | removeChild_impl (Element *element) |
| | Remove given element from child list.
|
| |
|
void | fireAreaChangeEvents (const bool moved, const bool sized) |
| | helper to fire events based on changes to area rect
|
| |
|
void | notifyChildrenOfSizeChange (const bool non_client, const bool client) |
| |
| virtual void | onSized (ElementEventArgs &e) |
| | Handler called when the element's size changes. More...
|
| |
| virtual void | onParentSized (ElementEventArgs &e) |
| | Handler called when this element's parent element has been resized. If this element is the root / GUI Sheet element, this call will be made when the display size changes. More...
|
| |
| virtual void | onMoved (ElementEventArgs &e) |
| | Handler called when the element's position changes. More...
|
| |
| virtual void | onHorizontalAlignmentChanged (ElementEventArgs &e) |
| | Handler called when the horizontal alignment setting for the element is changed. More...
|
| |
| virtual void | onVerticalAlignmentChanged (ElementEventArgs &e) |
| | Handler called when the vertical alignment setting for the element is changed. More...
|
| |
| virtual void | onRotated (ElementEventArgs &e) |
| | Handler called when the element's rotation is changed. More...
|
| |
| virtual void | onChildAdded (ElementEventArgs &e) |
| | Handler called when a child element is added to this element. More...
|
| |
| virtual void | onChildRemoved (ElementEventArgs &e) |
| | Handler called when a child element is removed from this element. More...
|
| |
| virtual void | onNonClientChanged (ElementEventArgs &e) |
| | Handler called when the element's non-client setting, affecting it's position and size relative to it's parent is changed. More...
|
| |
|
void | fireEvent_impl (const String &name, EventArgs &args) |
| | Implementation event firing member.
|
| |
|
ScriptModule * | getScriptModule () const |
| | Helper to return the script module pointer or throw.
|
| |
|
| EventSet (EventSet &) |
| |
|
EventSet & | operator= (EventSet &) |
| |
|
void | fireEvent_impl (const String &name, EventArgs &args) |
| | Implementation event firing member.
|
| |
|
ScriptModule * | getScriptModule () const |
| | Helper to return the script module pointer or throw.
|
| |
|
| EventSet (EventSet &) |
| |
|
EventSet & | operator= (EventSet &) |
| |
|
ChildList | d_children |
| | The list of child element objects attached to this.
|
| |
|
Element * | d_parent |
| | Holds pointer to the parent element.
|
| |
|
bool | d_nonClient |
| | true if element is in non-client (outside InnerRect) area of parent.
|
| |
|
URect | d_area |
| | This element objects area as defined by a URect.
|
| |
|
HorizontalAlignment | d_horizontalAlignment |
| | Specifies the base for horizontal alignment.
|
| |
|
VerticalAlignment | d_verticalAlignment |
| | Specifies the base for vertical alignment.
|
| |
|
USize | d_minSize |
| | current minimum size for the element.
|
| |
|
USize | d_maxSize |
| | current maximum size for the element.
|
| |
|
AspectMode | d_aspectMode |
| | How to satisfy current aspect ratio.
|
| |
|
float | d_aspectRatio |
| | The target aspect ratio.
|
| |
|
bool | d_pixelAligned |
| | If true, the position and size are pixel aligned.
|
| |
|
Sizef | d_pixelSize |
| | Current constrained pixel size of the element.
|
| |
|
Quaternion | d_rotation |
| | Rotation of this element (relative to the parent)
|
| |
|
CachedRectf | d_unclippedOuterRect |
| | outer area rect in screen pixels
|
| |
|
CachedRectf | d_unclippedInnerRect |
| | inner area rect in screen pixels
|
| |
|
EventMap | d_events |
| |
|
bool | d_muted |
| | true if events for this EventSet have been muted.
|
| |