00001
00002
00003
00004
00005 #ifndef _GPROGRESS_H_
00006 #define _GPROGRESS_H_
00007
00009 class LgiClass GProgress :
00010 public GControl,
00011 public Progress,
00012 public ResObject
00013 {
00014 COLOUR c;
00015
00016 public:
00017 GProgress(int id, int x, int y, int cx, int cy, char *name);
00018 ~GProgress();
00019
00021 void SetLimits(int l, int h);
00023 void Value(int v);
00024 int Value();
00025 int OnEvent(GMessage *Msg);
00026
00027 #ifndef WIN32
00028 void GetLimits(int &l, int &h);
00029 void OnPaint(GSurface *pDC);
00030 void Colour(COLOUR Col);
00031 COLOUR Colour();
00032 #endif
00033 };
00034
00035 #endif