 class  SimpleLabel
  class  SimpleLabel  abstract (simple) text label class.
|  static  const  int | MIN_TEXT_WIDTH minimal width of cell text outline. | 
|  static  const  int | MIN_TEXT_HEIGHT minimal height of cell text outline. | 
|   | SimpleLabel (Grafport *g, XFont *font) | 
|   | 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 () draw label. | 
|  virtual  void | Undraw () erase label. | 
|  void | DrawOutLine (const Point *c) when label is dragged only a dotted box (outline) is drawn | 
|  virtual  void | UpdatePosition (const Point *) update position and redraw. | 
|  virtual  void | UpdateText (const string *) update label and redraw. | 
|  void | SetPosition (const Point *pt) set position. | 
|  void | SetText (const string *s) set label text | 
|  void | SetGrafport (Grafport *g) set grafport | 
|  void | CalcSize () calculate text size. | 
|  bool | HitText (int x, int y) true iff (x,y) is in text. | 
|  const  Point* | GetPosition () const simple 'get' actions. | 
|  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 | 
|  Grafport* | GetGrafport () const | 
abstract (simple) text label class.
 SimpleLabel(Grafport *g, XFont *font)
  SimpleLabel(Grafport *g, XFont *font)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 SimpleLabel(const SimpleLabel &text)
  SimpleLabel(const SimpleLabel &text)
 virtual  ~SimpleLabel()
 virtual  ~SimpleLabel()
 friend  int  operator==(const SimpleLabel &t1, const SimpleLabel &t2)
 friend  int  operator==(const SimpleLabel &t1, const SimpleLabel &t2)
 friend  int  Compare(SimpleLabel *r1, SimpleLabel *r2)
 friend  int  Compare(SimpleLabel *r1, SimpleLabel *r2)
 virtual  void  Draw()
 virtual  void  Draw()
 virtual  void  Undraw()
 virtual  void  Undraw()
 void  DrawOutLine(const Point *c)
 void  DrawOutLine(const Point *c)
 virtual  void  UpdatePosition(const Point *)
 virtual  void  UpdatePosition(const Point *)
 virtual  void  UpdateText(const string *)
 virtual  void  UpdateText(const string *)
 void  SetPosition(const Point *pt)
 void  SetPosition(const Point *pt)
 void  SetText(const string *s)
 void  SetText(const string *s)
 void  SetGrafport(Grafport *g)
 void  SetGrafport(Grafport *g)
 void  CalcSize()
 void  CalcSize()
 bool  HitText(int x, int y)
 bool  HitText(int x, int y)
 const  Point*  GetPosition() const
 const  Point*  GetPosition() const 
 const  Point*  GetTopLeft() const
 const  Point*  GetTopLeft() const 
 const  string*  GetText() const
 const  string*  GetText() const 
 int  GetWidth() const
 int  GetWidth() const 
 int  GetHeight() const
 int  GetHeight() const 
 XFont*  GetFont() const
 XFont*  GetFont() const 
 void  SetFont(XFont *f)
 void  SetFont(XFont *f)
 virtual  void  UpdateFont(XFont *font)
 virtual  void  UpdateFont(XFont *font)
 int  FontHeight() const
 int  FontHeight() const 
 static  const  int  MIN_TEXT_WIDTH
 static  const  int  MIN_TEXT_WIDTH
 static  const  int  MIN_TEXT_HEIGHT
 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