|
| SSkinImgList () |
| Constructor for SSkinImgList.
|
|
virtual | ~SSkinImgList () |
| Destructor for SSkinImgList.
|
|
SIZE | GetSkinSize () SCONST OVERRIDE |
| Gets the size of the skin.
|
|
int | GetStates () SCONST OVERRIDE |
| Gets the number of states in the skin.
|
|
void | OnColorize (COLORREF cr) OVERRIDE |
| Handles colorization of the skin.
|
|
virtual void | SetStates (int nStates) |
| Sets the number of states in the skin.
|
|
virtual bool | SetImage (IBitmapS *pImg) |
| Sets the image for the skin.
|
|
virtual IBitmapS * | GetImage () const |
| Gets the image used by the skin.
|
|
virtual void | SetTile (BOOL bTile) |
| Sets whether the image should be tiled.
|
|
virtual BOOL | IsTile () const |
| Checks if the image is tiled.
|
|
virtual void | SetVertical (BOOL bVertical) |
| Sets whether the images are arranged vertically.
|
|
virtual BOOL | IsVertical () const |
| Checks if the images are arranged vertically.
|
|
| 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.
|
|
Image List Skin.
Description: Represents a skin that uses an image list to display different states.
Definition at line 31 of file SSkin.h.