VCF::CommonFontDialog Class Reference
This class is used to display a common font dialog. More...
#include <vcf/ApplicationKit/CommonFontDialog.h>
Inheritance diagram for VCF::CommonFontDialog:

Public Member Functions | |
| CommonFontDialog (Control *owner) | |
| Creates a font dialog. | |
| virtual | ~CommonFontDialog () |
| virtual bool | execute () |
| Displays the dialog. | |
| Font * | getSelectedFont () |
| Returns the font the user selected, or NULL. | |
| void | setSelectedFont (Font *selectedFont) |
| Sets the initial font characteristics to show when the dialog is displayed. | |
Detailed Description
This class is used to display a common font dialog.
Constructor & Destructor Documentation
|
|
Creates a font dialog. If the owner is NULL then the dialog is non modal. If the owner is not NULL then the dialog is modal relative to the control that started it. For most cases you do not want to pass in a NULL owner. |
|
|
|
Member Function Documentation
|
|
Displays the dialog. If the user selects a font, then it returns true, otherwise false. Implements VCF::CommonDialog. |
|
|
Returns the font the user selected, or NULL.
|
|
|
Sets the initial font characteristics to show when the dialog is displayed. This is generally called before the execute() function is called. |
The documentation for this class was generated from the following file:
- vcf/ApplicationKit/CommonFontDialog.h
