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 #if !defined WIN32 00015 COLOUR c; 00016 #endif 00017 00018 public: 00019 GProgress(int id, int x, int y, int cx, int cy, char *name); 00020 ~GProgress(); 00021 00023 void SetLimits(int l, int h); 00025 void Value(int v); 00026 int Value(); 00027 int OnEvent(GMessage *Msg); 00028 00029 #ifndef WIN32 00030 void GetLimits(int &l, int &h); 00031 void OnPaint(GSurface *pDC); 00032 void Colour(COLOUR Col); 00033 COLOUR Colour(); 00034 #endif 00035 }; 00036 00037 #endif