You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

83 lines
2.9 KiB

  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. #ifndef DEFAULT_VALUES_H
  25. #define DEFAULT_VALUES_H
  26. ///< The size of the rectangle indicating an unconnected wire or label
  27. #define DANGLING_SYMBOL_SIZE 12
  28. ///< The default pin len value when creating pins(can be changed in preference menu)
  29. #define DEFAULT_PIN_LENGTH 100
  30. ///< The default pin number size when creating pins(can be changed in preference menu)
  31. #define DEFAULT_PINNUM_SIZE 50
  32. ///< The default pin name size when creating pins(can be changed in preference menu)
  33. #define DEFAULT_PINNAME_SIZE 50
  34. ///< The default selection highlight thickness (can be changed in preference menu)
  35. #define DEFAULTSELECTIONTHICKNESS 3
  36. ///< The default line width in mils. (can be changed in preference menu)
  37. #define DEFAULT_LINE_WIDTH_MILS 6
  38. ///< The default wire width in mils. (can be changed in preference menu)
  39. #define DEFAULT_WIRE_WIDTH_MILS 6
  40. ///< The default bus width in mils. (can be changed in preference menu)
  41. #define DEFAULT_BUS_WIDTH_MILS 12
  42. ///< The default noconnect size in mils.
  43. #define DEFAULT_NOCONNECT_SIZE 48
  44. ///< The default junction diameter in mils. (can be changed in preference menu)
  45. #define DEFAULT_JUNCTION_DIAM 36
  46. ///< The default bus and wire entry size in mils.
  47. #define DEFAULT_SCH_ENTRY_SIZE 100
  48. ///< The default text size in mils. (can be changed in preference menu)
  49. #define DEFAULT_TEXT_SIZE 50
  50. ///< Ratio of the font height to the baseline of the text above the wire.
  51. #define DEFAULT_TEXT_OFFSET_RATIO 0.15
  52. ///< Ratio of the font height to space around global labels
  53. #define DEFAULT_LABEL_SIZE_RATIO 0.375
  54. ///< The offset of the pin name string from the end of the pin in mils.
  55. #define DEFAULT_PIN_NAME_OFFSET 20
  56. ///< The intersheets references prefix string
  57. #define DEFAULT_IREF_PREFIX "["
  58. ///< The intersheets references suffix string
  59. #define DEFAULT_IREF_SUFFIX "]"
  60. ///< Radius of snap "gravity well"
  61. #define SNAP_RANGE 55
  62. #endif