UTFWin::IComboBoxDrawable class

An abstract class that has the methods that a drawable for a combo box would require.

Base classes

class UTFWinObject

Derived classes

class ComboBoxDrawable
The standard IDrawable for a combo box component.

Public types

enum (anonymous) { kImageBackground = 0, kImageSelectionBackground = 1, kImagePullDownButton = 2 }

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(int index, Image* pImage) pure virtual
Set the images used by this drawable.

Function documentation

void UTFWin::IComboBoxDrawable::SetImage(int index, Image* pImage) pure virtual

Set the images used by this drawable.

Parameters
index The index of the image to set.
pImage The image.

The index is one of the AbstractComboBoxDrawable::kImage... values.