diff options
| author | Manolo Gouy <Manolo> | 2017-11-30 16:14:13 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2017-11-30 16:14:13 +0000 |
| commit | a8fe10cf88e757f59057fdaf51637d26ab3019aa (patch) | |
| tree | ed147eec7b4190a92d24c513f4ae73f3f24d9355 /src/drivers/Cocoa/Fl_Cocoa_Window_Driver.H | |
| parent | 08f72d626c9e506cf05fadd2e037e72e97bb95cf (diff) | |
MacOS: use rounded bottom corners when drawing windows
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12574 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/drivers/Cocoa/Fl_Cocoa_Window_Driver.H')
| -rw-r--r-- | src/drivers/Cocoa/Fl_Cocoa_Window_Driver.H | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/Cocoa/Fl_Cocoa_Window_Driver.H b/src/drivers/Cocoa/Fl_Cocoa_Window_Driver.H index f91f66060..1f58e2c16 100644 --- a/src/drivers/Cocoa/Fl_Cocoa_Window_Driver.H +++ b/src/drivers/Cocoa/Fl_Cocoa_Window_Driver.H @@ -77,6 +77,7 @@ public: CGContextRef gc; // graphics context NSCursor *cursor; static void q_release_context(Fl_Cocoa_Window_Driver *x = 0); // free all resources associated with gc + static void clip_to_rounded_corners(CGContextRef gc, int w, int h); void set_key_window(); bool mapped_to_retina(); // is window mapped to retina display? void mapped_to_retina(bool); // sets whether window is mapped to retina display |
