blob: 49a3c3a453f73c51aefe6e30ab7ed1bb9e7b77a6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#ifndef __DW_LISTITEM_HH__
#define __DW_LISTITEM_HH__
#include "core.hh"
#include "alignedtextblock.hh"
namespace dw {
class ListItem: public AlignedTextblock
{
protected:
int getValue ();
void setMaxValue (int maxValue, int value);
public:
static int CLASS_ID;
ListItem(ListItem *ref, bool limitTextWidth);
~ListItem();
bool usesMaxGeneratorWidth ();
void initWithWidget (core::Widget *widget, core::style::Style *style);
void initWithText (const char *text, core::style::Style *style);
};
} // namespace dw
#endif // __DW_LISTITEM_HH__
|