]> git.saurik.com Git - wxWidgets.git/commitdiff
storing ATSU style in the font itself
authorStefan Csomor <csomor@advancedconcepts.ch>
Thu, 27 Jan 2005 10:57:10 +0000 (10:57 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Thu, 27 Jan 2005 10:57:10 +0000 (10:57 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/mac/carbon/font.h

index 522152919480c5d0b01b452e34f4d396b7d0e056..10c07dbb2d0e3c441bc4105e2f2a955e3bfa222b 100644 (file)
@@ -99,12 +99,21 @@ public:
     virtual bool GetNoAntiAliasing() const  ;
 
     // Mac-specific, risks to change, don't use in portable code
+    
+    // 'old' Quickdraw accessors
+    
     short MacGetFontNum() const;
     short MacGetFontSize() const;
     wxByte  MacGetFontStyle() const;
+    
+    // 'new' ATSUI accessors
+    
     wxUint32 MacGetATSUFontID() const;
     wxUint32 MacGetATSUAdditionalQDStyles() const;
     wxUint16 MacGetThemeFontID() const ;
+    // Returns an ATSUStyle not ATSUStyle*
+    void* MacGetATSUStyle() const ; 
+    
 protected:
     // common part of all ctors
     void Init();