/* $Id: data.c,v 1.1 2005/12/18 00:11:32 dj Exp $ */ /* * COPYRIGHT * * PCB, interactive printed circuit board design * Copyright (C) 1994,1995,1996 Thomas Nau * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * * Contact addresses for paper mail and Email: * Thomas Nau, Schlehenweg 15, 88471 Baustetten, Germany * Thomas.Nau@rz.uni-ulm.de * */ /* just defines common identifiers */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include "data.h" #ifdef FIXME #include "dev_ps.h" #include "dev_rs274x.h" #endif #ifdef HAVE_LIBDMALLOC #include #endif RCSID("$Id: data.c,v 1.1 2005/12/18 00:11:32 dj Exp $"); /* --------------------------------------------------------------------------- * some shared identifiers */ CrosshairType Crosshair; /* information about cursor settings */ MarkType Marked; /* a cross-hair mark */ OutputType Output; /* some widgets ... used for drawing */ PCBTypePtr PCB; /* pointer to layout struct */ char *Progname; SettingType Settings; int LayerStack[MAX_LAYER]; /* determines the layer draw order */ BufferType Buffers[MAX_BUFFER]; /* my buffers */ LibraryType Library; /* the library */ Boolean Bumped; /* if the undo serial number has changed */ Boolean render; /* wether or not to re-render the pixmap */ LocationType Xorig, Yorig; /* origin offset for drawing in pixmap */ #ifdef FIXME GdkPixmap **Stipples, *XC_clock_source, *XC_clock_mask, *XC_hand_source, *XC_hand_mask, *XC_lock_source, *XC_lock_mask; #endif int addedLines; LocationType vxl, vxh, vyl, vyh; /* visible pcb coordinates */ BoxType theScreen; /* box of screen in pcb coordinates */ BoxType clipBox; /* box for clipping of drawing */ double Zoom_Multiplier = 0.01; /* { 1.5625, 2.2097, 3.125, 4.4194, 6.25, 8.8388, 12.5, 17.6777, 25, 35.3553, 50, 70.7106, 100, 141.421, 200, 282.848, 400, 565.685, 800, 1131.37, 1600, 2262.74, 3200, 4525.48, 6400 }; */ /* --------------------------------------------------------------------------- * all known printing devices */ #ifdef FIXME DeviceInfoType PrintingDevice[] = { {PS_Query, NULL}, {EPS_Query, NULL}, /* {GB_Query, NULL }, */ {GBX_Queryh, NULL}, /* {GBX_Query, NULL }, */ {NULL, NULL} }; #endif