X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0c5d3e1ccd1d27ab0cf913ddbffb1b54b5802f3a..d62228a6450c566434fbcbcff00fa571fdbbdb2a:/include/wx/font.h?ds=sidebyside diff --git a/include/wx/font.h b/include/wx/font.h index ff010a2443..cf30f6585d 100644 --- a/include/wx/font.h +++ b/include/wx/font.h @@ -12,6 +12,10 @@ #ifndef _WX_FONT_H_BASE_ #define _WX_FONT_H_BASE_ +#ifdef __GNUG__ + #pragma interface "fontbase.h" +#endif + // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- @@ -23,6 +27,7 @@ // forward declarations // ---------------------------------------------------------------------------- +class WXDLLEXPORT wxFontData; class WXDLLEXPORT wxFontBase; class WXDLLEXPORT wxFont; @@ -85,6 +90,7 @@ enum wxFontEncoding 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 @@ -97,11 +103,17 @@ enum wxFontEncoding wxFONTENCODING_CP850, // CP437 merged with Latin1 wxFONTENCODING_CP852, // CP437 merged with Latin2 wxFONTENCODING_CP855, // another cyrillic encoding - wxFONTENCODING_CP866 = wxFONTENCODING_ALTERNATIVE, + wxFONTENCODING_CP866, // and another one // and for Windows 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_MAX }; @@ -110,6 +122,8 @@ enum wxFontEncoding // wxFontBase represents a font object // ---------------------------------------------------------------------------- +class WXDLLEXPORT wxFontRefData; + class wxFontBase : public wxGDIObject { public: @@ -163,7 +177,7 @@ public: protected: // get the internal data - class WXDLLEXPORT wxFontRefData *GetFontData() const + wxFontRefData *GetFontData() const { return (wxFontRefData *)m_refData; } private: @@ -195,7 +209,6 @@ private: // macros // ---------------------------------------------------------------------------- -// VZ: this is ugly (FIXME) #define M_FONTDATA GetFontData() #endif