X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f8855e47254a28f5141524b3aaaac03c2944e997..c75cc2e832791a8d24b97d92491685e8e10e37f3:/include/wx/mgl/font.h diff --git a/include/wx/mgl/font.h b/include/wx/mgl/font.h index 2437ede286..b33e7341c5 100644 --- a/include/wx/mgl/font.h +++ b/include/wx/mgl/font.h @@ -58,7 +58,7 @@ public: bool Create(const wxNativeFontInfo& fontinfo); - ~wxFont() {} + virtual ~wxFont() {} // implement base class pure virtuals virtual int GetPointSize() const; @@ -75,10 +75,14 @@ public: virtual void SetFamily(int family); virtual void SetStyle(int style); virtual void SetWeight(int weight); - virtual void SetFaceName(const wxString& faceName); + virtual bool SetFaceName(const wxString& faceName); virtual void SetUnderlined(bool underlined); virtual void SetEncoding(wxFontEncoding encoding); + // Unofficial API, don't use + virtual void SetNoAntiAliasing(bool no = true); + virtual bool GetNoAntiAliasing() const; + struct font_t *GetMGLfont_t(float scale, bool antialiased); protected: