00001
00002
00003
00004
00005 #ifndef _GTEXT_LABEL_H_
00006 #define _GTEXT_LABEL_H_
00007
00009 class LgiClass GText :
00010 public GView,
00011 public ResObject
00012 {
00013 class GTextPrivate *d;
00014
00015 public:
00017 GText
00018 (
00020 int id,
00022 int x,
00024 int y,
00026 int cx,
00028 int cy,
00030 const char *name
00031 );
00032 ~GText();
00033
00034 const char *GetClass() { return "GTextLabel"; }
00035
00037 bool Name(const char *n);
00039 bool NameW(const char16 *n);
00041 void SetFont(GFont *Fnt, bool OwnIt = false);
00042
00044 int64 Value();
00046 void Value(int64 i);
00048 char *Name() { return GView::Name(); }
00050 char16 *NameW() { return GView::NameW(); }
00052 bool GetWrap();
00054 void SetWrap(bool b);
00055
00056
00057 void OnPaint(GSurface *pDC);
00058 void OnPosChange();
00059 };
00060
00061 #endif