kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #23342
Re: [PATCH] OS X: Add Retina support to 3d-viewer
-
To:
Bernhard Stegmaier <stegmaier@xxxxxxxxxxxxx>
-
From:
Mário Luzeiro <mrluzeiro@xxxxx>
-
Date:
Wed, 24 Feb 2016 09:01:02 +0000
-
Accept-language:
en-GB, en-US
-
Authentication-results:
sw-systems.de; dkim=none (message not signed) header.d=none;sw-systems.de; dmarc=none action=none header.from=ua.pt;
-
Cc:
KiCad Developers <kicad-developers@xxxxxxxxxxxxxxxxxxx>
-
In-reply-to:
<42C461D4-563C-4B27-AF62-D67844276536@sw-systems.de>
-
Spamdiagnosticmetadata:
NSPM
-
Spamdiagnosticoutput:
1:23
-
Thread-index:
AQHRZpkKhetlfNXeXEOsMl8z9FFbvp80716AgAVZkACAAAOW8YAAiDiAgAAgjLU=
-
Thread-topic:
[Kicad-developers] [PATCH] OS X: Add Retina support to 3d-viewer
Hi Bernhard,
> It is on my list to try your branch in the next days.
> If you can give me some hints where to best add those two snippets (initialisation and scaling), I’ll add it and send you a patch.
In relation to 3D-Viewer (the actual stable and my/cirilo development) the windows size comes from wxWidgets... maybe in different places..
I don't know about the GAL, but in this case, I would suggest if you could think in some kind of general function that can be used in different places.
That function will abstract that OS X condition to get the windows size.. so we will not spread OS #ifdefs on the source
Mario Luzeiro
Follow ups
References