<AWT Dev> RFR: 8182043 Access to Windows Large Icons
Alexander Zuev
alexander.zuev at oracle.com
Mon Mar 30 11:19:27 UTC 2020
Hello,
please review my fix for the issue 8182043: Access to Windows Large Icons
Bug: https://bugs.openjdk.java.net/browse/JDK-8182043
Webrev: http://cr.openjdk.java.net/~kizune/8182043/webrev
<http://cr.openjdk.java.net/~kizune/8182043/webrev/>
Main idea is to provide a new API call to retrieve image of the
specified size
and to make Windows implementation that for all the resolutions higher
than 24 pixels
returns the multi resolution image icon with image inside being the
highest quality icon
available and the size set to the size requested by the user. This way
we will have good
scaling across the different resolution while maintaining relative sizes
in the UI intact.
The exception made for images size of 24 and less since sometimes
application has
different image for the small icons in its resource section which is
optimized to
make sure that on low resolution screen this icon is not displayed as
just scaled down
blurry little square.
/Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/awt-dev/attachments/20200330/d0e03202/attachment.htm>
More information about the awt-dev
mailing list