Reference-counted array of script data nodes.
Definition dataarray.h:20
Bitmap font, a grid of character cells in the texture of a material's first stage.
Definition rndfont.h:20
Surface description: blending, lighting colours, culling, and a list of texture stages.
Definition rndmat.h:20
static UIStyle * New(DataArray *pData)
Create a style from its script description.
Definition uistyle.h:100
UIStyle(DataArray *pData)
Construct a style from its script description.
RndMat * GetMat(int nState) const
Report the material of a state.
const char * GetName() const
Definition uistyle.h:105
void SetNormal(RndMat *pMat, RndFont *pFont)
Set the material and the font of the normal state.
void SetSelected(RndMat *pMat, RndFont *pFont)
Set the material and the font of the selected state.
void SetGrey(RndMat *pMat, RndFont *pFont)
Set the material and the font of the disabled state.
RndFont * GetFont(int nState) const
Report the font of a state.
virtual ~UIStyle()
Destroy the style.
Definition uistyle.h:35