|
| | SSkinGradation () |
| | Constructor for SSkinGradation.
|
| |
| void | SetColorFrom (COLORREF crFrom) |
| | Sets the starting color of the gradient.
|
| |
| void | SetColorTo (COLORREF crTo) |
| | Sets the ending color of the gradient.
|
| |
| void | SetVertical (BOOL bVertical) |
| | Sets whether the gradient is vertical.
|
| |
| ISkinObj * | Scale (int nScale) OVERRIDE |
| | Scales the skin.
|
| |
| | SSkinObjBase () |
| | Constructor.
|
| |
| LPCWSTR | GetName () SCONST OVERRIDE |
| | Gets the name of the skin object.
|
| |
| void | DrawByState2 (IRenderTarget *pRT, LPCRECT rcDraw, DWORD dwState, BYTE byAlpha) SCONST OVERRIDE |
| | Draws the skin by state with alpha blending.
|
| |
| void | DrawByState (IRenderTarget *pRT, LPCRECT rcDraw, DWORD dwState) SCONST OVERRIDE |
| | Draws the skin by state without alpha blending.
|
| |
| void | DrawByIndex2 (IRenderTarget *pRT, LPCRECT rcDraw, int iState, BYTE byAlpha) SCONST OVERRIDE |
| | Draws the skin by index with alpha blending.
|
| |
| void | DrawByIndex (IRenderTarget *pRT, LPCRECT rcDraw, int iState) SCONST OVERRIDE |
| | Draws the skin by index without alpha blending.
|
| |
| SIZE | GetSkinSize () SCONST OVERRIDE |
| | Gets the size of the skin.
|
| |
| int | GetStates () SCONST OVERRIDE |
| | Gets the number of states supported by the skin.
|
| |
| BYTE | GetAlpha () SCONST OVERRIDE |
| | Gets the alpha value of the skin.
|
| |
| void | SetAlpha (BYTE byAlpha) OVERRIDE |
| | Sets the alpha value of the skin.
|
| |
| int | GetScale () SCONST OVERRIDE |
| | Gets the scale factor of the skin.
|
| |
| void | SetScale (int scale) OVERRIDE |
| | Sets the scale factor of the skin.
|
| |
| ISkinObj * | Scale (int nScale) OVERRIDE |
| | Scales the skin.
|
| |
| void | OnColorize (COLORREF cr) OVERRIDE |
| | Applies colorization to the skin.
|
| |
| int | State2Index (DWORD dwState) const |
| | Converts a state to its corresponding index.
|
| |
| | TObjRefImpl () |
| | Constructor that initializes the reference count to 1.
|
| |
| virtual | ~TObjRefImpl () |
| | Virtual destructor.
|
| |
| long | AddRef () override |
| | Increments the reference count.
|
| |
| long | Release () override |
| | Decrements the reference count and deletes the object if the count reaches zero.
|
| |
| void | OnFinalRelease () override |
| | Deletes the object.
|
| |
| | SObjectImpl () |
| | Constructor.
|
| |
| BOOL | InitFromXml (IXmlNode *pXmlNode) OVERRIDE |
| | Initializes the object from an XML node.
|
| |
| LPCWSTR | GetName () SCONST OVERRIDE |
| | Retrieves the object's name.
|
| |
| LPCSTR | GetNameA () SCONST OVERRIDE |
| | Retrieves the object's name in ANSI format.
|
| |
| void | SetName (LPCWSTR pszName) OVERRIDE |
| | Sets the object's name.
|
| |
| int | GetID () SCONST OVERRIDE |
| | Retrieves the object's ID.
|
| |
| void | SetID (int nID) OVERRIDE |
| | Sets the object's ID.
|
| |
| HRESULT | AfterAttribute (LPCWSTR strAttribName, LPCWSTR strValue, BOOL bLoading, HRESULT hr) OVERRIDE |
| | Handles attribute processing after setting an attribute.
|
| |
| HRESULT | SetAttributeA (LPCSTR pszAttr, LPCSTR pszValue, BOOL bLoading) OVERRIDE |
| | Sets an attribute using ANSI strings.
|
| |
| HRESULT | SetAttribute (LPCWSTR pszAttr, LPCWSTR pszValue, BOOL bLoading) OVERRIDE |
| | Sets an attribute using wide strings.
|
| |
| virtual HRESULT | SetAttribute (const SStringW &strAttr, const SStringW &strValue, BOOL bLoading) |
| | Sets an attribute using wide strings.
|
| |
| HRESULT | ISetAttribute (const IStringW *strAttr, const IStringW *strValue, BOOL bLoading) OVERRIDE |
| | Sets an attribute using IStringW objects.
|
| |
| LPCWSTR | GetObjectClass () SCONST OVERRIDE |
| | Retrieves the object's class name.
|
| |
| int | GetObjectType () SCONST OVERRIDE |
| | Retrieves the object's type.
|
| |
| BOOL | IsClass (LPCWSTR lpszName) SCONST OVERRIDE |
| | Checks if the object is of a specific class.
|
| |
| BOOL | GetAttribute (LPCWSTR strAttr, IStringW *pValue) SCONST OVERRIDE |
| | Retrieves an attribute value.
|
| |
| void | OnInitFinished (IXmlNode *xmlNode) OVERRIDE |
| | Handles initialization completion.
|
| |
| void | SetAttrHandler (FunAttrHandler attrHandler) OVERRIDE |
| | Sets the attribute handler.
|
| |
| virtual HRESULT | DefAttributeProc (const SStringW &strAttr, const SStringW &strValue, BOOL bLoading) |
| | Default attribute processing.
|
| |
| long | AddRef () PURE |
| | Add reference.
|
| |
| long | Release () PURE |
| | Release reference.
|
| |
| void | OnFinalRelease () PURE |
| | Final release of the object.
|
| |
| BOOL | IsClass (LPCWSTR lpszName) SCONST PURE |
| | Checks if the object is of a specified class type.
|
| |
| LPCWSTR | GetObjectClass () SCONST PURE |
| | Retrieves the class name of the object.
|
| |
| int | GetObjectType () SCONST PURE |
| | Retrieves the type of the object.
|
| |
| int | GetID () SCONST PURE |
| | Retrieves the ID of the object.
|
| |
| void | SetID (int nID) PURE |
| | Sets the ID of the object.
|
| |
| LPCWSTR | GetName () SCONST PURE |
| | Retrieves the name of the object.
|
| |
| LPCSTR | GetNameA () SCONST PURE |
| | Retrieves the name of the object as an ANSI string.
|
| |
| void | SetName (LPCWSTR pszName) PURE |
| | Sets the name of the object.
|
| |
| BOOL | InitFromXml (IXmlNode *xmlNode) PURE |
| | Initializes the object from an XML node.
|
| |
| void | OnInitFinished (IXmlNode *xmlNode) PURE |
| | Handles the completion of attribute initialization.
|
| |
| HRESULT | ISetAttribute (const IStringW *strAttribName, const IStringW *strValue, BOOL bLoading) PURE |
| | Sets an attribute of the object.
|
| |
| HRESULT | SetAttributeA (LPCSTR pszAttr, LPCSTR pszValue, BOOL bLoading=FALSE) PURE |
| | Sets an attribute of the object using ANSI strings.
|
| |
| HRESULT | SetAttribute (LPCWSTR pszAttr, LPCWSTR pszValue, BOOL bLoading=FALSE) PURE |
| | Sets an attribute of the object using wide strings.
|
| |
| BOOL | GetAttribute (LPCWSTR strAttr, IStringW *pValue) SCONST PURE |
| | Retrieves the value of an attribute by its name.
|
| |
| HRESULT | AfterAttribute (LPCWSTR pszAttr, LPCWSTR pszValue, BOOL bLoading, HRESULT hr) PURE |
| | Handles the completion of attribute processing.
|
| |
| void | SetAttrHandler (FunAttrHandler attrHandler) PURE |
| | Sets the attribute handler callback function.
|
| |
| void | DrawByState2 (IRenderTarget *pRT, LPCRECT rcDraw, DWORD dwState, BYTE byAlpha) SCONST PURE |
| | Draws the skin object to the specified render target with a given state and transparency.
|
| |
| void | DrawByState (IRenderTarget *pRT, LPCRECT rcDraw, DWORD dwState) SCONST PURE |
| | Draws the skin object to the specified render target with a given state.
|
| |
| void | DrawByIndex2 (IRenderTarget *pRT, LPCRECT rcDraw, int iState, BYTE byAlpha) SCONST PURE |
| | Draws the skin object to the specified render target with a given index and transparency.
|
| |
| void | DrawByIndex (IRenderTarget *pRT, LPCRECT rcDraw, int iState) SCONST PURE |
| | Draws the skin object to the specified render target with a given index.
|
| |
| SIZE | GetSkinSize () SCONST PURE |
| | Retrieves the default size of the skin object.
|
| |
| int | GetStates () SCONST PURE |
| | Retrieves the number of states contained in the skin object.
|
| |
| BYTE | GetAlpha () SCONST PURE |
| | Retrieves the transparency of the skin object.
|
| |
| void | SetAlpha (BYTE byAlpha) PURE |
| | Sets the transparency of the skin object.
|
| |
| void | OnColorize (COLORREF cr) PURE |
| | Adjusts the hue of the skin object based on a reference color.
|
| |
| int | GetScale () SCONST PURE |
| | Retrieves the scaling factor of the skin object.
|
| |
| void | SetScale (int scale) PURE |
| | Sets the scaling factor of the skin object.
|
| |
| ISkinObj * | Scale (int nScale) PURE |
| | Scales the skin object by a specified factor.
|
| |
Gradient Skin.
Description: Represents a skin with a gradient fill.
Definition at line 410 of file SSkin.h.