missing NULL terminator in set_config_x
[geda-gaf.git] / gschem / include / x_states.h
blob5b7c313dd57b7ffd1f5e98daff7d551dbf388c6b
1 /* gEDA - GPL Electronic Design Automation
2 * gschem - gEDA Schematic Capture
3 * Copyright (C) 1998-2010 Ales Hvezda
4 * Copyright (C) 1998-2020 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 X_STATES_H
22 #define X_STATES_H
24 #undef NONE
26 /* NOTE: when adding states, also update i_status_string() function */
28 enum x_states {
29 /* Basic modes */
30 SELECT,
31 GRIPS,
32 /* Draw modes */
33 ARCMODE,
34 BOXMODE,
35 BUSMODE,
36 CIRCLEMODE,
37 LINEMODE,
38 NETMODE,
39 PATHMODE,
40 PICTUREMODE,
41 PINMODE,
42 /* Place modes */
43 COMPMODE,
44 COPYMODE,
45 MCOPYMODE,
46 MOVEMODE,
47 PASTEMODE,
48 TEXTMODE,
49 /* Box modes */
50 SBOX,
51 ZOOMBOX,
52 /* Special modes */
53 PAN,
54 MIRRORMODE,
55 ROTATEMODE,
56 OGNRSTMODE,
60 #endif