More stackup changes
[geda-pcb/pcjc2/v2.git] / src / data.c
blob1b23d345439c554986cb0d551a15bb3b8758f529
1 /*!
2 * \file src/data.c
4 * \brief Just defines common identifiers.
6 * <hr>
8 * <h1><b>Copyright.</b></h1>\n
10 * PCB, interactive printed circuit board design
12 * Copyright (C) 1994,1995,1996 Thomas Nau
14 * This program is free software; you can redistribute it and/or modify
15 * it under the terms of the GNU General Public License as published by
16 * the Free Software Foundation; either version 2 of the License, or
17 * (at your option) any later version.
19 * This program is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 * GNU General Public License for more details.
24 * You should have received a copy of the GNU General Public License
25 * along with this program; if not, write to the Free Software
26 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
28 * Contact addresses for paper mail and Email:
29 * Thomas Nau, Schlehenweg 15, 88471 Baustetten, Germany
30 * Thomas.Nau@rz.uni-ulm.de
33 #ifdef HAVE_CONFIG_H
34 #include "config.h"
35 #endif
37 #include "data.h"
39 #ifdef HAVE_LIBDMALLOC
40 #include <dmalloc.h>
41 #endif
43 /* ---------------------------------------------------------------------------
44 * some shared identifiers
47 CrosshairType Crosshair; /*!< information about cursor settings. */
48 _MarkType Marked; /*!< a cross-hair mark. */
49 OutputType Output; /*!< some widgets ... used for drawing. */
50 PCBType *PCB; /*!< pointer to layout struct. */
52 char *Progname;
53 SettingType Settings;
54 int LayerStack[MAX_LAYER]; /*!< determines the layer draw order. */
56 BufferType Buffers[MAX_BUFFER]; /*!< my buffers. */
57 LibraryType Library; /*!< the library. */
58 bool Bumped; /*!< if the undo serial number has changed. */
60 int addedLines;