#ifndef _WX_DFB_FONT_H_
#define _WX_DFB_FONT_H_
-#include "wx/dfb/ifacehelpers.h"
+#include "wx/dfb/dfbptr.h"
wxDFB_DECLARE_INTERFACE(IDirectFBFont);
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)