KiCad PCB EDA Suite
pcb_display_options.cpp
Go to the documentation of this file.
1 /*
2  * This program source code file is part of KiCad, a free EDA CAD application.
3  *
4  * Copyright (C) 2012 Jean-Pierre Charras, jean-pierre.charras@ujf-grenoble.fr
5  * Copyright (C) 2012 SoftPLC Corporation, Dick Hollenbeck <dick@softplc.com>
6  * Copyright (C) 2012 Wayne Stambaugh <stambaughw@verizon.net>
7  * Copyright (C) 1992-2012 KiCad Developers, see AUTHORS.txt for contributors.
8  *
9  * This program is free software; you can redistribute it and/or
10  * modify it under the terms of the GNU General Public License
11  * as published by the Free Software Foundation; either version 2
12  * of the License, or (at your option) any later version.
13  *
14  * This program is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17  * GNU General Public License for more details.
18  *
19  * You should have received a copy of the GNU General Public License
20  * along with this program; if not, you may find one here:
21  * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
22  * or you may search the http://www.gnu.org website for the version 2 license,
23  * or you may write to the Free Software Foundation, Inc.,
24  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
25  */
26 
27 #include <common.h>
28 #include <pcbnew.h>
29 #include <board_design_settings.h>
31 #include <pcb_display_options.h>
32 #include <eda_text.h>
33 
35 {
38  m_DisplayPadNum = true;
39  m_DisplayPadIsol = true;
40 
43  m_DisplayPcbTrackFill = FILLED; // false = sketch , true = filled
45 
46  m_DisplayPolarCood = false; /* false = display absolute coordinates,
47  * true = display polar cordinates */
48  m_DisplayZonesMode = 0; /* 0 = Show filled areas outlines in zones,
49  * 1 = do not show filled areas outlines
50  * 2 = show outlines of filled areas */
51  m_DisplayNetNamesMode = 3; /* 0 do not show netnames,
52  * 1 show netnames on pads
53  * 2 show netnames on tracks
54  * 3 show netnames on tracks and pads */
56  m_ContrastModeDisplay = false;
57  m_MaxLinksShowed = 3; // in track creation: number of hairwires shown
58  m_Show_Module_Ratsnest = true; // When moving a footprint: allows displaying a ratsnest
59 }
Definition of base KiCad text object.
TRACE_CLEARANCE_DISPLAY_MODE_T m_ShowTrackClearanceMode
How trace clearances are displayed.
Board layer functions and definitions.
The common library.
Definition of PCB_DISPLAY_OPTIONS class.