1
0
forked from 0ad/0ad
0ad/source/tools/fontbuilder/platform/fontselect.h
Ykkrosh 033b6e70c2 Sort-of-working Linuxness
This was SVN commit r544.
2004-06-18 22:50:34 +00:00

35 lines
667 B
C++
Executable File

// $Id: fontselect.h,v 1.3 2004/06/18 22:50:34 philip Exp $
#ifdef _WIN32
class FontSelectorDialog : public wxDialog
#else
class FontSelectorDialog : public wxFileDialog
#endif
{
public:
FontSelectorDialog(wxWindow* parent);
~FontSelectorDialog();
wxString FontName;
wxString FontFilename;
#ifdef _WIN32
void OnFontSelect(wxCommandEvent& event);
void OnOK(wxCommandEvent& event);
//#else
// void OnInit(wxInitDialogEvent& event);
#endif
static void DefaultFonts(wxString& Name0, wxString& Filename0, wxString& Name1, wxString& Filename1);
private:
#ifdef _WIN32
wxArrayString FontNames;
wxCharBuffer** FontFilenames;
#endif
DECLARE_EVENT_TABLE()
};