From 7bca6cefea579739d1c0fca51578c4f7c8ead209 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Thu, 27 Jan 2005 10:57:10 +0000 Subject: [PATCH 1/1] storing ATSU style in the font itself git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/mac/carbon/font.h | 9 +++++++++ 1 file changed, 9 insertions(+) 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(); -- 2.45.2