X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5ac2e80ca299919ce51415cc79f6a7a4951970c5..b377eda09d9eca8810cee1c252879bee3c9bd190:/include/wx/mac/carbon/font.h?ds=inline diff --git a/include/wx/mac/carbon/font.h b/include/wx/mac/carbon/font.h index 5221529194..c28ed650b7 100644 --- a/include/wx/mac/carbon/font.h +++ b/include/wx/mac/carbon/font.h @@ -12,10 +12,6 @@ #ifndef _WX_FONT_H_ #define _WX_FONT_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma interface "font.h" -#endif - // ---------------------------------------------------------------------------- // wxFont // ---------------------------------------------------------------------------- @@ -99,12 +95,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();