class ffw::GuiList::Item

Class List > ffw :: GuiList :: Item

Inherits the following classes: ffw::GuiWidget

Classes

Type Name
struct Style

Public Functions

Type Name
Item (GuiWindow * context, const std::string & label, int base, GuiList::Value * group)
virtual ~Item ()
void setLabel (const std::string & label)
const std::string & getLabel () const
void setGroup (GuiList::Value * group)
int getBaseValue () const
void setBaseValue (int base)
bool isSelected () const
void assignValue (bool value)
virtual ffw::Pointf getMinimumWrapSize () override
void setStyle (const Item::Style * style, bool defaults = false)

Public Functions Documentation

function Item

ffw::GuiList::Item::Item (
    GuiWindow * context,
    const std::string & label,
    int base,
    GuiList::Value * group
)

function ~Item

virtual ffw::GuiList::Item::~Item ()

function setLabel

void ffw::GuiList::Item::setLabel (
    const std::string & label
)

function getLabel

const std::string & ffw::GuiList::Item::getLabel () const

function setGroup

void ffw::GuiList::Item::setGroup (
    GuiList::Value * group
)

function getBaseValue

int ffw::GuiList::Item::getBaseValue () const

function setBaseValue

void ffw::GuiList::Item::setBaseValue (
    int base
)

function isSelected

bool ffw::GuiList::Item::isSelected () const

function assignValue

void ffw::GuiList::Item::assignValue (
    bool value
)

function getMinimumWrapSize

virtual ffw::Pointf ffw::GuiList::Item::getMinimumWrapSize ()

Implements GuiWidget::getMinimumWrapSize

function setStyle

void ffw::GuiList::Item::setStyle (
    const Item::Style * style,
    bool defaults = false
)

The documentation for this class was generated from the following file: include/ffw/gui/guilist.h