gschem

x_states.h

Go to the documentation of this file.
00001 /* gEDA - GPL Electronic Design Automation
00002  * gschem - gEDA Schematic Capture
00003  * Copyright (C) 1998-2010 Ales Hvezda
00004  *
00005  * This program is free software; you can redistribute it and/or
00006  * modify it under the terms of the GNU General Public License 
00007  * as published by the Free Software Foundation; either version 2 of 
00008  * the License, or (at your option) any later version.
00009  *
00010  * This program is distributed in the hope that it will be useful,
00011  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013  * General Public License for more details.
00014  *
00015  * You should have received a copy of the GNU General Public License 
00016  * along with this library; if not, write to the Free Software 
00017  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
00018  */
00019 
00020 #ifndef X_STATES_H
00021 #define X_STATES_H
00022 
00023 #undef NONE
00024 
00025 /* NOTE: when adding states, also update i_status_string() function */
00026 
00027 enum x_states { 
00028   NONE,         /* 0 */
00029   SELECT,       /* 1 */
00030   DRAWLINE,         /* 2 */
00031   DRAWBOX,      /* 3 */
00032   MOVE,         /* 4 */
00033   COPY,         /* 5 */
00034   DRAWCIRCLE,       /* 6 */
00035   ZOOM,         /* 7 */
00036   PAN,          /* 8 */
00037   DRAWNET,      /* 9 */
00038   NETCONT,      /* 10 */
00039   DRAWPIN,      /* 11 */
00040   DRAWARC,      /* 12 */
00041   STARTDRAWNET,     /* 13 */
00042   DRAWCOMP,     /* 14 */
00043   SBOX,         /* 15 */
00044   STARTPAN,         /* 16 */
00045   STARTSELECT,      /* 17 */
00046   STARTCOPY,        /* 18 */
00047   STARTMOVE,        /* 19 */
00048   ENDCOPY,      /* 20 */
00049   ENDMOVE,      /* 21 */
00050   ENDLINE,      /* 22 */
00051   ENDBOX,       /* 23 */
00052   ENDCIRCLE,        /* 24 */
00053   ENDARC,       /* 25 */
00054   ENDPIN,       /* 26 */
00055   ENDCOMP,      /* 27 */
00056   DRAWTEXT,         /* 28 */
00057   ENDTEXT,      /* 29 */
00058   ENDROTATEP,       /* 30 */
00059   ENDMIRROR,        /* 31 */
00060   ZOOMBOXSTART,     /* 32 */
00061   ZOOMBOXEND,       /* 33 */
00062   STARTROUTENET,    /* 34 */
00063   ENDROUTENET,      /* 35 */
00064   MOUSEPAN,         /* 36 */
00065   DRAWBUS,      /* 37 */
00066   BUSCONT,      /* 38 */
00067   STARTDRAWBUS,     /* 39 */
00068   STARTPASTE,       /* 40 */
00069   ENDPASTE,         /* 41 */
00070   GRIPS,        /* 42 */
00071   DRAWPICTURE,      /* 43 */
00072   ENDPICTURE,       /* 44 */
00073   MCOPY,        /* 45 */
00074   STARTMCOPY,       /* 46 */
00075   ENDMCOPY      /* 47 */
00076 };
00077 
00078 
00079 #endif
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines