view dw/tablecell.hh @ 2093:16cdda1f8379

Made tab and window titles more informative (WRT length)
author Jorge Arellano Cid <jcid@dillo.org>
date Tue, 14 Jun 2011 17:48:29 -0400
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__