blob: 4bb8633c28b743750b6ede167af9e3478f71e7df (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#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, bool wrapAll);
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__
|