UTFWin::ISliderDrawable class

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

Base classes

class UTFWinObject

Derived classes

class SliderDrawable
The standard IDrawable for a slider component.

Public types

enum ImageIndices { kImageBackground = 0, kImageThumb = 1, kImageThumbContainer = 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::ISliderDrawable::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 AbstractSliderDrawable::kImage... values.