From 941901e273319ce152523af7fa079a6f5cf89d68 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Mon, 29 Mar 2010 10:35:00 +0000 Subject: OS X: removed all Carbon and Quickdraw references. Starting with 1.3, we only support Cocoa and Quartz. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7351 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Font.H | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'src/Fl_Font.H') diff --git a/src/Fl_Font.H b/src/Fl_Font.H index 3a4408cb5..4f9f7a47f 100644 --- a/src/Fl_Font.H +++ b/src/Fl_Font.H @@ -58,18 +58,12 @@ public: TEXTMETRIC metr; int angle; FL_EXPORT Fl_Font_Descriptor(const char* fontname, Fl_Fontsize size); -# elif defined(__APPLE_QD__) - FL_EXPORT Fl_Font_Descriptor(const char* fontname, Fl_Fontsize size); - short font, face, size; - short ascent, descent; - short width[256]; - bool knowMetrics; # elif defined(__APPLE_QUARTZ__) FL_EXPORT Fl_Font_Descriptor(const char* fontname, Fl_Fontsize size); ATSUTextLayout layout; -#if defined(__APPLE_COCOA__) && MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5 +# if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5 CTFontRef fontref; -#endif +# endif ATSUStyle style; short ascent, descent, q_width; // short width[256]; -- cgit v1.2.3