kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #04370
OSX: problem with Sheet after release 2388
-
To:
kicad-devel@xxxxxxxxxxxxxxx
-
From:
"emmedics4" <marco.serantoni@...>
-
Date:
Tue, 23 Feb 2010 21:20:37 -0000
-
User-agent:
eGroups-EW/0.82
After the change of USE_WX_ZOOM there was a problem on the display of the worksheet.
Lines where almost invisibile on pcbnew while instead are almost ok on eeschema.
I suspect that the problem is in the scaling of lines size and the difference of internal size between eeschema and pcbnew and that could be not showed on other platforms that have as granularity the pixel.
I've developed this dirty trick and i wish being tested before commit it.
--
Marco
Index: tracepcb.cpp
===================================================================
--- tracepcb.cpp (revision 2391)
+++ tracepcb.cpp (working copy)
@@ -41,7 +41,7 @@
GRSetDrawMode( DC, GR_COPY );
DrawPanel->DrawBackGround( DC );
- TraceWorkSheet( DC, screen, 0 );
+ TraceWorkSheet( DC, screen, 100);
/* Redraw the footprints */
for( MODULE* module = GetBoard()->m_Modules; module; module = module->Next() )
@@ -73,7 +73,7 @@
DrawPanel->DrawBackGround( DC );
- TraceWorkSheet( DC, GetScreen(), 0 );
+ TraceWorkSheet( DC, GetScreen(), 100);
GetBoard()->Draw( DrawPanel, DC, GR_OR );
Follow ups