diff options
| author | Manolo Gouy <Manolo> | 2016-04-02 13:22:48 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2016-04-02 13:22:48 +0000 |
| commit | d011d5b4f060166f87fc44594f7f31ddf6b652e9 (patch) | |
| tree | 45d6edbcd0dcad0abf71a76a146be36716b0a927 /FL/mac.H | |
| parent | c03f3d8946c3a68aea2c8c11705e04eeff0e02c9 (diff) | |
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
Diffstat (limited to 'FL/mac.H')
| -rw-r--r-- | FL/mac.H | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -107,7 +107,7 @@ struct flCocoaRegion { }; // a region is the union of a series of rectangles # include <FL/Fl_Window.H> -# 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); |
