From d011d5b4f060166f87fc44594f7f31ddf6b652e9 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Sat, 2 Apr 2016 13:22:48 +0000 Subject: Replace src/Fl_Font.H by one file for each platform. This file contained nearly only platform-specific code. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11507 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/mac.H | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'FL/mac.H') diff --git a/FL/mac.H b/FL/mac.H index 82cba2d4f..0a6256967 100644 --- a/FL/mac.H +++ b/FL/mac.H @@ -107,7 +107,7 @@ struct flCocoaRegion { }; // a region is the union of a series of rectangles # include -# include "../src/Fl_Font.H" +#include "../src/drivers/Quartz/Fl_Font.H" #ifndef CGFLOAT_DEFINED //appears with 10.5 in CGBase.h #if defined(__LP64__) && __LP64__ @@ -167,7 +167,6 @@ public: static CGImageRef CGImage_from_window_rect(Fl_Window *win, int x, int y, int w, int h); static unsigned char *bitmap_from_window_rect(Fl_Window *win, int x, int y, int w, int h, int *bytesPerPixel); static void screen_work_area(int &X, int &Y, int &W, int &H, int n); // compute work area of a given screen - static Fl_Fontdesc* calc_fl_fonts(void); // computes the fl_fonts global variable static void clip_to_rounded_corners(CGContextRef gc, int w, int h); static void complete_copy_pdf_and_tiff(CGContextRef gc, CFMutableDataRef pdfdata); static void draw_layer_to_context(CALayer *layer, CGContextRef gc, int w, int h); -- cgit v1.2.3