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

GFontSelect.h

Go to the documentation of this file.
00001 
00002 
00003 #ifndef __GFONTSELECT_H
00004 #define __GFONTSELECT_H
00005 
00023 class GFontSelect : public GDialog
00024 {
00025     GList *Ctrl1;
00026     GRadioGroup *Ctrl2;
00027     GCheckBox *Ctrl3;
00028     GCheckBox *Ctrl4;
00029     GCheckBox *Ctrl5;
00030     GRadioGroup *Ctrl6;
00031     GEdit *Ctrl7;
00032     GCombo *Ctrl8;
00033     GBitmap *Ctrl9;
00034     GText *Ctrl10;
00035     GButton *Ctrl11;
00036     GButton *Ctrl12;
00037 
00038     char *GetSelectedFace();
00039     void InsertFont(char *Face);
00040     void EnumerateFonts();
00041     void OnCreate();
00042     void UpdatePreview();
00043     void UiToThis();
00044 
00045     #ifdef WIN32
00046     static int CALLBACK _Enum(  ENUMLOGFONT FAR *lpelf,
00047                                 NEWTEXTMETRIC FAR *lpntm,
00048                                 int FontType,
00049                                 LPARAM lParam);
00050     #endif
00051 
00052 public:
00054     char *Face;
00056     int Size;
00058     bool Bold;
00060     bool Underline;
00062     bool Italic;
00063 
00065     GFontSelect
00066     (
00068         GView *Parent,
00070         void *Init = 0
00071     );
00072     ~GFontSelect();
00073 
00074     int OnNotify(GView *Ctrl, int Flags);
00075 
00080     bool Serialize(void *Data, bool Write);
00081 };
00082 
00083 #endif

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