Fix compil warnings
This commit is contained in:
parent
de6b32d236
commit
e3c71efbeb
|
@ -28,21 +28,24 @@ PCB_GENERAL_SETTINGS::PCB_GENERAL_SETTINGS( FRAME_T aFrameType )
|
||||||
{
|
{
|
||||||
switch( m_frameType )
|
switch( m_frameType )
|
||||||
{
|
{
|
||||||
case FRAME_PCB:
|
case FRAME_PCB:
|
||||||
Add( "LegacyAutoDeleteOldTrack", &m_legacyAutoDeleteOldTrack, true );
|
Add( "LegacyAutoDeleteOldTrack", &m_legacyAutoDeleteOldTrack, true );
|
||||||
Add( "LegacyUse45DegreeTracks",&m_legacyUse45DegreeTracks, true);
|
Add( "LegacyUse45DegreeTracks",&m_legacyUse45DegreeTracks, true);
|
||||||
Add( "LegacyUseTwoSegmentTracks", &m_legacyUseTwoSegmentTracks, true);
|
Add( "LegacyUseTwoSegmentTracks", &m_legacyUseTwoSegmentTracks, true);
|
||||||
Add( "Use45DegreeGraphicSegments", &m_use45DegreeGraphicSegments, false);
|
Add( "Use45DegreeGraphicSegments", &m_use45DegreeGraphicSegments, false);
|
||||||
Add( "MagneticPads", reinterpret_cast<int*>( &m_magneticPads ), CAPTURE_CURSOR_IN_TRACK_TOOL );
|
Add( "MagneticPads", reinterpret_cast<int*>( &m_magneticPads ), CAPTURE_CURSOR_IN_TRACK_TOOL );
|
||||||
Add( "MagneticTracks", reinterpret_cast<int*>( &m_magneticTracks ), CAPTURE_CURSOR_IN_TRACK_TOOL );
|
Add( "MagneticTracks", reinterpret_cast<int*>( &m_magneticTracks ), CAPTURE_CURSOR_IN_TRACK_TOOL );
|
||||||
Add( "EditActionChangesTrackWidth", &m_editActionChangesTrackWidth, false );
|
Add( "EditActionChangesTrackWidth", &m_editActionChangesTrackWidth, false );
|
||||||
Add( "DragSelects", &m_dragSelects, true );
|
Add( "DragSelects", &m_dragSelects, true );
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case FRAME_PCB_MODULE_EDITOR:
|
case FRAME_PCB_MODULE_EDITOR:
|
||||||
Add( "Use45DegreeGraphicSegments", &m_use45DegreeGraphicSegments, false);
|
Add( "Use45DegreeGraphicSegments", &m_use45DegreeGraphicSegments, false);
|
||||||
Add( "DragSelects", &m_dragSelects, true );
|
Add( "DragSelects", &m_dragSelects, true );
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue