#include <lugre_widget.h>
Public Member Functions | |
| cDialogManager () | |
| cDialog * | MyCreateDialog () |
| 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 | |
| cDialog * | GetDialogUnderPos (const size_t x, const size_t y) |
| returns the topmost dialog the mouse is over | |
| cWidget * | GetWidgetUnderPos (const size_t x, const size_t y) |
Static Public Member Functions | |
| static cDialogManager & | GetSingleton () |
Public Attributes | |
| std::list< cDialog * > | mlDialogs |
Definition at line 45 of file lugre_widget.h.
| Lugre::cDialogManager::cDialogManager | ( | ) |
| static cDialogManager& Lugre::cDialogManager::GetSingleton | ( | ) | [inline, static] |
Definition at line 48 of file lugre_widget.h.
References cDialogManager().
Referenced by Lugre::cDialog::BringToFront(), Lugre::cDialog_L::Destroy(), Lugre::cWidget_L::GetWidgetUnderPos(), Lugre::cDialog_L::MyCreateDialog(), and Lugre::cDialog::SendToBack().
| cDialog * Lugre::cDialogManager::MyCreateDialog | ( | ) |
Definition at line 28 of file lugre_widget.cpp.
References kWidgetDialogOverlayZOrderScale, kWidgetDialogOverlayZOrderStart, and mlDialogs.
Referenced by Lugre::cDialog_L::MyCreateDialog().
| void Lugre::cDialogManager::DestroyDialog | ( | cDialog * | pDialog | ) |
Definition at line 34 of file lugre_widget.cpp.
References Lugre::cDialog::DestroyWidget(), mlDialogs, Lugre::cDialog::mlRootWidget, and Reorder().
Referenced by Lugre::cDialog_L::Destroy().
| 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().
| std::list<cDialog*> Lugre::cDialogManager::mlDialogs |
Definition at line 66 of file lugre_widget.h.
Referenced by BringToFront(), DestroyDialog(), GetDialogUnderPos(), GetWidgetUnderPos(), MyCreateDialog(), Reorder(), and SendToBack().
1.5.6