[Lazarus] LCL-fpGUI - SIGSEGV
Ondrej Pokorny
lazarus at kluug.net
Sun Feb 11 10:34:58 CET 2018
On 10.02.2018 18:51, Graeme Geldenhuys via Lazarus wrote:
> On 2018-02-10 16:31, Ondrej Pokorny via Lazarus wrote:
>> What is missing in LCL-fpGUI binding: TMonitor.PixelsPerInch.
>
> In fpGUI, you can grab that information from the global fpgApplication
> instance. That has been around for years, so both the 'maint' and
> 'develop' branches have it.
>
> function Screen_dpi_x: integer;
> function Screen_dpi_y: integer;
> function Screen_dpi: integer;
Does fpGUI support DPI on per-monitor basis? I.e. I have a high-DPI
laptop screen and a normal DPI external monitor connected to it - and I
work on both of them.
> LCL-fpGUI probably only needs the last one. I don't believe non-X11
> platforms (eg: Windows) support varying dpi on the x and y axis.
LCL scaling doesn't support varying x/y dpi either.
Ondrej
More information about the Lazarus
mailing list