Dillo
v3.1.1-91-g6d5b3ee3
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
7
namespace
dw
{
8
9
class
ListItem
:
public
AlignedTextblock
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
23
void
initWithWidget
(
core::Widget
*widget,
core::style::Style
*
style
);
24
void
initWithText
(
const
char
*text,
core::style::Style
*
style
);
25
};
26
27
}
// namespace dw
28
29
#endif
// __DW_LISTITEM_HH__
alignedtextblock.hh
dw::AlignedTextblock
Base widget for all textblocks (sub classes of dw::Textblock), which are positioned vertically and al...
Definition
alignedtextblock.hh:14
dw::ListItem
Definition
listitem.hh:10
dw::ListItem::usesMaxGeneratorWidth
bool usesMaxGeneratorWidth()
Definition
listitem.cc:43
dw::ListItem::initWithText
void initWithText(const char *text, core::style::Style *style)
Definition
listitem.cc:58
dw::ListItem::initWithWidget
void initWithWidget(core::Widget *widget, core::style::Style *style)
Definition
listitem.cc:48
dw::ListItem::CLASS_ID
static int CLASS_ID
Definition
listitem.hh:16
dw::ListItem::getValue
int getValue()
Definition
listitem.cc:67
dw::ListItem::setMaxValue
void setMaxValue(int maxValue, int value)
Definition
listitem.cc:75
dw::ListItem::~ListItem
~ListItem()
Definition
listitem.cc:38
dw::Textblock::limitTextWidth
bool limitTextWidth
Definition
textblock.hh:572
dw::core::Widget
The base class of all dillo widgets.
Definition
widget.hh:44
dw::core::Widget::style
style::Style * style
Definition
widget.hh:150
dw::core::style::Style
Definition
style.hh:615
core.hh
dw
Dw is in this namespace, or sub namespaces of this one.
Definition
alignedtablecell.cc:28
dw
listitem.hh
Generated on Sun Oct 27 2024 01:29:14 for Dillo by
1.9.8