14#ifndef __SWINDOWMGR__H__
15#define __SWINDOWMGR__H__
17#include <core/SSingletonMap.h>
18#include <core/SDefine.h>
33class SOUI_EXP
SWindowMgr :
public SSingletonMap<SWindowMgr, SWindow *, SWND> {
34 SINGLETON2_TYPE(SINGLETON_SWNDMGR)
Header file for SCriticalSection and SAutoLock classes.
Wrapper class for a critical section.
Base class for SOUI DUI windows.
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 BOOL DestroyWindow(SWND swnd)
Destroys a window with the specified handle.
static SWND NewWindow(SWindow *pWnd)
Assigns a handle to a new SWindow.