blob: 2e303d5d1dda9916842a2a948f887990fdd783a9 (
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
|
#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();
void initWithWidget (core::Widget *widget, core::style::Style *style);
void initWithText (const char *text, core::style::Style *style);
};
} // namespace dw
#endif // __DW_LISTITEM_HH__
|