Lugre::cDialogManager Class Reference

singleton, dialog factory and central dialog list More...

#include <lugre_widget.h>

List of all members.

Public Member Functions

 cDialogManager ()
cDialogMyCreateDialog ()
void DestroyDialog (cDialog *pDialog)
void BringToFront (cDialog *pDialog)
 dialog will be in front of all others
void SendToBack (cDialog *pDialog)
 dialog will be behind all others
void Reorder ()
 recalculates zorder of all dialogs, don't call directly, called from other methods
cDialogGetDialogUnderPos (const size_t x, const size_t y)
 returns the topmost dialog the mouse is over
cWidgetGetWidgetUnderPos (const size_t x, const size_t y)

Static Public Member Functions

static cDialogManagerGetSingleton ()

Public Attributes

std::list< cDialog * > mlDialogs


Detailed Description

singleton, dialog factory and central dialog list

Definition at line 45 of file lugre_widget.h.


Constructor & Destructor Documentation

Lugre::cDialogManager::cDialogManager (  ) 

Definition at line 25 of file lugre_widget.cpp.

Referenced by GetSingleton().


Member Function Documentation

static cDialogManager& Lugre::cDialogManager::GetSingleton (  )  [inline, static]

cDialog * Lugre::cDialogManager::MyCreateDialog (  ) 

void Lugre::cDialogManager::DestroyDialog ( cDialog pDialog  ) 

void Lugre::cDialogManager::BringToFront ( cDialog pDialog  ) 

dialog will be in front of all others

Definition at line 46 of file lugre_widget.cpp.

References mlDialogs, and Reorder().

Referenced by Lugre::cDialog::BringToFront().

void Lugre::cDialogManager::SendToBack ( cDialog pDialog  ) 

dialog will be behind all others

Definition at line 52 of file lugre_widget.cpp.

References mlDialogs, and Reorder().

Referenced by Lugre::cDialog::SendToBack().

void Lugre::cDialogManager::Reorder (  ) 

recalculates zorder of all dialogs, don't call directly, called from other methods

Definition at line 58 of file lugre_widget.cpp.

References kWidgetDialogOverlayZOrderScale, kWidgetDialogOverlayZOrderStart, and mlDialogs.

Referenced by BringToFront(), DestroyDialog(), and SendToBack().

cDialog * Lugre::cDialogManager::GetDialogUnderPos ( const size_t  x,
const size_t  y 
)

returns the topmost dialog the mouse is over

returns the topmost dialog the mouse is over, obsolete (07.10.2006)

Definition at line 65 of file lugre_widget.cpp.

References mlDialogs.

cWidget * Lugre::cDialogManager::GetWidgetUnderPos ( const size_t  x,
const size_t  y 
)

Definition at line 72 of file lugre_widget.cpp.

References mlDialogs.

Referenced by Lugre::cWidget_L::GetWidgetUnderPos().


Member Data Documentation


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

Generated on Wed Feb 8 06:00:22 2012 for cpp by  doxygen 1.5.6