Introduce POLYGONHOLE_MODE for creating holes in polygons
[geda-pcb/gde.git] / src / data.h
blob101e3dbaf69a8c6b449a04d834f79d8b46d0ab7b
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
25 * RCS: $Id$
28 /* common identifiers
31 #ifndef __DATA_INCLUDED__
32 #define __DATA_INCLUDED__
34 #include "global.h"
36 /* ---------------------------------------------------------------------------
37 * some shared identifiers
41 extern CrosshairType Crosshair;
43 extern MarkType Marked;
45 extern OutputType Output;
47 extern PCBTypePtr PCB;
49 #define max_layer (PCB->Data->LayerN)
51 extern SettingType Settings;
53 extern BufferType Buffers[MAX_BUFFER];
55 extern LibraryType Library;
57 /*extern DeviceInfoType PrintingDevice[];*/
59 extern LocationType Xorig, Yorig;
61 extern BoxType theScreen, clipBox;
63 extern double Zoom_Multiplier;
65 extern char *Progname;
66 extern char *InputTranslations;
68 extern int addedLines;
69 extern int LayerStack[MAX_LAYER];
71 extern bool RedrawOnEnter;
72 extern bool render;
73 extern bool Bumped;
75 extern FlagType no_flags;
77 extern int netlist_frozen;
79 #endif