gsch2pcb: Show subprocess output in verbose mode.
[geda-gaf/peter-b.git] / gschem / include / gschem_defines.h
blob37f0ac84464fa84082e220da04ede40e84cb4859
1 /* gEDA - GPL Electronic Design Automation
2 * gschem - gEDA Schematic Capture
3 * Copyright (C) 1998-2010 Ales Hvezda
4 * Copyright (C) 1998-2010 gEDA Contributors (see ChangeLog for details)
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Library General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21 #ifndef _GSCHEM_DEFINES_H_INCL
22 #define _GSCHEM_DEFINES_H_INCL
24 #define ZOOM_OUT 0
25 #define ZOOM_IN 1
26 #define ZOOM_FULL 2
28 /* For grip size */
29 #define GRIP_SIZE1 25
30 #define GRIP_SIZE2 50
31 #define GRIP_SIZE3 80
32 #define SMALL_ZOOMFACTOR1 150
33 #define SMALL_ZOOMFACTOR2 30
34 #define MAXIMUM_GRIP_PIXELS 30
36 /* for bus_ripper_type */
37 #define COMP_BUS_RIPPER 0
38 #define NET_BUS_RIPPER 1
40 /* for bus_ripper_rotation */
41 #define SYMMETRIC 0
42 #define NON_SYMMETRIC 1
44 #define FREE 1
45 #define CONSTRAINED 2
47 /* for attrib_edit_dialog invocation flag */
48 #define FROM_MENU 0
49 #define FROM_HOTKEY 1
51 /* for text cap style */
52 #define LOWER 0
53 #define UPPER 1
54 #define BOTH 2
56 /* These modes are for net_endpoint_mode */
57 #define NONE 0
58 #define FILLEDBOX 1
59 #define EMPTYBOX 2
60 #define X 3
62 /* These modes are for net_midpoint_mode */
63 /* NONE also applies here */
64 #define FILLED 3
65 #define EMPTY 4
67 /* These modes are for actionfeedback_mode */
68 /* there's a hack in i_keypress.c dealing with the 0 and 1 (has to be these */
69 /* values */
70 #define OUTLINE 0
71 #define BOUNDINGBOX 1
73 /* This is an additional mode for last_drawb_mode, to indicate there was no
74 * last bounding box drawn. last_drawb_mode also takes actionfeedback_mode
75 * constants, so be sure not to clash with those */
76 #define LAST_DRAWB_MODE_NONE -1
78 /* there are modes for text-feedback */
79 #define ONLY_WHEN_READABLE 0
80 #define ALWAYS 1
82 /* used in o_undo_callback */
83 #define UNDO_ACTION 0
84 #define REDO_ACTION 1
86 /* used for undo_type */
87 #define UNDO_DISK 0
88 #define UNDO_MEMORY 1
90 /* selection types */
91 /* used in o_select_object */
92 #define SINGLE 0
93 #define MULTIPLE 1
95 /* for grid */
96 #define GRID_NONE 0
97 #define GRID_DOTS 1
98 #define GRID_MESH 2
100 /* for dots_grid_mode */
101 #define DOTS_GRID_VARIABLE_MODE 0
102 #define DOTS_GRID_FIXED_MODE 1
104 /* for log-window keyword */
105 #define MAP_LATER 0
106 #define MAP_ON_STARTUP 1
108 /* for log-window-type */
109 #define DECORATED 0
110 #define TRANSIENT 1
112 /* for third-mouse */
113 #define POPUP_ENABLED 0
114 #define MOUSEPAN_ENABLED 1
116 /* for middle-mouse */
117 #define STROKE 0
118 #define REPEAT 1
119 #define ACTION 2
120 #define MID_MOUSEPAN_ENABLED 3
122 /* for scroll-wheel */
123 #define SCROLL_WHEEL_CLASSIC 0
124 #define SCROLL_WHEEL_GTK 1
126 /* for selected_from */
127 #define DONTCARE 0
128 #define MENU 1
129 #define HOTKEY 2
131 /* for a_pan_general and a_zoom */
132 #define A_PAN_IGNORE_BORDERS 1
133 #define A_PAN_DONT_REDRAW 2
135 #endif /* !_GSCHEM_DEFINES_H_INCL */