#ifndef _WX_FONT_H_BASE_
#define _WX_FONT_H_BASE_
+#ifdef __GNUG__
+ #pragma interface "fontbase.h"
+#endif
+
// ----------------------------------------------------------------------------
// headers
// ----------------------------------------------------------------------------
// forward declarations
// ----------------------------------------------------------------------------
+class WXDLLEXPORT wxFontData;
class WXDLLEXPORT wxFontBase;
class WXDLLEXPORT wxFont;
wxFONTENCODING_ISO8859_13, // Latin7
wxFONTENCODING_ISO8859_14, // Latin8
wxFONTENCODING_ISO8859_15, // Latin9 (a.k.a. Latin0, includes euro)
+ wxFONTENCODING_ISO8859_MAX,
// Cyrillic charset soup (see http://czyborra.com/charsets/cyrillic.html)
wxFONTENCODING_KOI8, // we don't support any of KOI8 variants
wxFONTENCODING_CP855, // another cyrillic encoding
wxFONTENCODING_CP866, // and another one
// and for Windows
+ wxFONTENCODING_CP874, // WinThai
wxFONTENCODING_CP1250, // WinLatin2
wxFONTENCODING_CP1251, // WinCyrillic
wxFONTENCODING_CP1252, // WinLatin1
+ wxFONTENCODING_CP1253, // WinGreek (8859-7)
+ wxFONTENCODING_CP1254, // WinTurkish
+ wxFONTENCODING_CP1255, // WinHebrew
+ wxFONTENCODING_CP1256, // WinArabic
+ wxFONTENCODING_CP1257, // WinBaltic (same as Latin 7)
+ wxFONTENCODING_CP12_MAX,
+
+ wxFONTENCODING_UNICODE, // Unicode - currently used only by
+ // wxEncodingConverter class
wxFONTENCODING_MAX
};
// wxFontBase represents a font object
// ----------------------------------------------------------------------------
-class wxFontBase : public wxGDIObject
+class WXDLLEXPORT wxFontRefData;
+
+class WXDLLEXPORT wxFontBase : public wxGDIObject
{
public:
// creator function
protected:
// get the internal data
- class WXDLLEXPORT wxFontRefData *GetFontData() const
+ wxFontRefData *GetFontData() const
{ return (wxFontRefData *)m_refData; }
private:
// macros
// ----------------------------------------------------------------------------
-// VZ: this is ugly (FIXME)
#define M_FONTDATA GetFontData()
#endif