From 024368d7226e403d535184faa9f6e9b66f8d56e4 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Mon, 29 Mar 2010 14:10:54 +0000 Subject: Removed more Cocoa/Quartz references. Finally moved OS X font down a pixel. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7357 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Window.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Fl_Window.cxx') diff --git a/src/Fl_Window.cxx b/src/Fl_Window.cxx index d25a443d0..adc3fa094 100644 --- a/src/Fl_Window.cxx +++ b/src/Fl_Window.cxx @@ -111,6 +111,8 @@ void Fl_Window::draw() { draw_children(); #ifdef __APPLE_QUARTZ__ + // on OS X, windows have no frame. To resize a window, we drag the lower right + // corner. This code draws a little ribbed triangle for dragging. extern CGContextRef fl_gc; if (fl_gc && !parent() && resizable() && (!size_range_set || minh!=maxh || minw!=maxw)) { int dx = Fl::box_dw(box())-Fl::box_dx(box()); -- cgit v1.2.3