Re: [Kicad-developers] [PATCH] OS X: Add Retina support to 3d-viewer

2016-02-24 Thread Wayne Stambaugh
On 2/24/2016 12:43 PM, Bernhard Stegmaier wrote: > >> On 24 Feb 2016, at 14:49, Wayne Stambaugh > > wrote: >> >> On 2/24/2016 4:39 AM, Bernhard Stegmaier wrote: >>> >>> Hi Mario, >>> >>> On 2016-02-24 10:01, Mário Luzeiro wrote: In relation to 3D-Viewer (the actua

Re: [Kicad-developers] [PATCH] OS X: Add Retina support to 3d-viewer

2016-02-24 Thread Bernhard Stegmaier
> On 24 Feb 2016, at 14:49, Wayne Stambaugh wrote: > > On 2/24/2016 4:39 AM, Bernhard Stegmaier wrote: >> >> Hi Mario, >> >> On 2016-02-24 10:01, Mário Luzeiro wrote: >>> In relation to 3D-Viewer (the actual stable and my/cirilo development) >>> the windows size comes from wxWidgets... maybe i

Re: [Kicad-developers] [PATCH] OS X: Add Retina support to 3d-viewer

2016-02-24 Thread Wayne Stambaugh
On 2/24/2016 4:39 AM, Bernhard Stegmaier wrote: > > Hi Mario, > > On 2016-02-24 10:01, Mário Luzeiro wrote: >> 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

Re: [Kicad-developers] [PATCH] OS X: Add Retina support to 3d-viewer

2016-02-24 Thread Bernhard Stegmaier
Hi Mario, On 2016-02-24 10:01, Mário Luzeiro wrote: 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 gener

Re: [Kicad-developers] [PATCH] OS X: Add Retina support to 3d-viewer

2016-02-24 Thread Mário Luzeiro
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 com

Re: [Kicad-developers] [PATCH] OS X: Add Retina support to 3d-viewer

2016-02-23 Thread Bernhard Stegmaier
Hi Mario, I am not an expert on this, but let me try… Retina doesn’t expose the full resolution, but only half width/height. So, one logical pixel gets 4 real pixels (2x2). When non-Retina apps draw something like 100x100 pixels, it will be 200x200 native pixels in reality and OSX will interpol

Re: [Kicad-developers] [PATCH] OS X: Add Retina support to 3d-viewer

2016-02-23 Thread Mário Luzeiro
[kicad-developers-bounces+mrluzeiro=ua...@lists.launchpad.net] on behalf of Cirilo Bernardo [cirilo.berna...@gmail.com] Sent: 23 February 2016 22:39 To: Bernhard Stegmaier Cc: KiCad Developers Subject: Re: [Kicad-developers] [PATCH] OS X: Add Retina support to 3d-viewer I have no objection as

Re: [Kicad-developers] [PATCH] OS X: Add Retina support to 3d-viewer

2016-02-23 Thread Cirilo Bernardo
I have no objection as such, but keep a copy of the patch. With the various 3D changes in progress you may need to apply the patch yet again to other code in the future. - Cirilo On Sat, Feb 20, 2016 at 11:57 PM, Bernhard Stegmaier < stegma...@sw-systems.de> wrote: > Any objections on this one

Re: [Kicad-developers] [PATCH] OS X: Add Retina support to 3d-viewer

2016-02-22 Thread Bernhard Stegmaier
Any objections on this one? > On 13.02.2016, at 20:38, Bernhard Stegmaier wrote: > > Hi, > > attached a patch to add Retina support to 3d-viewer on OS X. > It is done similar to OpenGL canvas (and, of course, also requires a patched > wxWidgets). > > > Regards, > Bernhard > > > >

[Kicad-developers] [PATCH] OS X: Add Retina support to 3d-viewer

2016-02-13 Thread Bernhard Stegmaier
Hi, attached a patch to add Retina support to 3d-viewer on OS X. It is done similar to OpenGL canvas (and, of course, also requires a patched wxWidgets). Regards, Bernhard osx-3d-retina.patch Description: Binary data ___ Mailing list: https://lau