← Back to team overview

kicad-developers team mailing list archive

Re: Re: OSX: pcbnew with CORE_GRAPHICS.


No, I believe this is a mis-understanding. Trace_Pcb() is not intended to receive wxOR. I'll wait until you can get help from a developer with a Mac at this point.

We just took a wrong turn and the conversation has now reached a dead end. Please go back to my earlier message and try and answer those 2 questions.


It might be possible to get to a very functional pcbnew with just the GR_COPY support if we also added the "draw current layer last" support that was discussed here recently. Then to see objects clearest, you would simply select the layer that they are on. Would we also have to get rid of any GR_XOR mode support too? Please test that as well.

I've done a test and looks that:
printf("GR_OR: %u wxOR %u\n",GR_OR,wxOR);
GR_OR: 16777216 wxOR 14

So I've got something better and i think more than acceptable:

Index: tracepcb.cpp
--- tracepcb.cpp	(revision 958)
+++ tracepcb.cpp	(working copy)
@@ -85,7 +85,7 @@

DrawPanel->DrawBackGround( DC );

- Trace_Pcb( DC, GR_OR );
+ Trace_Pcb( DC, wxOR );
TraceWorkSheet( DC, GetScreen(), 0 );