diff options
author | jcid <devnull@localhost> | 2008-09-24 18:44:40 +0200 |
---|---|---|
committer | jcid <devnull@localhost> | 2008-09-24 18:44:40 +0200 |
commit | c377e06400f138325a9a9d43d91a9272691867a1 (patch) | |
tree | 49f3ca1c46af11a058a68714899d4137ec717618 /dw/listitem.hh | |
parent | 642f9b3e747859a7256ea12fab9f9ed50aa9253a (diff) |
- Moved the dw2 tree into dillo2's tree.
Diffstat (limited to 'dw/listitem.hh')
-rw-r--r-- | dw/listitem.hh | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/dw/listitem.hh b/dw/listitem.hh new file mode 100644 index 00000000..ea24af3e --- /dev/null +++ b/dw/listitem.hh @@ -0,0 +1,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 (char *texty, core::style::Style *style); +}; + +} // namespace dw + +#endif // __DW_LISTITEM_HH__ |