kicad-developers team mailing list archive
Mailing list archive
Re: Make USE_WX_ZOOM=ON the default.
On 1/12/2011 3:31 PM, Marco Serantoni wrote:
> On 12/gen/2011, at 00.41, Wayne Stambaugh wrote:
> There are some problems with the refresh on pcbnew initially and zooming in and out the screen remains completly black, i've to understood why.
This is strange indeed because DrawFrame::Recadre_Trace() calls
DrawPanel::ReDraw() directly instead of issuing a refresh command. Maybe there
is an extra refresh sneaking in somewhere on OSX that doesn't occur on other
platforms. I'm not sure why this is implemented this way, JP may have some
insight as to why the normal refresh isn't being used.
> The great thing is that the subpixel lines are great with the OSX aliasing.
> I can workaround that with some forced Refresh(), will impact on performace but for me is GO.
I'm sure this works but it seems like an ugly hack to me. I would like to see
if there isn't a better solution before we add an extra refresh for OSX.
>> Thanks for taking a look a this on OSX. Let me know if you find any
>> problems and I do my best to fix them.
>> On 1/11/2011 6:37 PM, Marco Serantoni wrote:
>>> On 11/gen/2011, at 19.34, Wayne Stambaugh wrote:
>>> Wayne, i had some problems with WX_ZOOM some time ago, expecially with printing, there was some fixes of wxwidgets latelly, i'll compile and check it on all 3 OSX main platforms ASAP.
>>> Anyway i'm interested too to simplify the code and reuse the wxwidgets one.