Le 04/07/2014 20:55, Jason Whiteman a écrit :
> It would be nice if PCB_LAYER_WIDGET would change architecture to satisfy:
> 
>     a. Better reusability in the global context (used by the 3D viewer,
> or any other non-PCBnew "module")
<...>
> 
> Regards,
> Jason

PCB_LAYER_WIDGET is the specialized class derived from LAYER_WIDGET, for
the board editor.

An other "non-PCBnew module" (Gerbview) uses a similar layer manager
also derived from LAYER_WIDGET (but does not use PCB_LAYER_WIDGET) to
manage draw layers.

Changing PCB_LAYER_WIDGET to use it in an other application is perhaps a
bad idea.

-- 
Jean-Pierre CHARRAS

_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to