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

common/GCombo.h

Go to the documentation of this file.
00001 
00002 
00003 
00004 
00005 #ifndef __GCOMBO2_H
00006 #define __GCOMBO2_H
00007 
00009 class LgiClass GCombo :
00010     public ResObject,
00011     public GView
00012 {
00013 private:
00014     class GComboPrivate *d;
00015 
00016 public:
00018     GCombo
00019     (
00021         int id,
00023         int x,
00025         int y,
00027         int cx,
00029         int cy,
00031         char *name
00032     );
00033     ~GCombo();
00034 
00035     // Properties
00036 
00038     bool Sort();
00040     void Sort(bool s);
00042     int Sub();
00044     void Sub
00045     (
00047         int Type
00048     );
00050     void Value(int i);
00052     int Value();
00054     bool Name(char *n);
00056     char *Name();
00058     GSubMenu *GetMenu();
00060     void SetMenu(GSubMenu *m);
00061 
00062     // List
00063     
00065     bool Delete();
00067     bool Delete(int i);
00069     bool Delete(char *p);
00071     bool Insert
00072     (
00074         char *p,
00076         int Index = -1
00077     );
00079     int GetItems();
00081     char *operator [](int i);
00082 
00083     // Events/Window/Implementation
00084     int OnEvent(GMessage *Msg);
00085     void OnMouseClick(GMouse &m);
00086     bool OnKey(GKey &k);
00087     void OnFocus(bool f);
00088     void OnPaint(GSurface *pDC);
00089     void SetFont(GFont *Fnt, bool OwnIt = false);
00090     void OnAttach();
00091     bool SetPos(GRect &p, bool Repaint = false);
00092 };
00093 
00094 #endif
00095 

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