view dw/listitem.hh @ 2030:382160be8c2f

cookies comments I was going to say something in the comments about simplicity and not implementing every little bit of the rfc when we don't know of cookies that make it necessary, but then I suppose that's all implied with dillo.
author corvid <>
date Tue, 17 May 2011 22:48:50 +0000
parents b04673615946
line wrap: on
line source
#ifndef __DW_LISTITEM_HH__
#define __DW_LISTITEM_HH__

#include "core.hh"
#include "alignedtextblock.hh"

namespace dw {

class ListItem: public AlignedTextblock
   int getValue ();
   void setMaxValue (int maxValue, int value);

   static int CLASS_ID;

   ListItem(ListItem *ref, bool limitTextWidth);

   void initWithWidget (core::Widget *widget, core::style::Style *style);
   void initWithText (const char *text, core::style::Style *style);

} // namespace dw

#endif // __DW_LISTITEM_HH__