FLTK sandbox

Check-in [8fd80b6646]
Login

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

Overview
SHA1:8fd80b664624e32235e563d8963dd4325097a6df
Date: 2016-01-05 05:48:58
User: manolo@ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Comment: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
Tags And Properties
Context
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)
2016-01-04
13:16
[b71f77c2cb] Implemented Fl_Image_Surface::draw_decorated_window(). This gives the same drawing capabilities to all supported drawing surfaces: display, printer, clipboard, in-memory bitmap image, PostScript file. Also, completed the Mac OS implementation of Fl_Copy_Surface::draw_decorated_window(Fl_Window *win, int delta_x=0, int delta_y=0) that did not honor non-zero last arguments. git-svn-id: http://seriss.com/public/fltk/fltk/branches/branch-1.3@10990 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_Image_Surface.cxx.

Changes to src/fl_font_win32.cxx.