#include <lugre_SortedOverlayContainer.h>


Public Member Functions | |
| cSortedOverlayContainer (const Ogre::String &name) | |
| virtual | ~cSortedOverlayContainer () |
| void | SetRankFactor (const int iRankFactor) |
| int | GetChildRank (Ogre::OverlayElement *elem) |
| void | ChildBringToFront (Ogre::OverlayElement *child) |
| void | ChildSendToBack (Ogre::OverlayElement *child) |
| void | ChildInsertAfter (Ogre::OverlayElement *child, Ogre::OverlayElement *other) |
| void | ChildInsertBefore (Ogre::OverlayElement *child, Ogre::OverlayElement *other) |
| virtual void | addChildImpl (Ogre::OverlayElement *elem) |
| virtual void | removeChild (const Ogre::String &name) |
| virtual void | _notifyZOrder (Ogre::ushort newZOrder) |
| virtual const Ogre::String & | getTypeName (void) const |
Static Public Member Functions | |
| static void | RegisterFactory () |
| should be called once at programmstart after initialising ogre::root | |
Public Attributes | |
| std::list< OverlayElement * > | mlSortedList |
| int | miRankFactor |
| the zorder differents between ranks | |
Static Public Attributes | |
| static Ogre::String | msTypeName = "SortedOverlayContainer" |
Definition at line 39 of file lugre_SortedOverlayContainer.h.
| Lugre::cSortedOverlayContainer::cSortedOverlayContainer | ( | const Ogre::String & | name | ) |
Definition at line 41 of file lugre_SortedOverlayContainer.cpp.
| Lugre::cSortedOverlayContainer::~cSortedOverlayContainer | ( | ) | [virtual] |
Definition at line 44 of file lugre_SortedOverlayContainer.cpp.
| void Lugre::cSortedOverlayContainer::RegisterFactory | ( | ) | [static] |
should be called once at programmstart after initialising ogre::root
Reimplemented from Lugre::cColourClipPaneOverlay.
Definition at line 31 of file lugre_SortedOverlayContainer.cpp.
Referenced by Lugre::cOgreWrapper::CreateOgreWindow().
| void Lugre::cSortedOverlayContainer::SetRankFactor | ( | const int | iRankFactor | ) |
Definition at line 46 of file lugre_SortedOverlayContainer.cpp.
References _notifyZOrder(), and miRankFactor.
| int Lugre::cSortedOverlayContainer::GetChildRank | ( | Ogre::OverlayElement * | elem | ) |
| void Lugre::cSortedOverlayContainer::ChildBringToFront | ( | Ogre::OverlayElement * | child | ) |
Definition at line 51 of file lugre_SortedOverlayContainer.cpp.
References _notifyZOrder(), and mlSortedList.
| void Lugre::cSortedOverlayContainer::ChildSendToBack | ( | Ogre::OverlayElement * | child | ) |
Definition at line 57 of file lugre_SortedOverlayContainer.cpp.
References _notifyZOrder(), and mlSortedList.
| void Lugre::cSortedOverlayContainer::ChildInsertAfter | ( | Ogre::OverlayElement * | child, | |
| Ogre::OverlayElement * | other | |||
| ) |
Definition at line 63 of file lugre_SortedOverlayContainer.cpp.
References _notifyZOrder(), and mlSortedList.
| void Lugre::cSortedOverlayContainer::ChildInsertBefore | ( | Ogre::OverlayElement * | child, | |
| Ogre::OverlayElement * | other | |||
| ) |
Definition at line 72 of file lugre_SortedOverlayContainer.cpp.
References _notifyZOrder(), and mlSortedList.
| virtual void Lugre::cSortedOverlayContainer::addChildImpl | ( | Ogre::OverlayElement * | elem | ) | [virtual] |
Adds another OverlayElement to this container.
| virtual void Lugre::cSortedOverlayContainer::removeChild | ( | const Ogre::String & | name | ) | [virtual] |
Add a nested container to this container.
| void Lugre::cSortedOverlayContainer::_notifyZOrder | ( | Ogre::ushort | newZOrder | ) | [virtual] |
Overridden from OverlayElement.
Definition at line 118 of file lugre_SortedOverlayContainer.cpp.
References miRankFactor, and mlSortedList.
Referenced by ChildBringToFront(), ChildInsertAfter(), ChildInsertBefore(), ChildSendToBack(), and SetRankFactor().
| const String & Lugre::cSortedOverlayContainer::getTypeName | ( | void | ) | const [virtual] |
See OverlayElement.
Reimplemented from Lugre::cColourClipPaneOverlay.
Definition at line 134 of file lugre_SortedOverlayContainer.cpp.
References msTypeName.
String Lugre::cSortedOverlayContainer::msTypeName = "SortedOverlayContainer" [static] |
Reimplemented from Lugre::cColourClipPaneOverlay.
Definition at line 40 of file lugre_SortedOverlayContainer.h.
Referenced by getTypeName(), and Lugre::SortedOverlayContainerElementFactory::getTypeName().
| std::list<OverlayElement*> Lugre::cSortedOverlayContainer::mlSortedList |
Definition at line 41 of file lugre_SortedOverlayContainer.h.
Referenced by _notifyZOrder(), ChildBringToFront(), ChildInsertAfter(), ChildInsertBefore(), and ChildSendToBack().
the zorder differents between ranks
Definition at line 42 of file lugre_SortedOverlayContainer.h.
Referenced by _notifyZOrder(), and SetRankFactor().
1.5.6