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 #ifdef WIN32 00016 int Shift; 00017 #endif 00018 00019 public: 00020 GProgress(int id, int x, int y, int cx, int cy, char *name); 00021 ~GProgress(); 00022 00024 void SetLimits(int64 l, int64 h); 00026 void Value(int64 v); 00027 int64 Value(); 00028 int OnEvent(GMessage *Msg); 00029 00030 #if WIN32NATIVE 00031 bool SetForegroundFill(GViewFill *Fill); 00032 bool SetBackgroundFill(GViewFill *Fill); 00033 #else 00034 void OnPaint(GSurface *pDC); 00035 void GetLimits(int64 &l, int64 &h); 00036 void Colour(COLOUR Col); 00037 COLOUR Colour(); 00038 #endif 00039 }; 00040 00041 #endif
1.5.7.1