[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-cvs: CVS update: x_states.h



  User: ahvezda 
  Date: 07/06/01 21:02:42

  Modified:    .        x_states.h
  Log:
  Fixed a behavior where you would cancel (via right mouse button or escape)
  
  the placing of components, but gschem would still be in the add component
  
  mode (and clicks would still place components).
  
  
  
  
  Revision  Changes    Path
  1.13                 eda/geda/gaf/gschem/include/x_states.h
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: x_states.h
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gschem/include/x_states.h,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -b -r1.12 -r1.13
  --- x_states.h	17 May 2006 14:20:48 -0000	1.12
  +++ x_states.h	2 Jun 2007 01:02:42 -0000	1.13
  @@ -24,14 +24,59 @@
   
   /* NOTE: when adding states, also update i_status_string() function */
   
  -enum x_states { NONE, SELECT, DRAWLINE, DRAWBOX, MOVE, COPY, DRAWCIRCLE, ZOOM,
  -  PAN, DRAWNET, NETCONT, TEXTENTRY, DRAWPIN, DRAWARC, STARTDRAWNET, DRAWCOMP,
  -  SBOX, STARTPAN, STARTSELECT, STARTCOPY, STARTMOVE, ENDCOPY, ENDMOVE, 
  -  ENDLINE, ENDBOX, ENDCIRCLE, ENDARC, ENDPIN, ENDCOMP, DRAWATTRIB, ENDATTRIB,
  -  DRAWTEXT, ENDTEXT, ENDROTATEP, ENDMIRROR, ZOOMBOXSTART, ZOOMBOXEND, 
  -  STARTROUTENET, ENDROUTENET, MOUSEPAN, DRAWBUS, BUSCONT, STARTDRAWBUS, 
  -  STARTPASTE, ENDPASTE, GRIPS, DRAWPICTURE, ENDPICTURE, MCOPY, STARTMCOPY,
  -  ENDMCOPY};
  +enum x_states { 
  +  NONE, 		/* 0 */
  +  SELECT, 		/* 1 */
  +  DRAWLINE, 		/* 2 */
  +  DRAWBOX, 		/* 3 */
  +  MOVE, 		/* 4 */
  +  COPY, 		/* 5 */
  +  DRAWCIRCLE, 		/* 6 */
  +  ZOOM,			/* 7 */
  +  PAN, 			/* 8 */
  +  DRAWNET, 		/* 9 */
  +  NETCONT, 		/* 10 */
  +  TEXTENTRY, 		/* 11 */
  +  DRAWPIN, 		/* 12 */
  +  DRAWARC, 		/* 13 */
  +  STARTDRAWNET, 	/* 14 */
  +  DRAWCOMP,		/* 15 */
  +  SBOX, 		/* 16 */
  +  STARTPAN, 		/* 17 */
  +  STARTSELECT, 		/* 18 */
  +  STARTCOPY, 		/* 19 */
  +  STARTMOVE, 		/* 20 */
  +  ENDCOPY, 		/* 21 */
  +  ENDMOVE, 		/* 22 */
  +  ENDLINE, 		/* 23 */
  +  ENDBOX, 		/* 24 */
  +  ENDCIRCLE, 		/* 25 */
  +  ENDARC, 		/* 26 */
  +  ENDPIN, 		/* 27 */
  +  ENDCOMP, 		/* 28 */
  +  DRAWATTRIB, 		/* 29 */
  +  ENDATTRIB,		/* 30 */
  +  DRAWTEXT, 		/* 31 */
  +  ENDTEXT, 		/* 32 */
  +  ENDROTATEP, 		/* 33 */
  +  ENDMIRROR, 		/* 34 */
  +  ZOOMBOXSTART, 	/* 35 */
  +  ZOOMBOXEND, 		/* 36 */
  +  STARTROUTENET, 	/* 37 */
  +  ENDROUTENET, 		/* 38 */
  +  MOUSEPAN, 		/* 39 */
  +  DRAWBUS, 		/* 40 */
  +  BUSCONT, 		/* 41 */
  +  STARTDRAWBUS, 	/* 42 */
  +  STARTPASTE, 		/* 43 */
  +  ENDPASTE, 		/* 44 */
  +  GRIPS, 		/* 45 */
  +  DRAWPICTURE, 		/* 46 */
  +  ENDPICTURE, 		/* 47 */
  +  MCOPY, 		/* 48 */
  +  STARTMCOPY,		/* 49 */
  +  ENDMCOPY		/* 50 */
  +};
   
   
   #endif
  
  
  


_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs