FLTK logo

Article #1446: FLTK 1.3.x Weekly Snapshot, r11000

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 Home  |  Articles & FAQs  |  Bugs & Features  |  Documentation  |  Download  |  Screenshots  ]
 

Return to Articles | Show Comments | Submit Comment ]

Article #1446: FLTK 1.3.x Weekly Snapshot, r11000

Created at 00:03 Jan 08, 2016 by mike

A new weekly snapshot of FLTK 1.3.x (r11000) is now available on the download page:

    http://www.fltk.org/software.php?VERSION=fltk-1.3.x-r11000

Commit Log:

------------------------------------------------------------------------
r11000 | manolo | 2016-01-07 00:09:11 -0500 (Thu, 07 Jan 2016) | 1 line

Mention new method Fl_Image_Surface::draw_decorated_window().
------------------------------------------------------------------------
r10999 | manolo | 2016-01-06 15:47:39 -0500 (Wed, 06 Jan 2016) | 2 lines

Mac OS: improved the Fl_Image_Surface class so it returns an RGBA image
allowing to draw exactly windows with rounded corners.
------------------------------------------------------------------------
r10998 | manolo | 2016-01-06 15:41:57 -0500 (Wed, 06 Jan 2016) | 1 line

Fixed typo.
------------------------------------------------------------------------
r10997 | manolo | 2016-01-05 06:59:08 -0500 (Tue, 05 Jan 2016) | 11 lines

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.


------------------------------------------------------------------------
r10996 | manolo | 2016-01-05 00:48:58 -0500 (Tue, 05 Jan 2016) | 6 lines

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.

------------------------------------------------------------------------
r10990 | manolo | 2016-01-04 08:16:23 -0500 (Mon, 04 Jan 2016) | 9 lines

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.

------------------------------------------------------------------------

Download | Home Page | Listing ]


Comments

Submit Comment ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.