Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

GSlider.h

Go to the documentation of this file.
00001 
00002 
00003 
00004 
00005 #ifndef _GSLIDER_H_
00006 #define _GSLIDER_H_
00007 
00009 class LgiClass GSlider :
00010     public GControl,
00011     public ResObject
00012 {
00013     #if defined WIN32
00014     uint32 Style();
00015     int SysOnNotify(int Code);
00016     #endif
00017 
00018     bool Vertical;
00019     int Min, Max;
00020     int Val;
00021 
00022     GRect Thumb;
00023     int Tx, Ty;
00024 
00025 public:
00026     GSlider(int id, int x, int y, int cx, int cy, char *name, bool vert);
00027     ~GSlider();
00028 
00030     void Value(int i);
00032     int Value();
00034     void GetLimits(int &x, int &y);
00036     void SetLimits(int x, int y);
00037 
00038     int OnEvent(GMessage *Msg);
00039     
00040     #ifdef XP_CTRLS
00041     void OnPaint(GSurface *pDC);
00042     void OnMouseClick(GMouse &m);
00043     void OnMouseMove(GMouse &m);
00044     #endif
00045 };
00046 
00047 #endif

Generated on Wed Oct 26 14:46:50 2005 for Lgi by  doxygen 1.4.1