1 /* gEDA - GPL Electronic Design Automation
2 * gschem - gEDA Schematic Capture
3 * Copyright (C) 1998-2010 Ales Hvezda
4 * Copyright (C) 1998-2019 gEDA Contributors (see ChangeLog for details)
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program 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
14 * GNU 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21 #ifndef _GSCHEM_DEFINES_H_INCL
22 #define _GSCHEM_DEFINES_H_INCL
28 #define ZOOM_EXTENTS_PADDING_PX 5
30 /* For grip size in pixels (i.e. device units) */
31 #define GRIP_SIZE 10.0
33 /* for bus_ripper_type */
34 #define COMP_BUS_RIPPER 0
35 #define NET_BUS_RIPPER 1
40 /* for attrib_edit_dialog invocation flag */
44 /* for text cap style */
49 /* These modes are for actionfeedback_mode */
50 /* there's a hack in i_keypress.c dealing with the 0 and 1 (has to be these */
55 /* This is an additional mode for last_drawb_mode, to indicate there was no
56 * last bounding box drawn. last_drawb_mode also takes actionfeedback_mode
57 * constants, so be sure not to clash with those */
58 #define LAST_DRAWB_MODE_NONE -1
60 /* used in o_undo_callback */
64 /* used for undo_type */
69 /* used in o_select_object */
82 /* for dots_grid_mode */
83 #define DOTS_GRID_VARIABLE_MODE 0
84 #define DOTS_GRID_FIXED_MODE 1
86 /* for log-window keyword */
88 #define MAP_ON_STARTUP 1
90 /* for log-window-type */
95 #define POPUP_ENABLED 0
96 #define MOUSEPAN_ENABLED 1
98 /* for middle-mouse */
102 #define MID_MOUSEPAN_ENABLED 3
104 /* for scroll-wheel */
105 #define SCROLL_WHEEL_CLASSIC 0
106 #define SCROLL_WHEEL_GTK 1
108 /* for selected_from */
113 #endif /* !_GSCHEM_DEFINES_H_INCL */