1998-09-18 06:19:10 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: fontdlg.h
|
|
|
|
// Purpose: wxFontDialog class. Use generic version if no
|
|
|
|
// platform-specific implementation.
|
|
|
|
// Author: Julian Smart
|
|
|
|
// Modified by:
|
|
|
|
// Created: 17/09/98
|
|
|
|
// RCS-ID: $Id$
|
|
|
|
// Copyright: (c) Julian Smart
|
|
|
|
// Licence: wxWindows licence
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef _WX_FONTDLG_H_
|
|
|
|
#define _WX_FONTDLG_H_
|
|
|
|
|
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma interface "fontdlg.h"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include "wx/dialog.h"
|
|
|
|
#include "wx/cmndata.h"
|
|
|
|
|
|
|
|
/*
|
2002-02-05 11:34:33 -05:00
|
|
|
* Font dialog
|
|
|
|
*/
|
|
|
|
|
1998-09-18 06:19:10 -04:00
|
|
|
class WXDLLEXPORT wxFontDialog: public wxDialog
|
|
|
|
{
|
2002-02-05 11:34:33 -05:00
|
|
|
DECLARE_DYNAMIC_CLASS(wxFontDialog)
|
1998-09-18 06:19:10 -04:00
|
|
|
public:
|
|
|
|
wxFontDialog();
|
|
|
|
wxFontDialog(wxWindow *parent, wxFontData *data = NULL);
|
2002-02-05 11:34:33 -05:00
|
|
|
|
1998-09-18 06:19:10 -04:00
|
|
|
bool Create(wxWindow *parent, wxFontData *data = NULL);
|
2002-02-05 11:34:33 -05:00
|
|
|
|
1998-09-18 06:19:10 -04:00
|
|
|
int ShowModal();
|
|
|
|
wxFontData& GetFontData() { return m_fontData; }
|
2002-02-05 11:34:33 -05:00
|
|
|
|
1998-09-18 06:19:10 -04:00
|
|
|
protected:
|
|
|
|
wxWindow* m_dialogParent;
|
|
|
|
wxFontData m_fontData;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
2002-02-05 11:34:33 -05:00
|
|
|
// _WX_FONTDLG_H_
|
1998-09-18 06:19:10 -04:00
|
|
|
|