Crazy Eddie's GUI System
0.8.1
|
A positioned and sized rectangular node in a tree graph. More...
Inherits CEGUI::PropertySet, CEGUI::EventSet, and CEGUI::AllocatedObject< Element >.
Inherited by CEGUI::NamedElement.
Classes | |
class | CachedRectf |
A tiny wrapper to hide some of the dirty work of rect caching. More... | |
Public Member Functions | |
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 void | notifyScreenAreaChanged (bool recursive=true) |
Inform the element and (optionally) all children that screen area has changed. More... | |
virtual const Sizef & | getRootContainerSize () const |
Return the size of the root container (such as screen size). More... | |
Public Member Functions inherited from CEGUI::PropertySet | |
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. | |
Public Member Functions inherited from CEGUI::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. | |
Static Public Attributes | |
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 |
Protected Types | |
typedef std::vector< Element *CEGUI_VECTOR_ALLOC(Element *)> | ChildList |
definition of type used for the list of attached child elements. | |
Protected Types inherited from CEGUI::EventSet | |
typedef std::map< String, Event *, StringFastLessCompare CEGUI_MAP_ALLOC(String, Event *)> | EventMap |
Protected Member Functions | |
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. | |
virtual Rectf | getUnclippedOuterRect_impl (bool skipAllPixelAlignment) const |
Default implementation of function to return Element's outer rect area. | |
virtual Rectf | getUnclippedInnerRect_impl (bool skipAllPixelAlignment) const |
Default implementation of function to return Element's inner rect area. | |
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... | |
Protected Member Functions inherited from CEGUI::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 &) |
Protected Attributes | |
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 | |
Protected Attributes inherited from CEGUI::EventSet | |
EventMap | d_events |
bool | d_muted |
true if events for this EventSet have been muted. | |
Additional Inherited Members | |
Public Types inherited from CEGUI::PropertySet | |
typedef ConstMapIterator < PropertyRegistry > | PropertyIterator |
Public Types inherited from CEGUI::EventSet | |
typedef ConstMapIterator < EventMap > | EventIterator |
A positioned and sized rectangular node in a tree graph.
This class implements positioning, alignment, sizing including minimum and maximum size constraining. In its bare essense it's an unnamed rectangular node that may contain other unnamed rectangular nodes.
Unless you are implementing new CEGUI functionality you do NOT want to use this class directly. You most likely want to use CEGUI::Window.
void CEGUI::Element::addChild | ( | Element * | element | ) |
Add the specified Element as a child of this Element.
If the Element element is already attached to a different Element, it is detached before being added to this Element.
element | Pointer to the Element object to be added. |
InvalidRequestException | thrown if Element element is NULL. |
InvalidRequestException | thrown if Element element is "this" element |
InvalidRequestException | thrown if Element element is an ancestor of this Element, to prevent cyclic Element structures. |
Sizef CEGUI::Element::calculatePixelSize | ( | bool | skipAllPixelAlignment = false | ) | const |
Calculates this element's pixel size.
skipAllPixelAlignment | Should all pixel-alignment be skipped when calculating the pixel size? |
If you want to get the pixel size you most probably want to use the Element::getPixelSize method. This method skips caching and might impact performance!
|
inline |
Return the element's area.
Sets the area occupied by this Element. The defined area is offset from one of the corners and edges of this Element's parent element (depending on alignments) or from the top-left corner of the display if this element has no parent (i.e. it is the root element).
|
inline |
Retrieves currently used aspect mode.
|
inline |
Retrieves target aspect ratio.
|
inline |
Return a Rect that is used to position and size child elements.
It is used as the reference area for positioning and its size is used for the scale components of position and size.
non_client |
|
|
inline |
return a pointer to the child element that is attached to 'this' at the given index.
idx | Index of the child element who's pointer should be returned. This value is not bounds checked, client code should ensure that this is less than the value returned by getChildCount(). |
|
virtual |
Return a Rect that is used by client child elements as content area.
Client content area is used for relative sizing, positioning and clipping of child elements that are client (their NonClient property is "false").
Reimplemented in CEGUI::ScrolledContainer, CEGUI::LayoutContainer, and CEGUI::LayoutCell.
|
inline |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
inline |
Get the horizontal alignment.
Returns the horizontal alignment for the element. This setting affects how the element's position is interpreted relative to its parent.
|
inline |
Get the element's maximum size.
Gets the maximum size that this element area may occupy (whether size changes occur by user interaction, general system operation, or by direct setting by client code).
|
inline |
Get the element's minimum size.
Gets the minimum size that this element's area may occupy (whether size changes occur by user interaction, general system operation, or by direct setting by client code).
|
virtual |
Return a Rect that is used by client child elements as content area.
Client content area is used for relative sizing, positioning and clipping of child elements that are non-client (their NonClient property is "true").
Reimplemented in CEGUI::ScrolledContainer.
|
inline |
Retrieves parent of this element.
Sizef CEGUI::Element::getParentPixelSize | ( | bool | skipAllPixelAlignment = false | ) | const |
|
inline |
Return the element's absolute (or screen, depending on the type of the element) position in pixels.
|
inline |
Return the element's size in pixels.
|
inline |
Get the element's position.
Sets the position of the area occupied by this element. The position is offset from one of the corners of this Element's parent element (depending on alignments) or from the top-left corner of the display if this element has no parent (i.e. it is the root element).
|
virtual |
Return the size of the root container (such as screen size).
This is size of the hypothetical parent of the root element that has no parent element. Display size is usually used.
The value is significant and is used to size and position the root if it is using scale UDim component in position and/or size.
Reimplemented in CEGUI::Window.
|
inline |
retrieves rotation of this widget
|
inline |
Get the element's size.
Gets the size of the area occupied by this element.
|
inline |
Return a Rect that describes the unclipped inner rect area of the Element.
The inner rectangle is typically an area that excludes some frame or other decorations that should not be touched by rendering of client clipped child elements.
|
inline |
|
inline |
|
inline |
Get the vertical alignment.
Returns the vertical alignment for the element. This setting affects how the element's position is interpreted relative to its parent.
|
inline |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
inline |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
inline |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
bool CEGUI::Element::isAncestor | ( | const Element * | element | ) | const |
Checks whether the specified Element is an ancestor of this Element.
element | Pointer to the Element object to look for. |
This element itself is not its own ancestor!
|
inline |
Checks whether this element was set to be non client.
|
inline |
Checks whether this Element is pixel aligned.
|
virtual |
Inform the element and (optionally) all children that screen area has changed.
recursive |
Reimplemented in CEGUI::Window, CEGUI::ScrolledContainer, CEGUI::LayoutContainer, and CEGUI::LayoutCell.
|
protectedvirtual |
Handler called when a child element is added to this element.
e | ElementEventArgs object whose 'element' pointer field is set to the element that has been added. |
Reimplemented in CEGUI::Window, and CEGUI::ScrolledContainer.
|
protectedvirtual |
Handler called when a child element is removed from this element.
e | ElementEventArgs object whose 'element' pointer field is set the element that has been removed. |
Reimplemented in CEGUI::Window, CEGUI::MenuBase, and CEGUI::ScrolledContainer.
|
protectedvirtual |
Handler called when the horizontal alignment setting for the element is changed.
e | ElementEventArgs object initialised as follows:
|
|
protectedvirtual |
Handler called when the element's position changes.
e | ElementEventArgs object whose 'element' pointer field is set to the element that triggered the event. |
Reimplemented in CEGUI::Window, and CEGUI::DragContainer.
|
protectedvirtual |
Handler called when the element's non-client setting, affecting it's position and size relative to it's parent is changed.
e | ElementEventArgs object whose 'element' pointer field is set to the element that triggered the event. For this event the trigger element is always 'this'. |
|
protectedvirtual |
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.
e | ElementEventArgs object whose 'element' pointer field is set the the element that caused the event; this is typically either this element's parent element, or NULL to indicate the screen size has changed. |
Reimplemented in CEGUI::Window, CEGUI::ItemListBase, CEGUI::ScrolledContainer, and CEGUI::LayoutContainer.
|
protectedvirtual |
Handler called when the element's rotation is changed.
e | ElementEventArgs object whose 'element' pointer field is set to the element that triggered the event. |
Reimplemented in CEGUI::Window.
|
protectedvirtual |
Handler called when the element's size changes.
e | ElementEventArgs object whose 'element' pointer field is set to the element that triggered the event. |
Reimplemented in CEGUI::Window, CEGUI::MultiColumnList, CEGUI::Combobox, CEGUI::Tree, CEGUI::MultiLineEditbox, CEGUI::Listbox, and CEGUI::ScrollablePane.
|
protectedvirtual |
Handler called when the vertical alignment setting for the element is changed.
e | ElementEventArgs object initialised as follows:
|
void CEGUI::Element::removeChild | ( | Element * | element | ) |
Remove the Element Element's child list.
InvalidRequestException | thrown if Element element is NULL. |
Set the Element area.
Sets the area occupied by this Element. The defined area is offset from one of the corners and edges of this Element's parent element (depending on alignments) or from the top-left corner of the display if this element has no parent (i.e. if it is the root element).
pos | UVector2 describing the new position of the element area. Meaning of position depends on currently set alignments. By default it is the offset from the top-left corner of widget's parent. |
size | UVector2 describing the new size of the element area. |
|
inline |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
inline |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
References CEGUI::Rect< T >::getSize().
|
protectedvirtual |
Implementation method to modify element area while correctly applying min / max size processing, and firing any appropriate events.
pos | UVector2 object describing the new area position. |
size | USize object describing the new area size. |
topLeftSizing |
|
fireEvents |
|
Reimplemented in CEGUI::Window, and CEGUI::ScrolledContainer.
void CEGUI::Element::setAspectMode | ( | const AspectMode | mode | ) |
Sets current aspect mode and recalculates the area rect.
mode | the new aspect mode to set |
void CEGUI::Element::setAspectRatio | ( | const float | ratio | ) |
Sets target aspect ratio.
ratio | The desired ratio as width / height. For example 4.0f / 3.0f, 16.0f / 9.0.f, ... |
|
inline |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
virtual |
Set the horizontal alignment.
Modifies the horizontal alignment for the element. This setting affects how the element's position is interpreted relative to its parent.
alignment | One of the HorizontalAlignment enumerated values. |
void CEGUI::Element::setMaxSize | ( | const USize & | size | ) |
Set the element's maximum size.
Sets the maximum size that this element area may occupy (whether size changes occur by user interaction, general system operation, or by direct setting by client code).
size | USize describing the new maximum size of the element's area. Note that zero is used to indicate that the Element's maximum area size will be unbounded. |
void CEGUI::Element::setMinSize | ( | const USize & | size | ) |
Set the element's minimum size.
Sets the minimum size that this element's area may occupy (whether size changes occur by user interaction, general system operation, or by direct setting by client code).
size | USize describing the new minimum size of the element's area. |
void CEGUI::Element::setNonClient | ( | const bool | setting | ) |
Set whether the Element is non-client.
A non-client element is clipped, positioned and sized according to the parent element's full area as opposed to just the inner rect area used for normal client element.
setting |
|
|
protectedvirtual |
void CEGUI::Element::setPixelAligned | ( | const bool | setting | ) |
Sets whether this Element is pixel aligned (both position and size, basically the 4 "corners").
B's position is always relative to the pixel-aligned position of its parent. Say B isn't pixel-aligned and it's position is 0.5, 0.5 px. Its final position will be 100.5, 100.5 px in screenspace, not 100, 100 px!
If it were pixel-aligned the final position would be 101, 101 px.
|
inline |
Set the element's position.
Sets the position of the area occupied by this element. The position is offset from one of the corners and edges of this Element's parent element (depending on alignments) or from the top-left corner of the display if this element has no parent (i.e. it is the root element).
pos | UVector2 describing the new position of the element area. |
void CEGUI::Element::setRotation | ( | const Quaternion & | rotation | ) |
sets rotation of this widget
rotation | A Quaternion describing the rotation |
|
inline |
Set the element's size.
Sets the size of the area occupied by this element.
size | USize describing the new size of the element's area. |
|
virtual |
Set the vertical alignment.
Modifies the vertical alignment for the element. This setting affects how the element's position is interpreted relative to its parent.
alignment | One of the VerticalAlignment enumerated values. |
|
inline |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
inline |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
inline |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
static |
Event fired when a child Element has been added. Handlers are passed a const ElementEventArgs reference with ElementEventArgs::element set to the child element that was added.
|
static |
Event fired when a child element has been removed. Handlers are passed a const ElementEventArgs reference with ElementEventArgs::element set to the child element that was removed.
|
static |
Event fired when the horizontal alignment for the element is changed. Handlers are passed a const ElementEventArgs reference with ElementEventArgs::element set to the Element whose horizontal alignment setting was changed.
|
static |
Event fired when the Element position has changed. Handlers are passed a const ElementEventArgs reference with ElementEventArgs::element set to the Element whose position was changed.
|
static |
Event fired when the non-client setting for the Element is changed. Handlers are passed a const ElementEventArgs reference with ElementEventArgs::element set to the Element whose non-client setting was changed.
|
static |
Event fired when the parent of this Element has been re-sized. Handlers are passed a const ElementEventArgs reference with ElementEventArgs::element pointing to the parent element that was resized, not the element whose parent was resized.
|
static |
Event fired when the rotation factor(s) for the element are changed. Handlers are passed a const ElementEventArgs reference with ElementEventArgs::element set to the Element whose rotation was changed.
|
static |
Event fired when the Element size has changed. Handlers are passed a const ElementEventArgs reference with ElementEventArgs::element set to the Element whose size was changed.
|
static |
Event fired when the vertical alignment for the element is changed. Handlers are passed a const ElementEventArgs reference with ElementEventArgs::element set to the Element whose vertical alignment setting was changed.
|
static |
Event fired when the z-order of the element has changed. Handlers are passed a const ElementEventArgs reference with ElementEventArgs::element set to the Element whose z order position has changed.