![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cXStyleSheet.h>
Public Member Functions | |
cXStyleSheet () | |
virtual | ~cXStyleSheet () |
bool | isStyleValid () const noexcept |
cRectI | GetStyleRect (XSTYLE_ELEM_TYPE eStyleElem) const noexcept |
cWinSize | GetStyleSize (XSTYLE_ELEM_TYPE eStyleElem) const noexcept |
int | GetStyleWidth (XSTYLE_ELEM_TYPE eStyleElem) const noexcept |
int | GetStyleHeight (XSTYLE_ELEM_TYPE eStyleElem) const noexcept |
cDXSpriteElem | GetStyleElem (XSTYLE_ELEM_TYPE eStyleElem) const |
HRESULT | SetStyleElemData (cVariant &vVal, bool bSize) |
virtual HRESULT | LoadMapProp (cString sKey, const cVariant &vArgs, const char **ppEnumTags) |
HRESULT | LoadStyle (SPRITEMAP_t eXStyle) |
D3DCOLOR | GetSkinColor (XSTYLE_COLOR_TYPE eColorElem) const |
Static Public Member Functions | |
static int | GetStyleMetrics (int nIndex) |
Public Attributes | |
D3DCOLOR | m_aColors [XSTYLE_COLOR_QTY] |
Style colors. More... | |
cXSpriteMap = defines XSTYLE_ELEM_TYPE
GrayGUI::cXStyleSheet::cXStyleSheet | ( | ) |
|
virtual |
|
inline |
Get the text element color. iColorIndex=COLOR_BORDERACTIVE
cDXSpriteElem GrayGUI::cXStyleSheet::GetStyleElem | ( | XSTYLE_ELEM_TYPE | eStyleElem | ) | const |
|
inlinenoexcept |
|
static |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
XSTYLE_ELEM_REQUIRED XSTYLE_ELEM_QTY
|
virtual |
Load a named property. Look for local props.
HRESULT GrayGUI::cXStyleSheet::LoadStyle | ( | SPRITEMAP_t | eXStyle | ) |
D3DCOLOR GrayGUI::cXStyleSheet::m_aColors[XSTYLE_COLOR_QTY] |
Style colors.