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

gEDA-cvs: CVS update: prototype.h



  User: cnieves 
  Date: 07/04/05 12:02:07

  Modified:    .        prototype.h
  Log:
  Added calcule-new-attrib-bounds & get-attrib-value-by-attrib-name scheme funs
  
  * include/prototype.h, src/g_smob.c: Added two new scheme functions:
  
      - g_calcule_new_attrib_bounds: calcule the new bounds of an 
  
        attribute with the given parameters, _without_ modifying the 
  
        attribute.
  
      - g_get_attrib_value_by_attrib_name: given an object and an 
  
        attribute name, this function returns a list with the values
  
        of the attributes with the given name in that object.
  
  
  
  
  Revision  Changes    Path
  1.122     +3 -0      eda/geda/gaf/libgeda/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/gaf/libgeda/include/prototype.h,v
  retrieving revision 1.121
  retrieving revision 1.122
  diff -u -b -r1.121 -r1.122
  --- prototype.h	24 Feb 2007 18:43:16 -0000	1.121
  +++ prototype.h	5 Apr 2007 16:02:07 -0000	1.122
  @@ -69,12 +69,15 @@
   SCM g_make_attrib_smob(TOPLEVEL *curr_w, ATTRIB *curr_attr);
   SCM g_get_attrib_name_value(SCM attrib_smob);
   SCM g_set_attrib_value_internal(SCM attrib_smob, SCM scm_value, TOPLEVEL **world, OBJECT **o_attrib, char *new_string[]);
  +SCM g_calcule_new_attrib_bounds (SCM attrib_smob, SCM scm_alignment,
  +				 SCM scm_angle, SCM scm_x, SCM scm_y);
   void g_init_attrib_smob(void);
   
   SCM g_get_attrib_bounds(SCM attrib_smob);
   SCM g_get_attrib_angle(SCM attrib_smob);
   SCM g_make_object_smob(TOPLEVEL *curr_w, OBJECT *object);
   SCM g_get_object_attributes(SCM object_smob);
  +SCM g_get_attrib_value_by_attrib_name(SCM object_smob, SCM scm_attrib_name);
   SCM g_get_object_type(SCM object_smob);
   void g_init_object_smob(void);
   gboolean g_get_data_from_object_smob(SCM object_smob, TOPLEVEL **toplevel, 
  
  
  


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