From 6c5808fd18c541c0438242429c1545004841217e Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Sun, 29 Jan 2017 09:29:49 +0100 Subject: [PATCH] Update dale of last change. Add a small comment about CTL_OMIT_HIDE. --- common/eda_text.cpp | 2 +- include/eda_text.h | 6 ++++-- pcbnew/kicad_plugin.cpp | 2 +- pcbnew/kicad_plugin.h | 4 ++-- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/common/eda_text.cpp b/common/eda_text.cpp index b0b3a22621..02fc24b100 100644 --- a/common/eda_text.cpp +++ b/common/eda_text.cpp @@ -2,7 +2,7 @@ * This program source code file is part of KiCad, a free EDA CAD application. * * Copyright (C) 2016 Jean-Pierre Charras, jp.charras at wanadoo.fr - * Copyright (C) 2004-2016 KiCad Developers, see change_log.txt for contributors. + * Copyright (C) 2004-2017 KiCad Developers, see change_log.txt for contributors. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License diff --git a/include/eda_text.h b/include/eda_text.h index 592c637133..45804846f2 100644 --- a/include/eda_text.h +++ b/include/eda_text.h @@ -2,7 +2,7 @@ * This program source code file is part of KiCad, a free EDA CAD application. * * Copyright (C) 2013 Jean-Pierre Charras, jpe.charras at wanadoo.fr - * Copyright (C) 2004-2013 KiCad Developers, see change_log.txt for contributors. + * Copyright (C) 2004-2017 KiCad Developers, see change_log.txt for contributors. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -37,7 +37,9 @@ // part of the kicad_plugin.h family of defines. -#define CTL_OMIT_HIDE (1 << 6) // found in eda_text.h +// See kicad_plugin.h for the choice of the value +// When set when calling EDA_TEXT::Format, disable writing the "hide" keyword in save file +#define CTL_OMIT_HIDE (1 << 6) // Graphic Text justify: diff --git a/pcbnew/kicad_plugin.cpp b/pcbnew/kicad_plugin.cpp index c53067606d..93f3b8e3c8 100644 --- a/pcbnew/kicad_plugin.cpp +++ b/pcbnew/kicad_plugin.cpp @@ -2,7 +2,7 @@ * This program source code file is part of KiCad, a free EDA CAD application. * * Copyright (C) 2012 CERN - * Copyright (C) 1992-2016 KiCad Developers, see AUTHORS.txt for contributors. + * Copyright (C) 1992-2017 KiCad Developers, see AUTHORS.txt for contributors. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License diff --git a/pcbnew/kicad_plugin.h b/pcbnew/kicad_plugin.h index 7d1d36850c..bd7abff4a6 100644 --- a/pcbnew/kicad_plugin.h +++ b/pcbnew/kicad_plugin.h @@ -2,7 +2,7 @@ * This program source code file is part of KiCad, a free EDA CAD application. * * Copyright (C) 2012 CERN. - * Copyright (C) 1992-2016 KiCad Developers, see AUTHORS.txt for contributors. + * Copyright (C) 1992-2017 KiCad Developers, see AUTHORS.txt for contributors. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -51,7 +51,7 @@ class NETINFO_MAPPING; #define CTL_OMIT_PATH (1 << 4) ///< Omit component sheet time stamp (useless in library) #define CTL_OMIT_AT (1 << 5) ///< Omit position and rotation // (always saved with potion 0,0 and rotation = 0 in library) -//#define CTL_OMIT_HIDE (1 << 6) // found in eda_text.h +//#define CTL_OMIT_HIDE (1 << 6) // found and defined in eda_text.h // common combinations of the above: