Go to the documentation of this file.
29 #ifndef __OverlayContainer_H__
30 #define __OverlayContainer_H__
134 { mChildrenProcessEvents = val; }
Abstract definition of a 2D element to be displayed in an Overlay.
virtual void _updateRenderQueue(RenderQueue *queue)
Overridden from OverlayElement.
virtual void _update(void)
Overridden from OverlayElement.
virtual OverlayElement * clone(const String &instanceName)
void _removeChild(OverlayElement *elem)
virtual void addChild(OverlayElement *elem)
Adds another OverlayElement to this container.
virtual void _notifyViewport()
Overridden from OverlayElement.
virtual void _notifyParent(OverlayContainer *parent, Overlay *overlay)
Overridden from OverlayElement.
bool mChildrenProcessEvents
virtual ~OverlayContainer()
virtual bool isChildrenProcessEvents() const
Should this container pass events to their children.
virtual void _positionsOutOfDate(void)
Tell the object and its children to recalculate.
OverlayContainer(const String &name)
Constructor: do not call direct, use OverlayManager::createOverlayElement.
map< String, OverlayElement * >::type ChildMap
void initialise(void)
Initialise gui element.
Class encapsulating a standard 4x4 homogeneous matrix.
virtual ChildIterator getChildIterator(void)
Gets an object for iterating over all the children of this object.
virtual void setChildrenProcessEvents(bool val)
Should this container pass events to their children.
#define _OgreOverlayExport
virtual void _notifyWorldTransforms(const Matrix4 &xform)
Overridden from OverlayElement.
virtual void addChildImpl(OverlayContainer *cont)
Add a nested container to this container.
virtual OverlayElement * getChild(const String &name)
Gets the named child of this container.
bool isContainer() const
Overridden from OverlayElement.
void _addChild(OverlayElement *elem)
virtual ushort _notifyZOrder(ushort newZOrder)
Overridden from OverlayElement.
virtual ChildContainerIterator getChildContainerIterator(void)
Gets an iterator for just the container children of this object.
Concrete IteratorWrapper for nonconst access to the underlying key-value container.
MapIterator< ChildContainerMap > ChildContainerIterator
const String & getName(void) const
Gets the name of this overlay.
ChildMap mChildren
Map of all children.
void copyFromTemplate(OverlayElement *templateOverlay)
float Real
Software floating point type.
virtual OverlayElement * findElementAt(Real x, Real y)
This returns a OverlayElement at position x,y.
virtual void removeChild(const String &name)
Removes a named element from this container.
map< String, OverlayContainer * >::type ChildContainerMap
void _removeChild(const String &name)
MapIterator< ChildMap > ChildIterator
virtual void addChildImpl(OverlayElement *elem)
Adds another OverlayElement to this container.
Represents a layer which is rendered on top of the 'normal' scene contents.
Class to manage the scene object rendering queue.
A 2D element which contains other OverlayElement instances.
ChildContainerMap mChildContainers
Map of container children (subset of mChildren)
Copyright © 2012 Torus Knot Software Ltd

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.