1 /* 2 * This program source code file is part of KiCad, a free EDA CAD application. 3 * 4 * Copyright (C) 2020 Jean-Pierre Charras, jp.charras at wanadoo.fr 5 * Copyright (C) 2016-2021 KiCad Developers, see AUTHORS.txt for contributors. 6 * 7 * This program is free software; you can redistribute it and/or 8 * modify it under the terms of the GNU General Public License 9 * as published by the Free Software Foundation; either version 2 10 * of the License, or (at your option) any later version. 11 * 12 * This program is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * GNU General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License 18 * along with this program; if not, you may find one here: 19 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 20 * or you may search the http://www.gnu.org website for the version 2 license, 21 * or you may write to the Free Software Foundation, Inc., 22 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA 23 */ 24 25 #ifndef DEFAULT_VALUES_H 26 #define DEFAULT_VALUES_H 27 28 29 ///< The size of the rectangle indicating an unconnected wire or label 30 #define DANGLING_SYMBOL_SIZE 12 31 32 ///< The default pin len value when creating pins(can be changed in preference menu) 33 #define DEFAULT_PIN_LENGTH 100 34 35 ///< The default pin number size when creating pins(can be changed in preference menu) 36 #define DEFAULT_PINNUM_SIZE 50 37 38 ///< The default pin name size when creating pins(can be changed in preference menu) 39 #define DEFAULT_PINNAME_SIZE 50 40 41 ///< The default selection highlight thickness (can be changed in preference menu) 42 #define DEFAULTSELECTIONTHICKNESS 3 43 44 ///< The default line width in mils. (can be changed in preference menu) 45 #define DEFAULT_LINE_WIDTH_MILS 6 46 47 ///< The default wire width in mils. (can be changed in preference menu) 48 #define DEFAULT_WIRE_WIDTH_MILS 6 49 50 ///< The default bus width in mils. (can be changed in preference menu) 51 #define DEFAULT_BUS_WIDTH_MILS 12 52 53 ///< The default noconnect size in mils. 54 #define DEFAULT_NOCONNECT_SIZE 48 55 56 ///< The default junction diameter in mils. (can be changed in preference menu) 57 #define DEFAULT_JUNCTION_DIAM 36 58 59 ///< The default bus and wire entry size in mils. 60 #define DEFAULT_SCH_ENTRY_SIZE 100 61 62 ///< The default text size in mils. (can be changed in preference menu) 63 #define DEFAULT_TEXT_SIZE 50 64 65 ///< Ratio of the font height to the baseline of the text above the wire. 66 #define DEFAULT_TEXT_OFFSET_RATIO 0.15 67 68 ///< Ratio of the font height to space around global labels 69 #define DEFAULT_LABEL_SIZE_RATIO 0.375 70 71 ///< The offset of the pin name string from the end of the pin in mils. 72 #define DEFAULT_PIN_NAME_OFFSET 20 73 74 ///< The intersheets references prefix string 75 #define DEFAULT_IREF_PREFIX "[" 76 77 ///< The intersheets references suffix string 78 #define DEFAULT_IREF_SUFFIX "]" 79 80 ///< Radius of snap "gravity well" 81 #define SNAP_RANGE 55 82 83 #endif 84