diff options
| author | Manolo Gouy <Manolo> | 2016-04-02 16:08:56 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2016-04-02 16:08:56 +0000 |
| commit | 64c96b9098a8cc173eae58a3e2bc4cdaa2de11c8 (patch) | |
| tree | 84e2b2e9554b224c4e1e4baf4e88cea0acde74d9 /src/Fl_cocoa.mm | |
| parent | ddc95025fd371a645782972b048e867e94767a28 (diff) | |
Continue removing from class Fl_X all what is not window-related.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11514 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_cocoa.mm')
| -rw-r--r-- | src/Fl_cocoa.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm index a8a5e073e..95419af07 100644 --- a/src/Fl_cocoa.mm +++ b/src/Fl_cocoa.mm @@ -4287,7 +4287,7 @@ static CALayer *get_titlebar_layer(Fl_Window *win) } -void Fl_X::draw_layer_to_context(CALayer *layer, CGContextRef gc, int w, int h) +void Fl_Cocoa_Screen_Driver::draw_layer_to_context(CALayer *layer, CGContextRef gc, int w, int h) { #if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_6 CGContextSaveGState(gc); @@ -4315,7 +4315,7 @@ void Fl_Cocoa_Window_Driver::capture_titlebar_and_borders(Fl_Shared_Image*& top, CGColorSpaceRelease(cspace); CGContextScaleCTM(auxgc, 2, 2); if (layer) { - Fl_X::draw_layer_to_context(layer, auxgc, w(), htop); + Fl_Cocoa_Screen_Driver::draw_layer_to_context(layer, auxgc, w(), htop); } else { CGImageRef img = Fl_X::CGImage_from_window_rect(pWindow, 0, -htop, w(), htop); CGContextSaveGState(auxgc); |
