diff options
| author | Manolo Gouy <Manolo> | 2017-11-12 08:00:21 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2017-11-12 08:00:21 +0000 |
| commit | cfdc38f760edf69b99aa6e625d522da9eeffbebe (patch) | |
| tree | 930ad17e3232430a13aefbab0a5759062c7539f3 /src | |
| parent | f4f4030cc24f24dddeb4c5e3d13e28c0833d4b5b (diff) | |
MacOS: improve drawing of rounded corners of window titlebar
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12557 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_cocoa.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm index 389c1031e..10e727021 100644 --- a/src/Fl_cocoa.mm +++ b/src/Fl_cocoa.mm @@ -4287,7 +4287,7 @@ int Fl_Cocoa_Window_Driver::decorated_h() // clip the graphics context to rounded corners static void clip_to_rounded_corners(CGContextRef gc, int w, int h) { - const CGFloat radius = 5; + const CGFloat radius = 7.5; CGContextMoveToPoint(gc, 0, 0); CGContextAddLineToPoint(gc, 0, h - radius); CGContextAddArcToPoint(gc, 0, h, radius, h, radius); |
