[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: CVS update: i_vars.h
User: ahvezda
Date: 06/05/20 15:02:31
Modified: . i_vars.h prototype.h struct.h
Log:
Added code to support arbitrary attribute promotion
Revision Changes Path
1.3 +2 -0 eda/geda/devel/libgeda/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/libgeda/include/i_vars.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- i_vars.h 18 May 2006 02:13:05 -0000 1.2
+++ i_vars.h 20 May 2006 19:02:31 -0000 1.3
@@ -9,3 +9,5 @@
extern char *default_bitmap_directory;
extern char *default_bus_ripper_symname;
extern char *default_postscript_prolog;
+
+extern char *default_always_promote_attributes;
1.102 +2 -1 eda/geda/devel/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/devel/libgeda/include/prototype.h,v
retrieving revision 1.101
retrieving revision 1.102
diff -u -b -r1.101 -r1.102
--- prototype.h 18 May 2006 02:13:05 -0000 1.101
+++ prototype.h 20 May 2006 19:02:31 -0000 1.102
@@ -58,6 +58,7 @@
SCM g_rc_bus_ripper_symname(SCM scmsymname);
SCM g_rc_postscript_prolog(SCM scmsymname);
SCM g_rc_map_font_character_to_file(SCM character_param, SCM file_param);
+SCM g_rc_always_promote_attributes(SCM scmsymname);
/* g_register.c */
void g_register_libgeda_funcs(void);
@@ -275,7 +276,7 @@
void get_complex_bounds_selection(TOPLEVEL *w_current, SELECTION *head, int *left, int *top, int *right, int *bottom);
void world_get_complex_bounds(TOPLEVEL *w_current, OBJECT *complex, int *left, int *top, int *right, int *bottom);
OBJECT *add_head(void);
-int o_complex_is_eligible_attribute(OBJECT *object, int promote_invisible);
+int o_complex_is_eligible_attribute(TOPLEVEL *w_current, OBJECT *object, int promote_invisible);
int o_complex_is_embedded(OBJECT *o_current);
OBJECT *o_complex_add(TOPLEVEL *w_current, OBJECT *object_list, char type, int color, int x, int y, int angle, int mirror, char *clib, char *basename, int selectable, int attribute_promotion);
OBJECT *o_complex_add_embedded(TOPLEVEL *w_current, OBJECT *object_list, char type, int color, int x, int y, int angle, char *clib, char *basename, int selectable);
1.83 +3 -0 eda/geda/devel/libgeda/include/struct.h
(In the diff below, changes in quantity of whitespace are not shown.)
Index: struct.h
===================================================================
RCS file: /home/cvspsrv/cvsroot/eda/geda/devel/libgeda/include/struct.h,v
retrieving revision 1.82
retrieving revision 1.83
diff -u -b -r1.82 -r1.83
--- struct.h 18 May 2006 02:13:05 -0000 1.82
+++ struct.h 20 May 2006 19:02:31 -0000 1.83
@@ -880,6 +880,9 @@
/* Controls if drag can move objects or not */
int drag_can_move;
+ /* List of attributes to always promote */
+ char *always_promote_attributes;
+
/* gnetlist specific */
int net_naming_priority;