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