UTFWin::IButtonDrawableRadio class

An abstract class that has the methods that a drawable for a simple radio or checkbox button would require.

Base classes

class UTFWinObject

Derived classes

class ButtonDrawableRadio
The standard IDrawable for a standard, simple radio or checkbox button component.

Public static variables

static const uint32_t TYPE

Public functions

auto ToDrawable() -> IDrawable* pure virtual
Get the IDrawable instance that represents this class.
void SetImage(Image* pImage, bool bTileable) pure virtual
Set the image used by this drawable.

Function documentation

void UTFWin::IButtonDrawableRadio::SetImage(Image* pImage, bool bTileable) pure virtual

Set the image used by this drawable.

Parameters
pImage The image to use in this drawable.
bTileable Specifies whether the image should be edge tiled.

The image must be composed of 6 different images of the same dimensions, that represent different states: Normal | Highlighted | Depressed | Selected | Selected Highlighted | Selected Depressed.