(no commit message)
[geda-pcb/pcjc2.git] / src / data.c
blob9d6588c08fb39a33b06b7c9e959829bb7c1dd2ad
1 /*
2 * COPYRIGHT
4 * PCB, interactive printed circuit board design
5 * Copyright (C) 1994,1995,1996 Thomas Nau
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
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.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21 * Contact addresses for paper mail and Email:
22 * Thomas Nau, Schlehenweg 15, 88471 Baustetten, Germany
23 * Thomas.Nau@rz.uni-ulm.de
27 /* just defines common identifiers
29 #ifdef HAVE_CONFIG_H
30 #include "config.h"
31 #endif
33 #include "data.h"
35 #ifdef HAVE_LIBDMALLOC
36 #include <dmalloc.h>
37 #endif
39 /* ---------------------------------------------------------------------------
40 * some shared identifiers
43 CrosshairType Crosshair; /* information about cursor settings */
44 MarkType Marked; /* a cross-hair mark */
45 OutputType Output; /* some widgets ... used for drawing */
46 PCBType *PCB; /* pointer to layout struct */
48 char *Progname;
49 SettingType Settings;
50 int LayerStack[MAX_LAYER]; /* determines the layer draw order */
52 BufferType Buffers[MAX_BUFFER]; /* my buffers */
53 LibraryType Library; /* the library */
54 bool Bumped; /* if the undo serial number has changed */
56 int addedLines;