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

gEDA-cvs: CVS update: i_vars.h



  User: cnieves 
  Date: 06/05/17 10:20:48

  Modified:    .        i_vars.h prototype.h x_states.h
  Log:
  Added support for moving the selected objects just dragging them.
  
  Added multiple copy command.
  
  Allow rotating while copying or moving objects.
  
  
  
  
  Revision  Changes    Path
  1.34      +1 -0      eda/geda/devel/gschem/include/i_vars.h
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: i_vars.h
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/devel/gschem/include/i_vars.h,v
  retrieving revision 1.33
  retrieving revision 1.34
  diff -u -b -r1.33 -r1.34
  --- i_vars.h	28 Oct 2005 22:26:32 -0000	1.33
  +++ i_vars.h	17 May 2006 14:20:48 -0000	1.34
  @@ -88,3 +88,4 @@
   extern int default_add_attribute_offset;
   
   extern int default_auto_save_interval;
  +extern int default_drag_can_move;
  
  
  
  1.130     +11 -3     eda/geda/devel/gschem/include/prototype.h
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: prototype.h
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/devel/gschem/include/prototype.h,v
  retrieving revision 1.129
  retrieving revision 1.130
  diff -u -b -r1.129 -r1.130
  --- prototype.h	16 May 2006 22:31:01 -0000	1.129
  +++ prototype.h	17 May 2006 14:20:48 -0000	1.130
  @@ -1,4 +1,4 @@
  -/* $Id: prototype.h,v 1.129 2006/05/16 22:31:01 danmc Exp $ */
  +/* $Id: prototype.h,v 1.130 2006/05/17 14:20:48 cnieves Exp $ */
   
   /* a_pan.c */
   void a_pan_general(TOPLEVEL *w_current, double world_cx, double world_cy, double relativ_zoom_factor, int flags);
  @@ -58,6 +58,8 @@
   SCM g_keys_edit_select(void);
   SCM g_keys_edit_copy(void);
   SCM g_keys_edit_copy_hotkey(void);
  +SCM g_keys_edit_mcopy(void);
  +SCM g_keys_edit_mcopy_hotkey(void);
   SCM g_keys_edit_move(void);
   SCM g_keys_edit_move_hotkey(void);
   SCM g_keys_edit_delete(void);
  @@ -266,6 +268,7 @@
   SCM g_rc_output_vector_threshold(SCM numlines);
   SCM g_rc_add_attribute_offset(SCM offset);
   SCM g_rc_auto_save_interval(SCM seconds);
  +SCM g_rc_drag_can_move(SCM mode);
   /* g_register.c */
   void g_register_funcs(void);
   /* globals.c */
  @@ -309,6 +312,8 @@
   void i_callback_toolbar_edit_select(GtkWidget *widget, gpointer data);
   void i_callback_edit_copy(gpointer data, guint callback_action, GtkWidget *widget);
   void i_callback_edit_copy_hotkey(gpointer data, guint callback_action, GtkWidget *widget);
  +void i_callback_edit_mcopy(gpointer data, guint callback_action, GtkWidget *widget);
  +void i_callback_edit_mcopy_hotkey(gpointer data, guint callback_action, GtkWidget *widget);
   void i_callback_edit_move(gpointer data, guint callback_action, GtkWidget *widget);
   void i_callback_edit_move_hotkey(gpointer data, guint callback_action, GtkWidget *widget);
   void i_callback_edit_delete(gpointer data, guint callback_action, GtkWidget *widget);
  @@ -561,7 +566,8 @@
   void o_delete_text(TOPLEVEL *w_current, OBJECT *obj);
   void o_delete(TOPLEVEL *w_current);
   /* o_find.c */
  -void o_find_object(TOPLEVEL *w_current, int screen_x, int screen_y);
  +gboolean o_find_object(TOPLEVEL *w_current, int screen_x, int screen_y,
  +		       gboolean deselect_afterwards);
   /* o_grips.c */
   OBJECT *o_grips_search(TOPLEVEL *w_current, int x, int y, int *whichone);
   OBJECT *o_grips_search_arc(TOPLEVEL *w_current, OBJECT *o_current, int x, int y, int size, int *whichone);
  @@ -618,7 +624,8 @@
   void o_edit(TOPLEVEL *w_current, SELECTION *list);
   void o_lock(TOPLEVEL *w_current);
   void o_unlock(TOPLEVEL *w_current);
  -void o_rotate_90(TOPLEVEL *w_current, SELECTION *list, int centerx, int centery);
  +void o_rotate_90(TOPLEVEL *w_current, SELECTION *list, 
  +		 int centerx, int centery);
   void o_embed(TOPLEVEL *w_current, OBJECT *o_current);
   void o_unembed(TOPLEVEL *w_current, OBJECT *o_current);
   void o_mirror(TOPLEVEL *w_current, SELECTION *list, int centerx, int centery);
  @@ -721,6 +728,7 @@
   OBJECT *o_undo_find_prev_object_head(UNDO *start);
   void o_undo_callback(TOPLEVEL *w_current, int type);
   void o_undo_cleanup(void);
  +void o_undo_remove_last_undo(TOPLEVEL *w_current);
   /* parsecmd.c */
   void usage(char *cmd);
   int parse_commandline(int argc, char *argv[]);
  
  
  
  1.12      +2 -1      eda/geda/devel/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/devel/gschem/include/x_states.h,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -b -r1.11 -r1.12
  --- x_states.h	19 Feb 2005 23:27:03 -0000	1.11
  +++ x_states.h	17 May 2006 14:20:48 -0000	1.12
  @@ -30,7 +30,8 @@
     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};
  +  STARTPASTE, ENDPASTE, GRIPS, DRAWPICTURE, ENDPICTURE, MCOPY, STARTMCOPY,
  +  ENDMCOPY};
   
   
   #endif