Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | Related Pages | Examples

fgl::FGFontDialog Class Reference

#include <widgets.h>

Inheritance diagram for fgl::FGFontDialog:

Inheritance graph
[legend]
Collaboration diagram for fgl::FGFontDialog:

Collaboration graph
[legend]
List of all members.

Detailed Description

A nice widget intended for the font selection by user for various things.

fntdlg.png
Examples:

font.cpp, and fontsel.cpp.


Public Member Functions

 FGFontDialog (FontDialogCallBack f, int which=FONT_DIALOG_ALL, char *capture="Font selection dialog", FGPixel bgc=PM)


Constructor & Destructor Documentation

fgl::FGFontDialog::FGFontDialog FontDialogCallBack  f,
int  which = FONT_DIALOG_ALL,
char *  capture = "Font selection dialog",
FGPixel  bgc = PM
 

Creates a widget for easy and visual color selecting.

Parameters:
f the callback function, it is called with selected color
which you can show to select only fixed, or only proportional or both fonts. Predefined consts are: FONT_DIALOG_FIXED, FONT_DIALOG_VARIABLE and FONT_DIALOG_ALL
capture a FGWindow caption
bgc the background color of widget


Generated on Wed Feb 9 11:31:59 2005 for OpenGUI by  doxygen 1.4.0