Updated copyright text/header in most source files.
[geda-gaf/peter-b.git] / gschem / include / x_states.h
blobe73d4bb3029a3f5718fde38b1193a62435c0c80d
1 /* gEDA - GPL Electronic Design Automation
2 * gschem - gEDA Schematic Capture
3 * Copyright (C) 1998-2010 Ales Hvezda
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * as published by the Free Software Foundation; either version 2 of
8 * the License, or (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this library; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA
20 #ifndef X_STATES_H
21 #define X_STATES_H
23 #undef NONE
25 /* NOTE: when adding states, also update i_status_string() function */
27 enum x_states {
28 NONE, /* 0 */
29 SELECT, /* 1 */
30 DRAWLINE, /* 2 */
31 DRAWBOX, /* 3 */
32 MOVE, /* 4 */
33 COPY, /* 5 */
34 DRAWCIRCLE, /* 6 */
35 ZOOM, /* 7 */
36 PAN, /* 8 */
37 DRAWNET, /* 9 */
38 NETCONT, /* 10 */
39 DRAWPIN, /* 11 */
40 DRAWARC, /* 12 */
41 STARTDRAWNET, /* 13 */
42 DRAWCOMP, /* 14 */
43 SBOX, /* 15 */
44 STARTPAN, /* 16 */
45 STARTSELECT, /* 17 */
46 STARTCOPY, /* 18 */
47 STARTMOVE, /* 19 */
48 ENDCOPY, /* 20 */
49 ENDMOVE, /* 21 */
50 ENDLINE, /* 22 */
51 ENDBOX, /* 23 */
52 ENDCIRCLE, /* 24 */
53 ENDARC, /* 25 */
54 ENDPIN, /* 26 */
55 ENDCOMP, /* 27 */
56 DRAWTEXT, /* 28 */
57 ENDTEXT, /* 29 */
58 ENDROTATEP, /* 30 */
59 ENDMIRROR, /* 31 */
60 ZOOMBOXSTART, /* 32 */
61 ZOOMBOXEND, /* 33 */
62 STARTROUTENET, /* 34 */
63 ENDROUTENET, /* 35 */
64 MOUSEPAN, /* 36 */
65 DRAWBUS, /* 37 */
66 BUSCONT, /* 38 */
67 STARTDRAWBUS, /* 39 */
68 STARTPASTE, /* 40 */
69 ENDPASTE, /* 41 */
70 GRIPS, /* 42 */
71 DRAWPICTURE, /* 43 */
72 ENDPICTURE, /* 44 */
73 MCOPY, /* 45 */
74 STARTMCOPY, /* 46 */
75 ENDMCOPY /* 47 */
79 #endif