[Lazarus] LCL High-DPI request for help adding images

Vojtěch Čihák vojtech.cihak at atlas.cz
Sun Feb 26 16:33:14 CET 2017


Wouldn't be better (or would it be possible) to have *.svg icons in resources and generate *.png icons on start of IDE? Now you add 150% and 200%, later will come 250, 300% as 4k, 5k and 8k monitors come to market.
 
V.
______________________________________________________________
> Od: Ondrej Pokorny via Lazarus <lazarus at lists.lazarus-ide.org>
> Komu: Lazarus mailing list <lazarus at lists.lazarus.freepascal.org>
> Datum: 22.02.2017 00:33
> Předmět: [Lazarus] LCL High-DPI request for help adding images
>
Update: I worked further today (unfortunately...)
 
 I also added icon scaling support to the IDE. The IDE now can load 150% 
 and 200% versions of the icons. If a High-DPI icon is missing, the 
 normal icon is upscaled (with the worst algorithm, but that's what is 
 available in the IDE).
 
 Request: search for volunteers who would add at least the most important 
 IDE icons (open, save, desktops - basically what is visible in the 
 coolbars). Please see images/README.txt for more info.
 
 Note: the High-DPI icons are used only from 144DPI (150%) upwards. 
 120DPI (125%) uses the original icons (which is default on Windows, AFAIK).
 
 Thanks
 Ondrej
 
 -- 
 _______________________________________________
 Lazarus mailing list
 Lazarus at lists.lazarus-ide.org
 http://lists.lazarus-ide.org/listinfo/lazarus <http://lists.lazarus-ide.org/listinfo/lazarus>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20170226/71be0b12/attachment.html>


More information about the Lazarus mailing list