![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cXDesktopMgr.h>
Public Types | |
| enum | P_TYPE_ { P_QTY } |
| enum | M_TYPE_ { M_QTY } |
Public Member Functions | |
| cXDesktopMgr (void) | |
| ~cXDesktopMgr () | |
| virtual const char * | get_NameCPtr () const |
| Render type must have a name. More... | |
| STDMETHOD_ (cString, get_Name)() const | |
| virtual HRESULT | OneTimeSceneInit () |
| void | PartialCleanup () |
| virtual void | FinalCleanup () |
| virtual HRESULT | InitDeviceObjects (IDirect3DDevice9 *pDev) |
| virtual HRESULT | DeleteDeviceObjects () |
| virtual HRESULT | OnResetDeviceX () |
| virtual HRESULT | OnLostDeviceX () |
| virtual void | FrameMoveAll (TIMESECF_t fElapsedTime) |
| virtual HRESULT | RenderAll (CCamera *pCamera) |
| void | OnSize (UINT uType, int cx, int cy) |
| bool | OnMouseWheel (MBUTTON_TYPE uButton, int x, int y, short nWheelChange) |
| bool | OnMouse_GUI (WINMSG_t msg, int x, int y) |
| bool | OnMouse_Arrow (WINMSG_t msg, int x, int y) |
| void | OnCancelMode () |
| bool | OnKeyboardEvent (WINMSG_t msg, VK_TYPE vKey) |
| STDMETHOD() | s_PropGet (const cScriptableProp *pProp, OUT cVariant &vValRet) override |
| STDMETHOD() | s_PropPut (const cScriptableProp *pProp, const cVariant &vVal) override |
| STDMETHOD() | s_Invoke (const cScriptableMethod *pMethod, const cVariant &vArgs, OUT cVariant &vValRet) override |
| STDMETHOD() | SetObjStateLoaded () override |
| void | ButtonDrag_OnMouse (cXWindow *pDrag, cXWindow *pDragDummy, int x, int y, bool bTest) |
| void | SetMouseCapture (cXWindow *pWindow, MOUSEMODE_TYPE mode) |
| cXWindowPtr | GetConsumingControl (int x, int y, cXWindow *pIgnore) const |
| cXDTBasePtr | get_DesktopActive (void) const noexcept |
| void | put_DesktopActiveX (X_WNDCLASS_TYPE eXWClass) |
| void | SetScissorDesktop () |
| HRESULT | SetViewportDesktop () |
| cXWindowPtr | get_KeyFocus (void) const |
| bool | put_KeyFocus (cXWindow *pControl) |
| cXDialogPtr | get_DialogActive (void) const |
| void | put_DialogActive (cXDialog *pDialog) |
| void | put_DropListRoot (cXComboBox *pDropList) |
| cXDialogPtr | get_DialogModal (void) const |
| cXDialogPtr | put_DialogModal (cXDialog *pDialog) |
| HRESULT | DialogPlacementInit () |
| cXDialogPlacementPtr | DialogPlacementAlloc (X_WNDCLASS_TYPE eXWClass) |
| void | DialogPlacementRelease (cXDialogPlacementObj *pDP) |
| void | DialogPlacementExit () |
| bool | Menu_Close () |
| cXMenuPtr | Menu_Open (cXWindow *pParent, bool bContext=false) |
| bool | IsChildTypeOpen (X_WNDCLASS_TYPE xClassType, DLGID_t id=k_DLGID_ANY) const |
| CSCRIPT_CLASS_DEF1 (XDesktopMgr, cXObject) | |
| void | s_Update (P_TYPE_ iProp) |
Public Member Functions inherited from GrayLib::cScriptableObj | |
| virtual | ~cScriptableObj () |
| STDMETHOD_ (cScriptableInterfaceDefPtr, get_ScriptInterfaceDef)() const | |
| STDMETHOD() | s_PropGet (const cScriptableProp *pProp, OUT cVariant &vValRet) override |
| STDMETHOD() | s_PropPut (const cScriptableProp *pProp, const cVariant &vVal) override |
| STDMETHOD() | s_Invoke (const cScriptableMethod *pMethod, const cVariant &vArgs, OUT cVariant &vValRet) override |
| const cScriptableProp * | FindPropStr (const ATOMCHAR_t *pszPropName) const |
| const cScriptableMethod * | FindMethodStr (const ATOMCHAR_t *pszPropName) const |
| HRESULT | s_InvokeKey (const ATOMCHAR_t *pszMethodKey, const cVariant &vArgs, OUT cVariant &vValRet) |
| STDMETHOD_ (cVariant, s_Exec)(const ATOMCHAR_t *pszMethodKey | |
| STDMETHOD() | s_GetEnum (ITERATE_t i, OUT cStringA &rsPropName, OUT cVariant &rvValRet) override |
| STDMETHOD() | s_GetByName (const ATOMCHAR_t *pszPropName, OUT cVariant &rvValRet) override |
| STDMETHOD() | s_Put (const ATOMCHAR_t *pszPropName, const cVariant &vValSet) override |
| void | s_LoadPropsCommandLine (cAppArgs &args) |
| HRESULT | s_LoadPropsBase (IScriptableEnumerator &rProps) |
| HRESULT | s_LoadPropVar (const ATOMCHAR_t *pszPropName, const cVariant &vVal) |
| HRESULT | s_WritePropNULL (IScriptableSetter &s, const cScriptableProp *pProp) |
| HRESULT | s_WriteProp (IScriptableSetter &s, const cScriptableProp *pProp) |
| HRESULT | s_WritePropsClass (IScriptableSetter &s, const cScriptableInterfaceDef *pClass) |
| HRESULT | s_WritePropsArray (IScriptableSetter &s, const cScriptableProp *pProps, IScriptableObj *pDefaultSkip=nullptr) |
| STDMETHOD() | s_WriteProps (IScriptableSetter &s) |
| STDMETHOD_ (cVariant, s_Get)(const ATOMCHAR_t *pszPropName) | |
| cVariant | s_Get (const cScriptableProp &rProp) |
| STDMETHOD_ (cString, s_GetStr)(const ATOMCHAR_t *pszPropName) | |
| STDMETHOD_ (float, s_GetFloat)(const ATOMCHAR_t *pszPropName) | |
| STDMETHOD() | GetTypeInfoCount (UINT *pctinfo) |
Public Member Functions inherited from Gray3D::cDXRenderBatch | |
| cDXRenderBatch (void) | |
| virtual | ~cDXRenderBatch (void) |
| virtual void | PreRenderAll () |
| virtual void | UpdateD3DOffset (const cVector3f &vOffset) |
| bool | isStopped () const noexcept |
| void | put_Stopped (bool bStop) noexcept |
Public Member Functions inherited from Gray3D::cDXBase | |
| cDXBase (cDXDevice *pDXDev=nullptr) noexcept | |
| virtual | ~cDXBase () |
| ID3DDevice * | get_D3DDev () const noexcept |
| bool | isInitDevice () const noexcept |
| bool | isLostDevice () const noexcept |
| virtual HRESULT | InitDeviceObjects (cDXDevice *pDXDev) |
| UNITTEST_FRIEND (cDXBase) | |
Public Attributes | |
| cXDTBasePtr | m_pDTActive |
| cXDTBasePtr | m_pDTPrev |
| cXDTBasePtr | m_pDTDefault |
| cXDialogPtr | m_pDialogActive |
| cXDialogPtr | m_pDialogModal |
| cXWindowPtr | m_pKeyFocus |
| cPoint2i | m_pntDlgSpawnLocation |
| cArrayRef< cXDlgChatWindow > | m_aDlgChats |
| cXMenuPtr | m_pMenuRoot |
| cPoint2i | m_MenuPoint |
| cXObjectPtr | m_pContextMenuObject |
| cXObjectPtr | m_pContextMenuObject2 |
| cXComboBoxPtr | m_pDropListRoot |
| cXWindowPtr | m_pMouseCapture |
| cXDialogPtr | m_pButtonDragOver |
| bool | m_bGameRunning |
| cArraySortHash< cXDialogPlacementObj > | m_aPlacement |
Public Attributes inherited from GrayLib::cScriptableObj | |
| const cVariant & | vArgs = cVariant::k_VarNULL) |
Public Attributes inherited from Gray3D::cDXBase | |
| cDXDevice * | m_pDXDev |
| What device is this attached to (or should be)? InitDeviceObjects() was called and DeleteDeviceObjects() was not. More... | |
| cIUnkPtr< ID3DDevice > | m_pD3DDev |
Static Public Attributes | |
| static cScriptableProp | sm_Props [P_QTY+1] |
| static cScriptableMethod | sm_Methods [M_QTY+1] |
Additional Inherited Members | |
Static Public Member Functions inherited from GrayLib::cScriptableObj | |
| static HRESULT GRAYCALL | CopyAllProps (IScriptableSetter *pObjDest, IScriptableEnumerator &rProps, int iStart=0) |
Static Public Member Functions inherited from Gray::cSingletonStatic< cXDesktopMgr > | |
| static bool | isSingleCreated () noexcept |
| static cXDesktopMgr * | get_SingleU () noexcept |
| static cXDesktopMgr * | get_Single () |
| static TYPE2 *__stdcall | get_SingleCast () |
| static cXDesktopMgr & | I () noexcept |
Protected Member Functions inherited from Gray::cSingletonStatic< cXDesktopMgr > | |
| cSingletonStatic (cXDesktopMgr *pObject) noexcept | |
| virtual | ~cSingletonStatic () noexcept |
Static Protected Attributes inherited from Gray::cSingletonStatic< cXDesktopMgr > | |
| static cXDesktopMgr * | sm_pThe |
| pointer to the one and only object of this TYPE. ASSUME automatically init to = nullptr. More... | |
| GrayGUI::cXDesktopMgr::cXDesktopMgr | ( | void | ) |
| GrayGUI::cXDesktopMgr::~cXDesktopMgr | ( | void | ) |
| void GrayGUI::cXDesktopMgr::ButtonDrag_OnMouse | ( | cXWindow * | pDrag, |
| cXWindow * | pDragDummy, | ||
| int | x, | ||
| int | y, | ||
| bool | bTest | ||
| ) |
| GrayGUI::cXDesktopMgr::CSCRIPT_CLASS_DEF1 | ( | XDesktopMgr | , |
| cXObject | |||
| ) |
|
virtual |
Reimplemented from Gray3D::cDXBase.
| cXDialogPlacementPtr GrayGUI::cXDesktopMgr::DialogPlacementAlloc | ( | X_WNDCLASS_TYPE | eXWClass | ) |
| void GrayGUI::cXDesktopMgr::DialogPlacementExit | ( | ) |
| HRESULT GrayGUI::cXDesktopMgr::DialogPlacementInit | ( | ) |
| void GrayGUI::cXDesktopMgr::DialogPlacementRelease | ( | cXDialogPlacementObj * | pDP | ) |
|
virtual |
Reimplemented from Gray3D::cDXRenderBatch.
|
virtual |
Reimplemented from Gray3D::cDXRenderBatch.
|
inlinenoexcept |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
Render type must have a name.
Implements Gray3D::cDXRenderBatch.
| cXWindowPtr GrayGUI::cXDesktopMgr::GetConsumingControl | ( | int | x, |
| int | y, | ||
| cXWindow * | pIgnore | ||
| ) | const |
|
virtual |
| bool GrayGUI::cXDesktopMgr::IsChildTypeOpen | ( | X_WNDCLASS_TYPE | xClassType, |
| DLGID_t | id = k_DLGID_ANY |
||
| ) | const |
| bool GrayGUI::cXDesktopMgr::Menu_Close | ( | ) |
| void GrayGUI::cXDesktopMgr::OnCancelMode | ( | ) |
|
virtual |
Reimplemented from Gray3D::cDXRenderBatch.
All the keys sent via the _WIN32. 2 async key sources is weird true.
|
virtual |
Reimplemented from Gray3D::cDXBase.
| bool GrayGUI::cXDesktopMgr::OnMouse_Arrow | ( | WINMSG_t | msg, |
| int | x, | ||
| int | y | ||
| ) |
MOUSEMODE_Arrow or MOUSEMODE_GUIButtonDrag Windows mouse cursor to be distributed to my controls.
| bool GrayGUI::cXDesktopMgr::OnMouse_GUI | ( | WINMSG_t | msg, |
| int | x, | ||
| int | y | ||
| ) |
| bool GrayGUI::cXDesktopMgr::OnMouseWheel | ( | MBUTTON_TYPE | uButton, |
| int | x, | ||
| int | y, | ||
| short | nWheelChange | ||
| ) |
|
virtual |
Reimplemented from Gray3D::cDXBase.
| void GrayGUI::cXDesktopMgr::OnSize | ( | UINT | uType, |
| int | cx, | ||
| int | cy | ||
| ) |
| void GrayGUI::cXDesktopMgr::PartialCleanup | ( | ) |
| void GrayGUI::cXDesktopMgr::put_DesktopActiveX | ( | X_WNDCLASS_TYPE | eXWClass | ) |
| void GrayGUI::cXDesktopMgr::put_DialogActive | ( | cXDialog * | pDialog | ) |
| cXDialogPtr GrayGUI::cXDesktopMgr::put_DialogModal | ( | cXDialog * | pDialog | ) |
| void GrayGUI::cXDesktopMgr::put_DropListRoot | ( | cXComboBox * | pDropList | ) |
| bool GrayGUI::cXDesktopMgr::put_KeyFocus | ( | cXWindow * | pControl | ) |
|
virtual |
Reimplemented from Gray3D::cDXRenderBatch.
|
override |
|
override |
|
override |
| void GrayGUI::cXDesktopMgr::s_Update | ( | P_TYPE_ | iProp | ) |
| void GrayGUI::cXDesktopMgr::SetMouseCapture | ( | cXWindow * | pWindow, |
| MOUSEMODE_TYPE | mode | ||
| ) |
|
override |
| void GrayGUI::cXDesktopMgr::SetScissorDesktop | ( | ) |
| HRESULT GrayGUI::cXDesktopMgr::SetViewportDesktop | ( | ) |
|
inline |
| cArrayRef<cXDlgChatWindow> GrayGUI::cXDesktopMgr::m_aDlgChats |
| cArraySortHash<cXDialogPlacementObj> GrayGUI::cXDesktopMgr::m_aPlacement |
| bool GrayGUI::cXDesktopMgr::m_bGameRunning |
| cPoint2i GrayGUI::cXDesktopMgr::m_MenuPoint |
| cXDialogPtr GrayGUI::cXDesktopMgr::m_pButtonDragOver |
| cXObjectPtr GrayGUI::cXDesktopMgr::m_pContextMenuObject |
| cXObjectPtr GrayGUI::cXDesktopMgr::m_pContextMenuObject2 |
| cXDialogPtr GrayGUI::cXDesktopMgr::m_pDialogActive |
| cXDialogPtr GrayGUI::cXDesktopMgr::m_pDialogModal |
| cXComboBoxPtr GrayGUI::cXDesktopMgr::m_pDropListRoot |
| cXDTBasePtr GrayGUI::cXDesktopMgr::m_pDTActive |
| cXDTBasePtr GrayGUI::cXDesktopMgr::m_pDTDefault |
| cXDTBasePtr GrayGUI::cXDesktopMgr::m_pDTPrev |
| cXWindowPtr GrayGUI::cXDesktopMgr::m_pKeyFocus |
| cXMenuPtr GrayGUI::cXDesktopMgr::m_pMenuRoot |
| cXWindowPtr GrayGUI::cXDesktopMgr::m_pMouseCapture |
| cPoint2i GrayGUI::cXDesktopMgr::m_pntDlgSpawnLocation |
|
static |
|
static |