|
| | cXStaticMulti (cXWindow *pParent, DLGID_t id=k_DLGID_Static) |
| |
| | ~cXStaticMulti () |
| |
| cXStaticTextBlockPtr | get_Block (int i) const |
| |
| void | put_AutoSizePercentMax (int iAutoSizePercent) |
| |
| int | get_AutoSizePercentMax () const |
| |
| void | put_DisplayTopBlock (int iDisplayTop) |
| |
| int | get_DisplayTopBlock () const |
| |
| int | get_BlockCount () const |
| |
| int | get_DisplayBlockCount () const |
| |
| int | get_DisplayTopLine () const |
| |
| int | get_MaxVisibleLines () |
| |
| int | get_BlockLines (int iBlock) const |
| |
| void | put_WordWrap (bool bWrap) |
| |
| virtual void | put_Text (const GChar_t *pszText) |
| |
| int | GetBlockFromLine (int iLine) const |
| |
| int | GetBlockOffsetFromLine (int iLine) const |
| |
| void | put_DisplayTopLine (int iLine) |
| |
| void | InvalidateDisplay () |
| |
| DWORD | GetTextFormatMod (DWORD dwFormatMod=0) const |
| |
| void | ClearText () |
| |
| cXStaticTextBlockPtr | AppendText (const GChar_t *pszText, D3DCOLOR TextColor=D3DCOLOR_XRGB(0, 0, 0), DWORD dwTextFormat=DT_LEFT, cRefBase *pUserData=nullptr) |
| |
| bool | CalcTextBlocks () |
| |
| void | put_TextColorAll (D3DCOLOR color) |
| |
| cXStaticTextBlockPtr | FindHitLocation (int x, int y) |
| |
| void | FitTextToWindow (float fScale=1.00) |
| |
| void | FitWindowToText (void) |
| |
| void | RemoveBlockAt (int iBlock) |
| |
| void | SetTextParagraphs (char *pszText) |
| |
| bool | SetTextFromFile (cFile &file) |
| |
| virtual bool | OnRender () |
| |
| virtual void | OnSize (UINT uType, int cx, int cy) |
| |
| | cXWindowText (X_WNDCLASS_TYPE eXWClass, cXWindow *pParent, DLGID_t dlgid=k_DLGID_Static, UID_t uid=cUID::k_CLEAR) |
| |
| virtual | ~cXWindowText () |
| |
| virtual void | put_FontPtr (const cFontBase *pFont) override |
| |
| virtual HRESULT | InitDeviceObjects (cDXDevice *pDXDev) |
| |
| virtual HRESULT | DeleteDeviceObjects () |
| |
| virtual HRESULT | OnLostDeviceX () |
| |
| virtual HRESULT | OnResetDeviceX () |
| |
| | cXWindow (X_WNDCLASS_TYPE eXWClass, cXWindow *pParent, DLGID_t dlgid=k_DLGID_Static, UID_t uid=cUID::k_CLEAR) |
| |
| virtual | ~cXWindow () |
| |
| virtual HRESULT | DisposeThis () |
| | utility More...
|
| |
| virtual bool | InitXWindow () |
| |
| | STDMETHOD_ (XOBJTID_t, get_XObjTypeId)() const |
| |
| X_WNDCLASS_TYPE | get_XWType () const |
| |
| const ATOMCHAR_t * | get_XWTypeName () const |
| |
| | STDMETHOD_ (cString, get_Name)() const override |
| |
| virtual cXObjectPtr | get_ContainerObject () const override |
| |
| cXDialogPtr | get_DialogParent () const |
| |
| STDMETHOD() | s_PropGet (const cScriptableProp *pProp, cVariant &vValRet) override |
| |
| STDMETHOD() | s_PropPut (const cScriptableProp *pProp, const cVariant &vVal) override |
| |
| STDMETHOD() | s_Invoke (const cScriptableMethod *pMethod, const cVariant &vArgs, cVariant &vValRet) override |
| |
| | CSCRIPT_CLASS_DEF1 (XWindow, cXObject) |
| |
| void | s_Update (P_TYPE_ eProp) |
| |
| virtual void | ShowWindow (SHOWWINDOW_t nCmdShow=SW_SHOW) |
| |
| void | ShowWindowBool (bool bShow) |
| |
| bool | IsWindowVisible (void) const noexcept |
| |
| bool | IsWindowEnabled (void) const noexcept |
| |
| void | EnableWindow (bool bClickable) |
| |
| bool | IsZoomed (void) const noexcept |
| |
| bool | IsIconic (void) const noexcept |
| |
| bool | IsWindowOpen () const noexcept |
| |
| bool | IsStyle (DWORD dwStyle) const noexcept |
| |
| DWORD | get_Style (void) const noexcept |
| |
| virtual void | put_Style (DWORD dwStyle) |
| |
| void | ModifyStyle (DWORD dwStyleAdd, DWORD dwStyleRem=0) |
| |
| void | ModifyStyleBool (DWORD dwStyleMod, bool bFlag) |
| |
| bool | IsExStyle (DWORD dwStyle) const noexcept |
| |
| void | put_ExStyle (DWORD dwStyle) |
| |
| WINFLAG_MASK | get_Flags (void) const noexcept |
| |
| void | put_Flags (WINFLAG_MASK uiFlags) |
| |
| bool | HasFlags (WINFLAG_MASK uiFlags) const noexcept |
| |
| virtual void | ModifyFlags (WINFLAG_MASK uiFlagsAdd, WINFLAG_MASK uiFlagsRem=0) |
| |
| WINDOCKFLAG_MASK | get_DockFlags (void) const noexcept |
| |
| void | put_DockFlags (WINDOCKFLAG_MASK dock) |
| |
| bool | ConstrainDocking (void) |
| |
| DLGID_t | get_DlgID (void) const noexcept |
| |
| void | put_DlgID (DLGID_t id) |
| |
| DLGID_t | get_HelpID () const |
| |
| cDXSpriteElem & | get_TextureDC (void) |
| |
| PIXELS_t | get_XPos (void) const noexcept |
| |
| PIXELS_t | get_YPos (void) const noexcept |
| |
| PIXELS_t | get_Width (void) const noexcept |
| |
| PIXELS_t | get_Height (void) const noexcept |
| |
| void | MoveWindow (PIXELS_t xParent, PIXELS_t yParent, PIXELS_t width, PIXELS_t height) |
| |
| void | MoveWindow (const cRectI &rect) |
| |
| const cRectI & | get_WindowRect (void) const noexcept |
| |
| void | CvtWindowToApp (cPoint2i *pPoint) const |
| |
| void | CvtWindowToApp (cPoint2i *pPoint, PIXELS_t x, PIXELS_t y) const |
| |
| void | CvtAppToWindow (cPoint2i *pPoint) const |
| |
| void | CvtAppToWindow (cPoint2i *pPoint, PIXELS_t x, PIXELS_t y) const |
| |
| HRESULT | SetViewportWindow (cPoint2i &ptAbsolutePos) |
| |
| void | SetScissorWindow (cPoint2i &ptAbsolutePos) |
| |
| bool | IsPointIntersect (PIXELS_t x, PIXELS_t y) const |
| |
| bool | IsAppIntersect (PIXELS_t x, PIXELS_t y) const |
| |
| bool | IsCursorIntersect () const |
| |
| void | ScaleAll (FLOAT fScale) |
| |
| void | MoveToFront () |
| |
| bool | MoveToFront (cXWindow *pChildControl) |
| |
| virtual void | Render () |
| |
| void | RenderChildren () |
| |
| virtual void | SetWidthHeight (PIXELS_t Width, PIXELS_t Height) |
| |
| virtual void | SetXYPos (PIXELS_t X, PIXELS_t Y) |
| |
| void | SetXYCenter () |
| |
| void | GetSizeParent (SIZE &sizeparent) const |
| |
| virtual bool | OnMouseDown (MBUTTON_TYPE uButton, PIXELS_t x, PIXELS_t y) |
| |
| virtual bool | OnMouseWheel (MBUTTON_TYPE uButton, PIXELS_t x, PIXELS_t y, short nWheelChange) |
| |
| virtual bool | OnMouseMove (MBUTTON_TYPE uButton, PIXELS_t x, PIXELS_t y) |
| |
| virtual bool | OnMouseUp (MBUTTON_TYPE uButton, PIXELS_t x, PIXELS_t y) |
| |
| virtual bool | OnMouseDblClk (MBUTTON_TYPE uButton, PIXELS_t x, PIXELS_t y) |
| |
| virtual bool | OnKeyDown (VK_TYPE vKey) |
| |
| virtual bool | OnKeyUp (VK_TYPE vKey) |
| |
| virtual bool | OnChar (VK_TYPE vKey) |
| |
| virtual bool | OnCommand (DLGID_t id, cXWindow *pCtrl, WORD wNotify) |
| |
| virtual DWORD | OnNCHitTest (int x, int y) const |
| |
| virtual bool | OnDrop (cXWindow *pDragged, cXWindow *pConsumer, bool bTest) |
| |
| virtual void | OnCancelMode () |
| |
| virtual void | OnShowWindow (bool bShow, UINT nShowWindowCode) |
| |
| virtual bool | OnKeyFocus (bool bActive) |
| |
| virtual bool | OnHelp () const |
| |
| virtual void | OnScroll (int iPos, cXWindow *pCtrl) |
| |
| virtual void | OnContextMenu (cXMenu *pMenu, cXWindow *pCtrl) |
| |
| void | FrameMoveTick (TIMESYS_t timeNow) |
| |
| virtual void | onTick (void) |
| |
| virtual bool | CanTakeMouseInput () const |
| |
| int | get_ChildQty () const noexcept |
| |
| cXWindowPtr | EnumChild (ITERATE_t index) const |
| |
| bool | IsChildTypeOpen (X_WNDCLASS_TYPE xClassType, DLGID_t id=k_DLGID_ANY) const |
| |
| cXWindowPtr | FindChildByType (X_WNDCLASS_TYPE XClassType, DLGID_t id=k_DLGID_ANY) const |
| |
| cXWindowPtr | GetDlgItem (DLGID_t id, int iDescendChildren=0) const |
| |
| int | AddChildWindow (cXWindow *pChild, bool bAddBottom=false, SHOWWINDOW_t nShowCmd=SW_SHOWNORMAL) |
| |
| void | GetWidthHeightForChildren (OUT cRectI &rect, PIXELS_t dx, PIXELS_t dy) |
| |
| bool | IsMyDescendant (const cXWindow *pChild) const |
| |
| virtual cXWindowPtr | GetConsumingControl (int x, int y, cXWindow *pIgnore=nullptr) const |
| |
| bool | DetachFromParent () |
| |
| void | EnableWindowRange (DLGID_t idStart, DLGID_t idEnd, bool bEnable) |
| |
| bool | SendCommand (WORD wNotify) const |
| |
| cXWindowPtr | get_ParentWindow (void) const noexcept |
| |
| virtual bool | LoadTextureFromFile (const FILECHAR_t *File, TEXTURELOAD_t uLoadFlags=TEXTURELOAD_NOP) |
| |
| void | LoadTextureBlank () |
| |
| bool | LoadTextureStyleElem (XSTYLE_ELEM_TYPE eStyleElem, TEXTURELOAD_t uLoadFlags=TEXTURELOAD_NOP) |
| |
| bool | LoadTextureIcon (SPRITEID_t iIconIndex) |
| |
| COLOR_ELEM_t | get_BackAlpha () const noexcept |
| |
| virtual void | put_BackAlpha (COLOR_ELEM_t bAlpha) |
| |
| D3DCOLOR | get_BackColor () const |
| |
| void | put_BackColor (D3DCOLOR color) |
| |
| D3DCOLOR | get_NormalColor () const |
| |
| void | put_NormalColor (D3DCOLOR color) |
| |
| void | put_ToolTip (const GChar_t *pstrToolTip) |
| |
| virtual cString | GetToolTip (cXWindow *pCtrl, int x, int y) const |
| |
| virtual cString | get_Text () const |
| |
| bool | SetKeyFocus () |
| |
| void | put_TickTimer (TIMESYSD_t dwTimeInc) |
| |
| virtual cScriptableInterfaceDefPtr _stdcall | get_ScriptInterfaceDef () const |
| |
| | cXObject (UID_t nUID=cUID::k_CLEAR, cXObjDef *pBaseDef=nullptr) |
| |
| virtual | ~cXObject () |
| |
| virtual bool | isValidCheck () const noexcept override |
| |
| | STDMETHOD_ (XOBJTID_t, get_XObjTypeId)() const |
| |
| const ATOMCHAR_t * | get_XObjTypeName () const |
| |
| virtual int | get_BaseRefCount () const |
| |
| bool | isValidUID () const noexcept |
| |
| UID_t | get_UIDValue () const noexcept |
| |
| UID_t | get_HashCode () const noexcept |
| |
| | STDMETHOD_ (HASHCODE_t, get_HashCodeX)() const noexcept override |
| |
| void | put_UIDValuePrivate (UID_t dwIndex) |
| |
| | STDMETHOD_ (void, put_UIDValue)(UID_t dwIndex) |
| |
| | STDMETHOD_ (cString, get_Name)() const override |
| |
| STDMETHOD() | put_Name (cString sName) |
| |
| | STDMETHOD_ (cString, get_NameDeco)() const |
| |
| | STDMETHOD_ (cStringA, get_SymName)() const override |
| |
| STDMETHOD() | put_SymName (cAtomRef aSymName, bool bOverwrite=false) |
| |
| HRESULT | put_SymName2 (cAtomRef aSymName) |
| |
| cXObjDef * | get_BaseDef () const |
| |
| virtual bool | put_BaseDef (cXObjDef *pDef) |
| |
| | STDMETHOD_ (cAtomRef, get_BaseSymNameA)() const |
| | shortcut for symbolic name for get_BaseDef() More...
|
| |
| virtual cVariant | get_ContainerVar () const |
| |
| STDMETHOD() | put_ContainerVar (const cVariant &vVal) |
| |
| bool | isMyContainer (const cXObject *pObjParent) const |
| |
| void | InitObjState () |
| |
| XObjState_TYPE | get_ObjState () const noexcept |
| |
| bool | put_ObjState (XObjState_TYPE eObjState) |
| |
| bool | isObjStateLoading () const noexcept |
| |
| bool | isObjStateLoading1 () const noexcept |
| |
| bool | isObjStateLoaded () const noexcept |
| |
| bool | isObjStateModified () const noexcept |
| |
| bool | isObjStateDisposed () const noexcept |
| |
| bool | isObjStateBad () const noexcept |
| |
| STDMETHOD() | SetObjStateLoaded () |
| | extra cleanup at the end of the load. More...
|
| |
| void | SetObjStateBad () |
| |
| void | SetObjStateModified () |
| |
| void | ClearObjStateModified () |
| |
| const cTimeInt & | get_TimeSaved () const noexcept |
| |
| void | put_TimeSaved (cTimeInt timeSaved) |
| |
| void | UpdateTimeSaved () |
| |
| virtual cVarTuplePtr | FindTagA (cAtomRef aTagName) const |
| | extra Properties/Tags More...
|
| |
| cVarTuplePtr | FindTag (const ATOMCHAR_t *pszTagName) const |
| |
| void | s_WritePropsTags (IScriptableSetter &Update) |
| |
| STDMETHOD() | s_PropPut (const cScriptableProp *pProp, const cVariant &vVal) override |
| |
| STDMETHOD() | s_PropGet (const cScriptableProp *pProp, OUT cVariant &vValRet) override |
| |
| STDMETHOD() | s_Invoke (const cScriptableMethod *pMethod, const cVariant &vArgs, OUT cVariant &vValRet) override |
| |
| STDMETHOD() | s_GetByName (const ATOMCHAR_t *pszPropName, OUT cVariant &rvValRet) override |
| |
| STDMETHOD() | s_TagPut (const ATOMCHAR_t *pszTagName, const cVariant &vValSet) |
| |
| STDMETHOD() | s_TagGet (const ATOMCHAR_t *pszTagName, OUT cVariant &vValRet) |
| |
| STDMETHOD() | s_LoadProps (IScriptableEnumerator &rProps) |
| |
| STDMETHOD() | s_EventSinkAdd (cXObjDef *pXObjDef, bool bRemove=false) |
| |
| cStringA | s_PropGetDumpStr (const cScriptableProp *pProp, XOBJ_DUMP_MASK_t uFlags=0) |
| | Enumerate methods and props. reflection/introspection. More...
|
| |
| HRESULT | s_DumpKeys (cStreamOutput &rout, XOBJ_DUMP_MASK_t uFlags, const cScriptableProp *const *ppProps, ITERATE_t iQty) |
| |
| HRESULT | s_DumpHelp (cStreamOutput &rout, const cVariant &vArgs) |
| |
| virtual XOBJ_WEIRD_t | IsWeird () const |
| |
| virtual XOBJ_WEIRD_t | FixWeird () |
| |
| virtual size_t | GetHeapStats (OUT ITERATE_t &iAllocCount) const |
| | allocs for all children. does NOT include sizeof(*this) More...
|
| |
| | IUNKNOWN_DISAMBIG_R (cThreadLockableRef) |
| |
| STDMETHOD() | QueryInterface (const IID &riid, void **ppvObject) override |
| |
| 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) |
| |
| | cThreadLockableRef (int iStaticRefCount=0) noexcept |
| |
| virtual | ~cThreadLockableRef () |
| |
| virtual void | onThreadLockFail (TIMESYSD_t dwWaitMS) |
| |
| | cRefBase (int iRefCount=0) noexcept |
| |
| virtual | ~cRefBase () |
| |
| int | get_RefCount () const noexcept |
| |
| HASHCODE_t | get_HashCode () const noexcept |
| |
| | STDMETHOD_ (HASHCODE_t, get_HashCodeX)() const noexcept |
| |
| virtual void | onFinalRelease () |
| |
| bool | isValidObj () const noexcept |
| |
| | STDMETHOD_ (ULONG, AddRef)(void) override |
| |
| | STDMETHOD_ (ULONG, Release)(void) override |
| |
| STDMETHOD() | QueryInterface (const IID &riid, void __RPC_FAR *__RPC_FAR *ppvObject) override |
| |
| void | IncRefCount () |
| |
| void | DecRefCount () |
| |
| bool | isStaticConstruct () const noexcept |
| |
| void | StaticConstruct () |
| |
| void | StaticDestruct () |
| |
| bool | isDestructing () noexcept |
| |
| void | SetDestructing () |
| |
| THREADID_t | get_ThreadLockOwner () const |
| |
| virtual | ~CObject () |
| |
| virtual void | AssertValid () const |
| | < memory allocation and structure definitions are valid. More...
|
| |
| virtual void | Serialize (cArchive &a) |
| |
| | cHeapObject () |
| |
| virtual | ~cHeapObject () |
| |
| bool | IsValidInsideN (INT_PTR index) const |
| |
| bool | IsValidInsidePtr (void const *pTest) const |
| |
| virtual size_t | GetHeapStatsThis (OUT ITERATE_t &iAllocCount) const |
| |
| virtual bool | OnKeyDown (VK_TYPE nVKey, int lParam) |
| |
| virtual bool | OnKeyUp (VK_TYPE nVKey, int lParam) |
| |
| virtual bool | OnKeyChar (wchar_t nAscii, int lParam) |
| |
| virtual long | OnCommand (int wParam, int lParam) |
| |
| virtual bool | OnMouseDblClick (MBUTTON_TYPE uButton, PIXELS_t x, PIXELS_t y) |
| |
| virtual void | OnMouseExit () |
| |
| | cDXBase (cDXDevice *pDXDev=nullptr) noexcept |
| |
| virtual | ~cDXBase () |
| |
| ID3DDevice * | get_D3DDev () const noexcept |
| |
| bool | isInitDevice () const noexcept |
| |
| bool | isLostDevice () const noexcept |
| |
| | UNITTEST_FRIEND (cDXBase) |
| |