view dw/tablecell.hh @ 1800:e8f95d2c1732

timeout
author corvid <corvid@lavabit.com>
date Thu, 06 Jan 2011 06:19:52 +0000
parents e5955ab8dafb
children
line wrap: on
line source
#ifndef __DW_TABLECELL_HH__
#define __DW_TABLECELL_HH__

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

namespace dw {

class TableCell: public AlignedTextblock
{
private:
   int charWordIndex, charWordPos;

protected:
   void wordWrap(int wordIndex);

   int getValue ();
   void setMaxValue (int maxValue, int value);

public:
   static int CLASS_ID;

   TableCell(TableCell *ref, bool limitTextWidth);
   ~TableCell();
};

} // namespace dw

#endif // __DW_TABLECELL_HH__