X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b3c861501a451503b31c075ccb59d16b0ae01e99..54590cb07847ca447411e8aefba0b01ccc24be22:/include/wx/dfb/font.h diff --git a/include/wx/dfb/font.h b/include/wx/dfb/font.h index 04909177db..a3441e48cc 100644 --- a/include/wx/dfb/font.h +++ b/include/wx/dfb/font.h @@ -11,7 +11,7 @@ #ifndef _WX_DFB_FONT_H_ #define _WX_DFB_FONT_H_ -#include "wx/dfb/ifacehelpers.h" +#include "wx/dfb/dfbptr.h" wxDFB_DECLARE_INTERFACE(IDirectFBFont); @@ -63,13 +63,16 @@ public: 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; + // implementation from now on: - IDirectFBFontPtr GetDirectFBFont() const; + wxIDirectFBFontPtr GetDirectFBFont(bool antialiased) const; protected: - // ref counting code - virtual wxObjectRefData *CreateRefData() const; - virtual wxObjectRefData *CloneRefData(const wxObjectRefData *data) const; + virtual wxGDIRefData *CreateGDIRefData() const; + virtual wxGDIRefData *CloneGDIRefData(const wxGDIRefData *data) const; private: DECLARE_DYNAMIC_CLASS(wxFont)