#include <chmfontdialog.h>
Inheritance diagram for CHMFontDialog:
Public Member Functions | |
CHMFontDialog (wxWindow *parent, wxArrayString *normalFonts, wxArrayString *fixedFonts, const wxString &normalFont, const wxString &fixedFont, const int fontSize) | |
Constructs a CHMFontDialog. | |
const wxString & | FixedFont () const |
Returns the fixed font face name. | |
const wxString & | NormalFont () const |
Returns the normal font face name. | |
int * | Sizes () |
Return the selected font size. | |
Protected Member Functions | |
void | OnUpdate (wxCommandEvent &event) |
This is called when a font is selected from the combo box. | |
void | OnUpdateSpin (wxSpinEvent &event) |
This is called when you click on the font size spin control. | |
Private Member Functions | |
void | UpdatePreview () |
Helper. Updates the font preview window. | |
void | InitDialog (wxArrayString *normalFonts, wxArrayString *fixedFonts) |
Helper. Initializes the dialog with the passed data. | |
DECLARE_EVENT_TABLE () | |
Private Attributes | |
wxHtmlWindow * | _test |
wxSpinCtrl * | _fontSizeControl |
wxComboBox * | _normalFControl |
wxComboBox * | _fixedFControl |
wxString | _normalFont |
wxString | _fixedFont |
int | _sizes [7] |
int | _fontSize |
|
Constructs a CHMFontDialog.
|