Dillo
listitem.hh
Go to the documentation of this file.
1 #ifndef __DW_LISTITEM_HH__
2 #define __DW_LISTITEM_HH__
3 
4 #include "core.hh"
5 #include "alignedtextblock.hh"
6 
7 namespace dw {
8 
10 {
11 protected:
12  int getValue ();
13  void setMaxValue (int maxValue, int value);
14 
15 public:
16  static int CLASS_ID;
17 
18  ListItem(ListItem *ref, bool limitTextWidth);
19  ~ListItem();
20 
21  bool usesMaxGeneratorWidth ();
22 
24  void initWithText (const char *text, core::style::Style *style);
25 };
26 
27 } // namespace dw
28 
29 #endif // __DW_LISTITEM_HH__
style::Style * style
Definition: widget.hh:130
~ListItem()
Definition: listitem.cc:38
ListItem(ListItem *ref, bool limitTextWidth)
Definition: listitem.cc:30
bool limitTextWidth
Definition: textblock.hh:573
Definition: style.hh:613
void initWithWidget(core::Widget *widget, core::style::Style *style)
Definition: listitem.cc:48
Definition: listitem.hh:9
void setMaxValue(int maxValue, int value)
Definition: listitem.cc:75
The base class of all dillo widgets.
Definition: widget.hh:23
static int CLASS_ID
Definition: listitem.hh:16
int getValue()
Definition: listitem.cc:67
void initWithText(const char *text, core::style::Style *style)
Definition: listitem.cc:58
Dw is in this namespace, or sub namespaces of this one.
Definition: alignedtablecell.cc:28
Base widget for all textblocks (sub classes of dw::Textblock), which are positioned vertically and al...
Definition: alignedtextblock.hh:13
bool usesMaxGeneratorWidth()
Definition: listitem.cc:43