view dw/listitem.hh @ 1765:947f7b8bdbea

don't use text-indent when nesting blocks
author corvid <corvid@lavabit.com>
date Fri, 19 Nov 2010 16:09:49 +0000
parents b04673615946
children
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
{
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 (const char *text, core::style::Style *style);
};

} // namespace dw

#endif // __DW_LISTITEM_HH__