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 char *name
00031 );
00032 ~GText();
00033
00035 bool Name(char *n);
00037 bool NameW(char16 *n);
00039 void SetFont(GFont *Fnt, bool OwnIt = false);
00040
00042 int Value();
00044 void Value(int i);
00046 char *Name() { return GView::Name(); }
00048 char16 *NameW() { return GView::NameW(); }
00050 COLOUR Background();
00052 void Background(COLOUR c);
00054 bool GetWrap();
00056 void SetWrap(bool b);
00057
00058
00059 void OnPaint(GSurface *pDC);
00060 void OnPosChange();
00061 };
00062
00063 #endif