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

GCheckBox.h

Go to the documentation of this file.
00001 
00002 
00003 
00004 
00005 #ifndef _GCHECK_BOX_H_
00006 #define _GCHECK_BOX_H_
00007 
00010 class LgiClass GCheckBox :
00011     public GView,
00012     public ResObject
00013 {
00014     class GCheckBoxPrivate *d;
00015 
00016 public:
00018     GCheckBox
00019     (
00021         int id,
00023         int x,
00025         int y,
00027         int cx,
00029         int cy,
00031         char *name,
00033         int InitState = false
00034     );
00035     ~GCheckBox();
00036 
00037     // Methods
00038     
00040     bool ThreeState();
00049     void ThreeState(bool t);
00051     int Value();
00053     void Value(int b);
00054 
00055     // Impl
00056     char *Name() { return GView::Name(); }
00057     char16 *NameW() { return GView::NameW(); }
00058     bool Name(char *n);
00059     bool NameW(char16 *n);
00060     void SetFont(GFont *Fnt, bool OwnIt = false);
00061 
00062     void OnMouseClick(GMouse &m);
00063     void OnMouseEnter(GMouse &m);
00064     void OnMouseExit(GMouse &m);
00065     bool OnKey(GKey &k);
00066     void OnFocus(bool f);
00067     void OnPaint(GSurface *pDC);
00068     void OnAttach();
00069     int OnEvent(GMessage *Msg);
00070 };
00071 
00072 #endif

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