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

gEDA-cvs: CVS update: globals.h



  User: cnieves 
  Date: 06/02/25 10:00:57

  Modified:    .        globals.h prototype.h
  Log:
  Added some text autoplacing hooks and related functions.
  
  
  
  
  Revision  Changes    Path
  1.13      +7 -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.12
  retrieving revision 1.13
  diff -u -b -r1.12 -r1.13
  --- globals.h	11 Jan 2006 14:44:08 -0000	1.12
  +++ globals.h	25 Feb 2006 15:00:57 -0000	1.13
  @@ -70,8 +70,15 @@
   
   /* Hooks */
   extern SCM add_component_hook;
  +extern SCM add_component_object_hook;
  +extern SCM mirror_component_object_hook;
  +extern SCM rotate_component_object_hook;
   extern SCM copy_component_hook;
   extern SCM move_component_hook;
  +extern SCM add_pin_hook;
  +extern SCM mirror_pin_hook;
  +extern SCM rotate_pin_hook;
  +extern SCM add_attribute_hook;
   
   #include "gettext.h"
   #ifdef ENABLE_NLS
  
  
  
  1.125     +9 -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.124
  retrieving revision 1.125
  diff -u -b -r1.124 -r1.125
  --- prototype.h	17 Dec 2005 13:59:13 -0000	1.124
  +++ prototype.h	25 Feb 2006 15:00:57 -0000	1.125
  @@ -24,6 +24,15 @@
   /* g_hook.c */
   SCM g_make_attrib_smob_list(TOPLEVEL *curr_w, OBJECT *curr_object);
   SCM g_set_attrib_value_x(SCM attrib_smob, SCM scm_value);
  +SCM g_add_attrib(SCM object, SCM attrib_name, 
  +		 SCM attrib_value, SCM scm_vis, SCM scm_show);
  +SCM g_get_pin_ends(SCM object);
  +SCM
  +g_set_attrib_text_properties(SCM attrib_smob, SCM scm_colorname, SCM scm_size, 
  +			     SCM scm_alignment, SCM scm_rotation, SCM scm_x,
  +			     SCM scm_y);
  +SCM g_get_object_bounds (SCM object_smob, SCM scm_inc_attribs);
  +SCM g_get_object_pins (SCM object_smob);
   /* g_keys.c */
   void set_window_current_key(TOPLEVEL *w_current);
   void g_keys_execute(int state, int keyval);