class SimpleLabel abstract (simple) text label class.
| | MIN_TEXT_WIDTH minimal width of cell text outline. |
| | MIN_TEXT_HEIGHT minimal height of cell text outline. |
| | SimpleLabel (Grafport *g, XFont *font) |
| | SimpleLabel (const SimpleLabel &text) |
| | ~SimpleLabel () |
| | operator== (const SimpleLabel &t1, const SimpleLabel &t2) |
| | Compare (SimpleLabel *r1, SimpleLabel *r2) |
| | Draw () draw label. |
| | Undraw () erase label. |
| | DrawOutLine (const Point *c) when label is dragged only a dotted box (outline) is drawn |
| | UpdatePosition (const Point *) update position and redraw. |
| | UpdateText (const string *) update label and redraw. |
| | SetPosition (const Point *pt) set position. |
| | SetText (const string *s) set label text |
| | SetGrafport (Grafport *g) set grafport |
| | CalcSize () calculate text size. |
| | HitText (int x, int y) true iff (x,y) is in text. |
| | GetPosition () const simple 'get' actions. |
| | GetTopLeft () const |
| | GetText () const |
| | GetWidth () const |
| | GetHeight () const |
| | GetFont () const |
| | SetFont (XFont *f) |
| | UpdateFont (XFont *font) |
| | FontHeight () const |
| | GetGrafport () const |
abstract (simple) text label class.
SimpleLabel(const SimpleLabel &text)
virtual ~SimpleLabel()
friend int operator==(const SimpleLabel &t1, const SimpleLabel &t2)
friend int Compare(SimpleLabel *r1, SimpleLabel *r2)
virtual void Draw()
virtual void Undraw()
void DrawOutLine(const Point *c)
virtual void UpdatePosition(const Point *)
virtual void UpdateText(const string *)
void SetPosition(const Point *pt)
void SetText(const string *s)
void SetGrafport(Grafport *g)
void CalcSize()
bool HitText(int x, int y)
const Point* GetPosition() const
const Point* GetTopLeft() const
const string* GetText() const
int GetWidth() const
int GetHeight() const
XFont* GetFont() const
void SetFont(XFont *f)
virtual void UpdateFont(XFont *font)
int FontHeight() const
static const int MIN_TEXT_WIDTH
static const int MIN_TEXT_HEIGHT
alphabetic index hierarchy of classes
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de