Dillo v3.1.1-119-g140d9ebd
Loading...
Searching...
No Matches
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
7namespace dw {
8
10{
11protected:
12 int getValue ();
13 void setMaxValue (int maxValue, int value);
14
15public:
16 static int CLASS_ID;
17
19 ~ListItem();
20
22
24 void initWithText (const char *text, core::style::Style *style);
25};
26
27} // namespace dw
28
29#endif // __DW_LISTITEM_HH__
Base widget for all textblocks (sub classes of dw::Textblock), which are positioned vertically and al...
bool usesMaxGeneratorWidth()
Definition listitem.cc:43
void initWithText(const char *text, core::style::Style *style)
Definition listitem.cc:58
void initWithWidget(core::Widget *widget, core::style::Style *style)
Definition listitem.cc:48
static int CLASS_ID
Definition listitem.hh:16
int getValue()
Definition listitem.cc:67
void setMaxValue(int maxValue, int value)
Definition listitem.cc:75
bool limitTextWidth
Definition textblock.hh:572
The base class of all dillo widgets.
Definition widget.hh:44
style::Style * style
Definition widget.hh:150
Dw is in this namespace, or sub namespaces of this one.