summaryrefslogtreecommitdiff
path: root/FL/mac.H
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2015-11-19 16:33:44 +0000
committerManolo Gouy <Manolo>2015-11-19 16:33:44 +0000
commit511ec0bb3dcddcb013873fa69d51d2059aed9b0c (patch)
tree5b06134a3d758c26df1245c5685673f16222c398 /FL/mac.H
parent0d2517331c85fd45bcd4ef6fd009cde7777436ee (diff)
Mac OS: have Fl_Paged_Device::print_widget() print top-level windows with
rounded bottom corners as they appear on screen. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10916 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/mac.H')
-rw-r--r--FL/mac.H1
1 files changed, 1 insertions, 0 deletions
diff --git a/FL/mac.H b/FL/mac.H
index bed13b4c7..f096adb65 100644
--- a/FL/mac.H
+++ b/FL/mac.H
@@ -211,6 +211,7 @@ public:
static Fl_Fontdesc* calc_fl_fonts(void); // computes the fl_fonts global variable
static int dnd(int use_selection); // call Fl_X::dnd(1) to support text dragging
static int calc_mac_os_version(void); // computes the fl_mac_os_version global variable
+ static void clip_to_rounded_corners(CGContextRef gc, int w, int h);
private:
#if FLTK_ABI_VERSION >= 10304
CGRect* subRect_; // makes sure subwindow remains inside its parent window