]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dfb/font.h
disable (some) features that are not available in DirectFB
[wxWidgets.git] / include / wx / dfb / font.h
index 04909177db47128a8f28ef637c2c46c45b0cf93f..d408ea043b9bd922898a76baa57cba14ae81d6cd 100644 (file)
@@ -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,8 +63,12 @@ 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