summaryrefslogtreecommitdiff
path: root/src/drivers/Cocoa/Fl_Cocoa_Window_Driver.H
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2020-10-12 21:05:27 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2020-10-12 21:05:38 +0200
commit0d8385a652441440d8fa2db15bd40d4d5cf4e734 (patch)
tree07001b71b6bd5940f300bc8fbdeca5af831a72f4 /src/drivers/Cocoa/Fl_Cocoa_Window_Driver.H
parent5830226aab4428e77e7aa4078e0f544aef92f326 (diff)
Simpler macOS implementation of capture of window titlebars.
Diffstat (limited to 'src/drivers/Cocoa/Fl_Cocoa_Window_Driver.H')
-rw-r--r--src/drivers/Cocoa/Fl_Cocoa_Window_Driver.H3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/drivers/Cocoa/Fl_Cocoa_Window_Driver.H b/src/drivers/Cocoa/Fl_Cocoa_Window_Driver.H
index 2b485490a..970d78839 100644
--- a/src/drivers/Cocoa/Fl_Cocoa_Window_Driver.H
+++ b/src/drivers/Cocoa/Fl_Cocoa_Window_Driver.H
@@ -139,8 +139,7 @@ public:
// next 4 are in Fl_cocoa.mm because they use Objective-c
virtual void capture_titlebar_and_borders(Fl_RGB_Image*& top, Fl_RGB_Image*& left, Fl_RGB_Image*& bottom, Fl_RGB_Image*& right);
virtual void wait_for_expose();
- CALayer *get_titlebar_layer();
- void draw_layer_to_context(CALayer *layer, CGContextRef gc, int w, int h);
+ void draw_titlebar_to_context(CGContextRef gc, int w, int h);
virtual int scroll(int src_x, int src_y, int src_w, int src_h, int dest_x, int dest_y, void (*draw_area)(void*, int,int,int,int), void* data);
// these functions are OpenGL-related and use objective-c