mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 13:10:59 +00:00
* Documentation/news.texi:
* Documentation/ReleaseNotes.gsdoc: Add some documentation on new features in gui git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33678 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
48f0fd951c
commit
2fc6fd0e75
3 changed files with 65 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2011-08-01 Eric Wasylishen <ewasylishen@gmail.com>
|
||||
|
||||
* Documentation/news.texi:
|
||||
* Documentation/ReleaseNotes.gsdoc: Add some documentation on
|
||||
new features in gui
|
||||
|
||||
2011-07-30 Eric Wasylishen <ewasylishen@gmail.com>
|
||||
|
||||
* Source/NSScreen.m (-userSpaceScaleFactor): Use the DPI
|
||||
|
|
|
@ -20,6 +20,53 @@
|
|||
migrate to using a newer version of the library.
|
||||
</p>
|
||||
|
||||
<section>
|
||||
<heading>trunk</heading>
|
||||
<p>
|
||||
New features include:
|
||||
</p>
|
||||
<deflist>
|
||||
<term>Support for drawing the GUI with a scale factor, for high-DPI monitors.</term>
|
||||
<desc>
|
||||
<p>
|
||||
This is enabled automatically on Windows when the system DPI setting is changed from its default of 96 in the Windows control panel. It can be enabled on X11 (or the default overridden on Windows) by setting the GSScaleFactor user default. For example, setting this to 1.5 would make everything appear 50% larger.
|
||||
</p>
|
||||
<p>
|
||||
The scale factor is implemented in GSWindowDecorationView; we use NSView's built-in scaling support and call -[NSWindow userSpaceScaleFactor] to determine how to manipulate the bounds and frame rect of the window decoration view. NSUnscaledWindowMask is respected, if it is part of a window's style mask. Note that changing the scale factor without restarting applications is currently unsupported, and all screens currently share the same scale factor. Both of these limitations should be reasonably easy to fix in a future release, however.
|
||||
</p>
|
||||
</desc>
|
||||
<term>Character panel</term>
|
||||
<desc>
|
||||
There is a character panel accessible from a button in the standard Font panel. It requires libicu.
|
||||
</desc>
|
||||
<term>Color picker "Magnifier" tool, for grabbing the color of arbitrary parts of the screen</term>
|
||||
<desc>
|
||||
Currently only implemented on X11/cairo.
|
||||
</desc>
|
||||
<term>Many new image formats supported for reading using Ghostscript and ImageMagick</term>
|
||||
<desc>
|
||||
The Ghostscript image rep provides PS/EPS/PDF support, however it has some limitations. It is quite slow. Only the first page is rendered, because we use the pngalpha Ghostscript device, which is the only device supporting 8-bit alpha.
|
||||
</desc>
|
||||
</deflist>
|
||||
|
||||
<p>Other improvements:</p>
|
||||
<deflist>
|
||||
<term>NSImage</term>
|
||||
<desc>
|
||||
<p>Mac OS X 10.6 drawing methods (-[NSImage drawInRect:fromRect:operation:fraction:respectFlipped:hints:]). The rep selection code was completely overhauled, and it should work much better with images containing many reps. In particular, the DPI metadata in images is now respected, and TIFF images containing multiple resolutions are now fully supported.</p>
|
||||
<p>Icons are now better supported. By icon, we mean an NSImage whose representations are not all of the same point size. Icons are usually ICNS or TIFF files. (Note that we aren't talking about a TIFF containing sub-images with different pixel sizes but the same point sizes.) The important thing about icons is -[NSImage size] should not be called, because the icon doesn't have one single size in points, but many sizes, so it's not clear which will be returned from this method. Similarly, -[NSImage drawAtPoint:fromRect:operation:fraction:] should be avoided, as should the -compositeToPoint: family of methods, since these use -[NSImage size] to determine how big to draw the image. The benefit of icons is that when -[NSImage drawInRect:fromRect:operation:fraction:] is called, the rep with the largest point size smaller than or equal to the rect to be drawn in will be chosen, resulting in better looking output. For best results, call drawInRect: with a point size you expect the icons to have, like 16x16 or 64x64.</p>
|
||||
</desc>
|
||||
<term>NSCursor</term>
|
||||
<desc>
|
||||
Support for creating 32-bit ARGB cursors on X11 (with the Xcursor library)
|
||||
</desc>
|
||||
<term>NSView</term>
|
||||
<desc>
|
||||
Autoresizing algorithm reimplemented to be closer to OS X. View frames generated by autoresizing are now rounded to lie on pixel boundaries.
|
||||
</desc>
|
||||
</deflist>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<heading>Version 0.20.0</heading>
|
||||
<p>A new stable release. Many improvments with Nib loading, documents and document controllers. Fixed
|
||||
|
|
|
@ -9,6 +9,18 @@
|
|||
The currently released version of the library is @samp{@value{GNUSTEP-GUI-VERSION}}.
|
||||
@end ifclear
|
||||
|
||||
@section Noteworthy changes in trunk
|
||||
|
||||
New features include:
|
||||
@itemize @bullet
|
||||
@item Support for drawing the GUI with a scale factor, for high-DPI monitors.
|
||||
@item Character panel
|
||||
@item Color picker ``Magnifier'' tool, for grabbing the color of arbitrary parts of the screen
|
||||
@item Many new image formats supported for reading using Ghostscript and ImageMagick
|
||||
@end itemize
|
||||
|
||||
Many NSImage improvements (Mac OS X 10.6 drawing methods, better selection of image reps, better support for icons). Many bugfixes, including in Xib loading, printing, and NSView geometry.
|
||||
|
||||
@section Noteworthy changes in version @samp{0.20.0}
|
||||
|
||||
A new stable release. Many improvments with Nib loading, documents and
|
||||
|
|
Loading…
Reference in a new issue