~ubuntu-branches/ubuntu/precise/pcb/precise

« back to all changes in this revision

Viewing changes to globalconst.h

  • Committer: Bazaar Package Importer
  • Author(s): Hamish Moffatt
  • Date: 2005-02-20 13:14:00 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050220131400-pfz66g5vhx0azl8f
Tags: 1.99j+20050127-2
* Improved package description: (closes: #295405)
* Fixed dependency: tk84 -> tk8.4 (closes: #295404)
* Updated README.debian (closes: #269578)
* Applied patch to src/djopt.c to allow compilation with gcc-4.0
  (closes: #294319), thanks to Andreas Jochens for the patch.
* Prevent example files from being compressed

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 *  Thomas Nau, Schlehenweg 15, 88471 Baustetten, Germany
23
23
 *  Thomas.Nau@rz.uni-ulm.de
24
24
 *
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 $
26
26
 */
27
27
 
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 */
53
53
 
54
54
/* ---------------------------------------------------------------------------
55
55
 * frame between the groundplane and the copper
56
56
 */
57
57
#define GROUNDPLANEFRAME        15      /* unit == mil */
 
58
#define MASKFRAME               3       /* unit == mil */
58
59
 
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'' */
76
 
#define MAX_GRID                200
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 */
81
82
 
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 */
102
103
#endif
103
104
#endif
104
105
 
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 */
110
111
                                                /* an element */
116
117
#define MIN_GRID_DISTANCE               4       /* minimum distance between point */
117
118
                                                /* to enable grid drawing */
118
119
        /* size of diamond element mark */
119
 
#define EMARK_SIZE      10
 
120
#define EMARK_SIZE      1000
120
121
#define GBX_MAXAPERTURECOUNT    256
121
122
#endif