Curved airwires: set the default to straight lines (i.e. the legacy behavior)
Add also missing comments.
This commit is contained in:
parent
6ff1919ae0
commit
c162ff9076
|
@ -2,7 +2,7 @@
|
||||||
* This program source code file is part of KiCad, a free EDA CAD application.
|
* This program source code file is part of KiCad, a free EDA CAD application.
|
||||||
*
|
*
|
||||||
* Copyright (C) 2007-2014 Jean-Pierre Charras, jp.charras at wanadoo.fr
|
* Copyright (C) 2007-2014 Jean-Pierre Charras, jp.charras at wanadoo.fr
|
||||||
* Copyright (C) 1992-2016 KiCad Developers, see AUTHORS.txt for contributors.
|
* Copyright (C) 1992-2019 KiCad Developers, see AUTHORS.txt for contributors.
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or
|
* This program is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU General Public License
|
* modify it under the terms of the GNU General Public License
|
||||||
|
@ -74,17 +74,18 @@ public:
|
||||||
|
|
||||||
bool m_DisplayPolarCood;
|
bool m_DisplayPolarCood;
|
||||||
int m_DisplayZonesMode;
|
int m_DisplayZonesMode;
|
||||||
int m_DisplayNetNamesMode; /* 0 do not show netnames,
|
int m_DisplayNetNamesMode; /* 0 do not show netnames,
|
||||||
* 1 show netnames on pads
|
* 1 show netnames on pads
|
||||||
* 2 show netnames on tracks
|
* 2 show netnames on tracks
|
||||||
* 3 show netnames on tracks and pads
|
* 3 show netnames on tracks and pads
|
||||||
*/
|
*/
|
||||||
|
|
||||||
bool m_DisplayDrawItemsFill; // How to display graphic items on board ( sketch/ filled )
|
bool m_DisplayDrawItemsFill; // How to display graphic items on board ( sketch/ filled )
|
||||||
bool m_ContrastModeDisplay;
|
bool m_ContrastModeDisplay;
|
||||||
int m_MaxLinksShowed; // in track creation: number of hairwires shown
|
int m_MaxLinksShowed; // in track creation: number of hairwires shown
|
||||||
bool m_Show_Module_Ratsnest; // When moving a footprint: allows displaying a ratsnest
|
bool m_Show_Module_Ratsnest; // When moving a footprint: allows displaying a ratsnest
|
||||||
bool m_DisplayRatsnestLinesCurved;
|
bool m_DisplayRatsnestLinesCurved; // Airwires can be drawn as straight lines (false)
|
||||||
|
// or curved lines (true)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
* Copyright (C) 2012 Jean-Pierre Charras, jean-pierre.charras@ujf-grenoble.fr
|
* Copyright (C) 2012 Jean-Pierre Charras, jean-pierre.charras@ujf-grenoble.fr
|
||||||
* Copyright (C) 2012 SoftPLC Corporation, Dick Hollenbeck <dick@softplc.com>
|
* Copyright (C) 2012 SoftPLC Corporation, Dick Hollenbeck <dick@softplc.com>
|
||||||
* Copyright (C) 2012 Wayne Stambaugh <stambaughw@verizon.net>
|
* Copyright (C) 2012 Wayne Stambaugh <stambaughw@verizon.net>
|
||||||
* Copyright (C) 1992-2012 KiCad Developers, see AUTHORS.txt for contributors.
|
* Copyright (C) 1992-2019 KiCad Developers, see AUTHORS.txt for contributors.
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or
|
* This program is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU General Public License
|
* modify it under the terms of the GNU General Public License
|
||||||
|
@ -56,5 +56,5 @@ PCB_DISPLAY_OPTIONS::PCB_DISPLAY_OPTIONS()
|
||||||
m_ContrastModeDisplay = false;
|
m_ContrastModeDisplay = false;
|
||||||
m_MaxLinksShowed = 3; // in track creation: number of hairwires shown
|
m_MaxLinksShowed = 3; // in track creation: number of hairwires shown
|
||||||
m_Show_Module_Ratsnest = true; // When moving a footprint: allows displaying a ratsnest
|
m_Show_Module_Ratsnest = true; // When moving a footprint: allows displaying a ratsnest
|
||||||
m_DisplayRatsnestLinesCurved = true;
|
m_DisplayRatsnestLinesCurved = false;
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
* Copyright (C) 2015 Jean-Pierre Charras, jp.charras at wanadoo.fr
|
* Copyright (C) 2015 Jean-Pierre Charras, jp.charras at wanadoo.fr
|
||||||
* Copyright (C) 2012 SoftPLC Corporation, Dick Hollenbeck <dick@softplc.com>
|
* Copyright (C) 2012 SoftPLC Corporation, Dick Hollenbeck <dick@softplc.com>
|
||||||
* Copyright (C) 2012 Wayne Stambaugh <stambaughw@gmail.com>
|
* Copyright (C) 2012 Wayne Stambaugh <stambaughw@gmail.com>
|
||||||
* Copyright (C) 1992-2017 KiCad Developers, see AUTHORS.txt for contributors.
|
* Copyright (C) 1992-2019 KiCad Developers, see AUTHORS.txt for contributors.
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or
|
* This program is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU General Public License
|
* modify it under the terms of the GNU General Public License
|
||||||
|
@ -198,7 +198,7 @@ PARAM_CFG_ARRAY& PCB_EDIT_FRAME::GetConfigurationSettings()
|
||||||
m_configParams.push_back( new PARAM_CFG_INT( true, wxT( "PcbShowZonesMode" ),
|
m_configParams.push_back( new PARAM_CFG_INT( true, wxT( "PcbShowZonesMode" ),
|
||||||
&displ_opts->m_DisplayZonesMode, 0, 0, 2 ) );
|
&displ_opts->m_DisplayZonesMode, 0, 0, 2 ) );
|
||||||
m_configParams.push_back( new PARAM_CFG_BOOL( true, wxT( "CurvedRatsnestLines" ),
|
m_configParams.push_back( new PARAM_CFG_BOOL( true, wxT( "CurvedRatsnestLines" ),
|
||||||
&displ_opts->m_DisplayRatsnestLinesCurved, true ) );
|
&displ_opts->m_DisplayRatsnestLinesCurved, false ) );
|
||||||
|
|
||||||
// Miscellaneous:
|
// Miscellaneous:
|
||||||
m_configParams.push_back( new PARAM_CFG_INT( true, wxT( "RotationAngle" ),
|
m_configParams.push_back( new PARAM_CFG_INT( true, wxT( "RotationAngle" ),
|
||||||
|
|
Loading…
Reference in New Issue