#include <listitem.hh>
Public Member Functions | |
| ListItem (ListItem *ref, bool limitTextWidth) | |
| ~ListItem () | |
| void | initWithWidget (core::Widget *widget, core::style::Style *style) |
| void | initWithText (const char *text, core::style::Style *style) |
Static Public Attributes | |
| static int | CLASS_ID = -1 |
Protected Member Functions | |
| int | getValue () |
| void | setMaxValue (int maxValue, int value) |
| dw::ListItem::ListItem | ( | ListItem * | ref, | |
| bool | limitTextWidth | |||
| ) |
| dw::ListItem::~ListItem | ( | ) |
| int dw::ListItem::getValue | ( | ) | [protected, virtual] |
| void dw::ListItem::initWithText | ( | const char * | text, | |
| core::style::Style * | style | |||
| ) |
| void dw::ListItem::initWithWidget | ( | core::Widget * | widget, | |
| core::style::Style * | style | |||
| ) |
| void dw::ListItem::setMaxValue | ( | int | maxValue, | |
| int | value | |||
| ) | [protected, virtual] |
Implements dw::AlignedTextblock.
References dw::Textblock::innerPadding, dw::Textblock::line1Offset, dw::core::Widget::queueResize(), and dw::Textblock::redrawY.
int dw::ListItem::CLASS_ID = -1 [static] |
1.5.9