FLTK sandbox

Check-in [bf99db0bbb]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
SHA1:bf99db0bbb45722f5f45439723b1c1e2e6891803
Date: 2016-01-05 11:59:08
User: manolo@ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Comment:1) The Fl_Window::decorated_h() computation was incorrect under MSWindows10 because it did not use the correct dwmapi.dll - based implementation. This commit uses the correct way to compute the width and height of window borders in Fl_Window::decorated_h() and in Fl_Paged_Device::draw_decorated_window(). 2) Fixed the computation of enhanced metafile units that correspond to a given pixel size used by the Fl_Copy_Surface class on the WIN32 platform. Tested with MSWindows XP, 7 and 10 using the device test app. git-svn-id: http://seriss.com/public/fltk/fltk/branches/branch-1.3@10997 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Tags And Properties
Context
2016-01-06
20:41
[d798ebc92a] Fixed typo. git-svn-id: http://seriss.com/public/fltk/fltk/branches/branch-1.3@10998 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 (user: manolo@ea41ed52-d2ee-0310-a9c1-e6b18d33e121, tags: trunk)
2016-01-05
11:59
[bf99db0bbb] 1) The Fl_Window::decorated_h() computation was incorrect under MSWindows10 because it did not use the correct dwmapi.dll - based implementation. This commit uses the correct way to compute the width and height of window borders in Fl_Window::decorated_h() and in Fl_Paged_Device::draw_decorated_window(). 2) Fixed the computation of enhanced metafile units that correspond to a given pixel size used by the Fl_Copy_Surface class on the WIN32 platform. Tested with MSWindows XP, 7 and 10 using the device test app. git-svn-id: http://seriss.com/public/fltk/fltk/branches/branch-1.3@10997 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 (user: manolo@ea41ed52-d2ee-0310-a9c1-e6b18d33e121, tags: trunk)
05:48
[8fd80b6646] 1) For the X11 and the Mac OS platforms, a default font (FL_HELVETICA, FL_NORMAL_SIZE) is used when fl_draw() is called while no font has been set before. This commit does the same on the MSWindows platform, for consistency. 2) Slightly improved Fl_Image_Surface::draw_decorated_window() under WIN32. git-svn-id: http://seriss.com/public/fltk/fltk/branches/branch-1.3@10996 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 (user: manolo@ea41ed52-d2ee-0310-a9c1-e6b18d33e121, tags: trunk)
Changes
Show Unified Diffs Show Side-by-Side Diffs Patch

Changes to src/Fl_Copy_Surface.cxx.

Changes to src/Fl_win32.cxx.