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

gEDA-cvs: CVS update: globals.h



  User: danmc   
  Date: 06/04/22 23:48:27

  Modified:    .        globals.h prototype.h
  Log:
  add support for some new hooks:
  
  
  
  select_component_hook
  
  select_net_hook
  
  deselect_component_hook
  
  deselect_net_hook
  
  deselect_all
  
  
  
  In addition provide a partial example of how one can use these hooks to
  
  communicate to pcb.
  
  
  
  
  Revision  Changes    Path
  1.14      +5 -0      eda/geda/devel/gschem/include/globals.h
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: globals.h
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/devel/gschem/include/globals.h,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -b -r1.13 -r1.14
  --- globals.h	25 Feb 2006 15:00:57 -0000	1.13
  +++ globals.h	23 Apr 2006 03:48:27 -0000	1.14
  @@ -79,6 +79,11 @@
   extern SCM mirror_pin_hook;
   extern SCM rotate_pin_hook;
   extern SCM add_attribute_hook;
  +extern SCM deselect_component_hook;
  +extern SCM deselect_net_hook;
  +extern SCM deselect_all_hook;
  +extern SCM select_component_hook;
  +extern SCM select_net_hook;
   
   #include "gettext.h"
   #ifdef ENABLE_NLS
  
  
  
  1.126     +1 -0      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.125
  retrieving revision 1.126
  diff -u -b -r1.125 -r1.126
  --- prototype.h	25 Feb 2006 15:00:57 -0000	1.125
  +++ prototype.h	23 Apr 2006 03:48:27 -0000	1.126
  @@ -681,6 +681,7 @@
   void o_pin_rubberpin(TOPLEVEL *w_current, int x, int y);
   void o_pin_eraserubber(TOPLEVEL *w_current);
   /* o_select.c */
  +void o_select_run_hooks(TOPLEVEL *w_current, OBJECT *o_current, int flag);
   void o_select_object(TOPLEVEL *w_current, OBJECT *o_current, int type, int count);
   void o_select_box_start(TOPLEVEL *w_current, int x, int y);
   void o_select_box_end(TOPLEVEL *w_current, int x, int y);