Manages DUI windows in the SOUI system. More...
#include <SWindowMgr.h>
Public Types | |
| enum | { SWND_INVALID = 0 } |
| Invalid window handle constant. More... | |
Public Member Functions | |
| SWindowMgr () | |
| Constructor. | |
| ~SWindowMgr () | |
| Destructor. | |
Static Public Member Functions | |
| static SWindow * | GetWindow (SWND swnd) |
| Retrieves the SWindow pointer from a given handle. | |
| static bool | IsWindow (SWND swnd) |
| Checks if a given handle is a valid window handle. | |
| static SWND | NewWindow (SWindow *pWnd) |
| Assigns a handle to a new SWindow. | |
| static BOOL | DestroyWindow (SWND swnd) |
| Destroys a window with the specified handle. | |
Protected Attributes | |
| SCriticalSection | m_lockWndMap |
| SWND | m_hNextWnd |
Manages DUI windows in the SOUI system.
This class is responsible for managing the creation, retrieval, and destruction of DUI windows. It uses a singleton pattern to ensure a single instance of the manager and provides methods to interact with the windows.
Definition at line 33 of file SWindowMgr.h.
| anonymous enum |
Invalid window handle constant.
Definition at line 40 of file SWindowMgr.h.
| SNSBEGIN SWindowMgr::SWindowMgr | ( | ) |
Constructor.
Definition at line 7 of file SWindowMgr.cpp.
| SWindowMgr::~SWindowMgr | ( | ) |
Destructor.
Definition at line 12 of file SWindowMgr.cpp.
|
static |
Destroys a window with the specified handle.
| swnd | Handle of the window to destroy. |
Definition at line 43 of file SWindowMgr.cpp.
|
static |
Retrieves the SWindow pointer from a given handle.
| swnd | Handle of the window to retrieve. |
Definition at line 17 of file SWindowMgr.cpp.
|
static |
Checks if a given handle is a valid window handle.
| swnd | Handle to check. |
Definition at line 27 of file SWindowMgr.cpp.
|
static |
Assigns a handle to a new SWindow.
| pWnd | Pointer to the SWindow to assign a handle to. |
Definition at line 33 of file SWindowMgr.cpp.
|
protected |
Definition at line 85 of file SWindowMgr.h.
|
protected |
Definition at line 84 of file SWindowMgr.h.