Cafu Engine
FontWizard.hpp
1 /*
2 Cafu Engine, http://www.cafu.de/
3 Copyright (c) Carsten Fuchs and other contributors.
4 This project is licensed under the terms of the MIT license.
5 */
6 
7 #ifndef CAFU_FONTWIZARD_FONT_WIZARD_HPP_INCLUDED
8 #define CAFU_FONTWIZARD_FONT_WIZARD_HPP_INCLUDED
9 
10 #include "wx/wizard.h"
11 
12 #include "FontGenerator.hpp"
13 
14 
15 class FontWizardT : public wxWizard
16 {
17  public:
18 
19  FontWizardT(wxWindow* Parent);
20 
21  void Run();
22 
23  // Interface to FontGeneratorT.
24  bool GenerateFont(const wxString& FontFile, bool DebugPNGs=false);
25  void SaveFont(const wxString& Directory, const wxString& MaterialBaseName="") const;
26  unsigned long GetNrOfSizes() const;
27  ArrayT<BitmapT*> GetBitmaps(unsigned long SizeNr) const;
28 
29  wxString FontName;
30  wxString DefaultFontName;
31 
32 
33  private:
34 
35  FontGeneratorT m_FontGenerator;
36  wxWizardPageSimple* m_FirstPage;
37 };
38 
39 #endif
Definition: FontWizard.hpp:15
Definition: FontGenerator.hpp:23