22
22
* Thomas Nau, Schlehenweg 15, 88471 Baustetten, Germany
23
23
* Thomas.Nau@rz.uni-ulm.de
25
* RCS: $Id: globalconst.h,v 145.1 1997/07/26 13:01:55 nau Exp $
25
* RCS: $Id: globalconst.h,v 1.5 2004/05/29 02:26:25 danmc Exp $
28
28
/* global constants
48
48
#define DEFAULT_MEDIASIZE "a4" /* default output media */
49
49
#define DEFAULT_CELLSIZE 50 /* default cell size for symbols */
50
50
#define CLICK_TIME 200 /* default time for click expiration */
51
#define SCROLL_TIME 25 /* time between scrolls when drawing beyond border */
51
#define SCROLL_TIME 25 /* time between scrolls when drawing beyond border */
52
52
#define COLUMNS 8 /* number of columns for found pin report */
54
54
/* ---------------------------------------------------------------------------
55
55
* frame between the groundplane and the copper
57
57
#define GROUNDPLANEFRAME 15 /* unit == mil */
58
#define MASKFRAME 3 /* unit == mil */
59
60
/* ---------------------------------------------------------------------------
60
61
* some limit specifications
62
63
#define MAX_LAYER 8 /* max number of layer, check source */
63
64
/* code for more changes, a *lot* more changes */
64
65
#define NUM_STYLES 4
65
#define MIN_LINESIZE 1 /* thickness of lines in 1/1000'' */
66
#define MAX_LINESIZE 250
66
#define MIN_LINESIZE 1 /* thickness of lines in 1/100000'' */
67
#define MAX_LINESIZE 25000
67
68
#define MIN_TEXTSCALE 20 /* scaling of text objects in percent */
68
69
#define MAX_TEXTSCALE 1000
69
#define MIN_PINORVIASIZE 30 /* size of a pin or via in mils */
70
#define MIN_PINORVIAHOLE 10 /* size of a pins or vias drilling hole */
71
#define MAX_PINORVIASIZE 400
72
#define MIN_PINORVIACOPPER 20 /* min difference outer-inner diameter */
73
#define MIN_PADSIZE 10 /* size of a pad */
74
#define MAX_PADSIZE 250
75
#define MIN_GRID 1 /* grid in 1/1000'' */
77
#define CHUNK 1 /* step size for size sliders */
78
#define MIN_ZOOM 0 /* min zoom (shift operations) */
79
#define MAX_ZOOM 6 /* max zoom (shift operations) */
70
#define MIN_PINORVIASIZE 2000 /* size of a pin or via in mils */
71
#define MIN_PINORVIAHOLE 400 /* size of a pins or vias drilling hole */
72
#define MAX_PINORVIASIZE 40000
73
#define MIN_PINORVIACOPPER 400 /* min difference outer-inner diameter */
74
#define MIN_PADSIZE 500 /* size of a pad */
75
#define MAX_PADSIZE 25000
76
#define MIN_GRID 1 /* grid in 1/100000'' */
77
#define MAX_GRID 20000
78
#define CHUNK 100 /* step size for size sliders */
79
#define MIN_ZOOM -12 /* min zoom */
80
#define MAX_ZOOM 12 /* max zoom */
80
81
#define MAX_FONTPOSITION 127 /* upper limit of characters in my font */
82
#define MAX_COORD 20000 /* coordinate limits */
83
#define MIN_SIZE 1200 /* lowest width and height */
83
#define MAX_COORD 3000000 /* coordinate limits */
84
#define MIN_SIZE 120000 /* lowest width and height */
84
85
#define MAX_BUFFER 5 /* number of pastebuffers */
85
86
/* additional changes in menu.c are */
86
87
/* also required to select more buffers */
105
#define MAX_LINE_POINT_DISTANCE 8 /* maximum distance when searching */
106
#define MAX_LINE_POINT_DISTANCE 0 /* maximum distance when searching */
106
107
/* line points */
107
#define MAX_POLYGON_POINT_DISTANCE 8 /* maximum distance when searching */
108
#define MAX_POLYGON_POINT_DISTANCE 0 /* maximum distance when searching */
108
109
/* polygon points */
109
110
#define MAX_ELEMENTNAMES 3 /* number of supported names of */