view dw/listitem.hh @ 2104:3e7e5395f0bc

non-ASCII keybindings Alexander Voigt has kindly done some testing, and it seems that this makes bindings to most keys on a German keyboard possible -- except those that need AltGr don't work yet.
author corvid <>
date Thu, 23 Jun 2011 19:24:11 +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__