From: Stefan Csomor Date: Thu, 27 Jan 2005 10:57:10 +0000 (+0000) Subject: storing ATSU style in the font itself X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/7bca6cefea579739d1c0fca51578c4f7c8ead209 storing ATSU style in the font itself git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/mac/carbon/font.h b/include/wx/mac/carbon/font.h index 5221529194..10c07dbb2d 100644 --- a/include/wx/mac/carbon/font.h +++ b/include/wx/mac/carbon/font.h @@ -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();