Lugre::cSortedOverlayContainer Class Reference

#include <lugre_SortedOverlayContainer.h>

Inheritance diagram for Lugre::cSortedOverlayContainer:

Inheritance graph
[legend]
Collaboration diagram for Lugre::cSortedOverlayContainer:

Collaboration graph
[legend]

List of all members.

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"


Detailed Description

Definition at line 39 of file lugre_SortedOverlayContainer.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


Member Data Documentation

String Lugre::cSortedOverlayContainer::msTypeName = "SortedOverlayContainer" [static]

the zorder differents between ranks

Definition at line 42 of file lugre_SortedOverlayContainer.h.

Referenced by _notifyZOrder(), and SetRankFactor().


The documentation for this class was generated from the following files:

Generated on Thu Feb 9 06:00:23 2012 for cpp by  doxygen 1.5.6