pcbnew: More about work on color selection and items visibility:

removed global variables and a lot of redundancies
This commit is contained in:
charras
2010-01-31 20:01:46 +00:00
parent f8215b34fb
commit a46cd46d9d
86 changed files with 647 additions and 543 deletions
+2 -2
View File
@@ -194,7 +194,7 @@ void DIALOG_PLOT::Init_Dialog()
wxString layerKey;
for( layer = 0; layer < NB_LAYERS; ++layer )
{
if( !board->m_BoardSettings->IsLayerEnabled( layer ) )
if( !board->IsLayerEnabled( layer ) )
m_BoxSelectLayer[layer] = NULL;
else
m_BoxSelectLayer[layer] =
@@ -420,7 +420,7 @@ void DIALOG_PLOT::SaveOptPlot( wxCommandEvent& event )
g_pcb_plot_options.Plot_Frame_Ref = m_Plot_Sheet_Ref->GetValue();
g_pcb_plot_options.PlotPadsOnSilkLayer = m_Plot_Pads_on_Silkscreen->GetValue();
s_PlotOriginIsAuxAxis =
(m_Choice_Plot_Offset->GetSelection() == 0) ? FALSE : TRUE;