UTFWin::ISpinnerDrawable class

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

Base classes

class UTFWinObject

Derived classes

class SpinnerDrawable
The standard IDrawable for a spinner component.

Public types

enum ImageIndices { kImageBackground = 0, kImageIncrementButton = 1, kImageDecrementButton = 2 }

Public static variables

static const uint32_t TYPE

Public functions

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

Function documentation

void UTFWin::ISpinnerDrawable::SetImage(int index, Image* image) pure virtual

Set the images used by this drawable.

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

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