[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: CVS update: o_basic.c
User: cnieves
Date: 06/10/21 16:35:59
Modified: . Tag: glist_dev o_basic.c o_complex.c o_move.c
o_text.c x_image.c
Log:
libgeda/gschem: Rename get_complex_bounds to get_object_list_bounds.
libgeda: Make get_object_list_bounds to call a new function
get_single_object_bounds, for each object in the list.
Revision Changes Path
No revision
No revision
1.21.2.1 +35 -35 eda/geda/gaf/gschem/src/o_basic.c
(In the diff below, changes in quantity of whitespace are not shown.)
Index: o_basic.c
===================================================================
RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gschem/src/o_basic.c,v
retrieving revision 1.21
retrieving revision 1.21.2.1
diff -u -b -r1.21 -r1.21.2.1
--- o_basic.c 21 Oct 2006 13:56:23 -0000 1.21
+++ o_basic.c 21 Oct 2006 20:35:58 -0000 1.21.2.1
@@ -316,7 +316,7 @@
gdk_gc_set_foreground(w_current->bounding_xor_gc, color);
if (o_list) {
- get_complex_bounds(w_current, o_list,
+ get_object_list_bounds(w_current, o_list,
&rleft ,
&rtop ,
&rright ,
@@ -345,7 +345,7 @@
#endif
if (o_list) {
- get_complex_bounds(w_current, o_list,
+ get_object_list_bounds(w_current, o_list,
&rleft ,
&rtop ,
&rright ,
@@ -416,7 +416,7 @@
}
} else {
if (o_list) {
- get_complex_bounds(w_current, o_list,
+ get_object_list_bounds(w_current, o_list,
&rleft ,
&rtop ,
&rright ,
@@ -464,7 +464,7 @@
}
} else {
if (o_list) {
- get_complex_bounds(w_current, o_list,
+ get_object_list_bounds(w_current, o_list,
&rleft ,
&rtop ,
&rright ,
@@ -528,7 +528,7 @@
/*! \todo why are we doing this here...?
* probably a reason */
if (o_list) {
- get_complex_bounds(w_current, o_list,
+ get_object_list_bounds(w_current, o_list,
&rleft ,
&rtop ,
&rright ,
@@ -561,7 +561,7 @@
if (firsttime == TRUE) {
if (o_list) {
- get_complex_bounds(w_current, o_list,
+ get_object_list_bounds(w_current, o_list,
&rleft ,
&rtop ,
&rright ,
@@ -625,7 +625,7 @@
}
if (o_list) {
- get_complex_bounds(w_current, o_list,
+ get_object_list_bounds(w_current, o_list,
&rleft ,
&rtop ,
&rright ,
1.28.2.1 +15 -17 eda/geda/gaf/gschem/src/o_complex.c
(In the diff below, changes in quantity of whitespace are not shown.)
Index: o_complex.c
===================================================================
RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gschem/src/o_complex.c,v
retrieving revision 1.28
retrieving revision 1.28.2.1
diff -u -b -r1.28 -r1.28.2.1
--- o_complex.c 21 Oct 2006 13:56:25 -0000 1.28
+++ o_complex.c 21 Oct 2006 20:35:58 -0000 1.28.2.1
@@ -46,7 +46,7 @@
o_redraw(w_current, o_current->complex->prim_objs, TRUE);
}
- get_complex_bounds(w_current, o_current->complex->prim_objs,
+ get_object_list_bounds(w_current, o_current->complex->prim_objs,
&left, &top, &right, &bottom);
o_current->left = left;
o_current->top = top;
@@ -307,8 +307,7 @@
#if 0
printf("inside draw bounding here\n");
#endif
- get_complex_bounds(
- w_current,
+ get_object_list_bounds(w_current,
w_current->page_current->
complex_place_head->next,
&rleft, &rtop, &rright, &rbottom);
@@ -411,8 +410,7 @@
#if 0
printf("inside draw bounding here\n");
#endif
- get_complex_bounds(
- w_current,
+ get_object_list_bounds(w_current,
w_current->page_current->complex_place_head->next,
&rleft, &rtop,
&rright, &rbottom);
@@ -629,7 +627,7 @@
A_PAN_DONT_REDRAW);
o_redraw_all(w_current);
- get_complex_bounds(w_current, w_current->page_current->object_head,
+ get_object_list_bounds(w_current, w_current->page_current->object_head,
&rleft,
&rtop,
&rright,
1.29.2.1 +2 -2 eda/geda/gaf/gschem/src/o_move.c
(In the diff below, changes in quantity of whitespace are not shown.)
Index: o_move.c
===================================================================
RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gschem/src/o_move.c,v
retrieving revision 1.29
retrieving revision 1.29.2.1
diff -u -b -r1.29 -r1.29.2.1
--- o_move.c 6 Aug 2006 16:45:29 -0000 1.29
+++ o_move.c 21 Oct 2006 20:35:58 -0000 1.29.2.1
@@ -264,7 +264,7 @@
&other_objects, &connected_objects);
- get_complex_bounds(w_current, object->complex->prim_objs,
+ get_object_list_bounds(w_current, object->complex->prim_objs,
&left, &top, &right, &bottom);
object->left = left;
1.21.2.1 +2 -2 eda/geda/gaf/gschem/src/o_text.c
(In the diff below, changes in quantity of whitespace are not shown.)
Index: o_text.c
===================================================================
RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gschem/src/o_text.c,v
retrieving revision 1.21
retrieving revision 1.21.2.1
diff -u -b -r1.21 -r1.21.2.1
--- o_text.c 21 Oct 2006 13:56:26 -0000 1.21
+++ o_text.c 21 Oct 2006 20:35:59 -0000 1.21.2.1
@@ -68,7 +68,7 @@
o_redraw(w_current, o_current->text->prim_objs, TRUE);
- get_complex_bounds(w_current, o_current->text->prim_objs,
+ get_object_list_bounds(w_current, o_current->text->prim_objs,
&left, &top, &right, &bottom);
o_current->left = left;
o_current->top = top;
1.26.2.1 +4 -4 eda/geda/gaf/gschem/src/x_image.c
(In the diff below, changes in quantity of whitespace are not shown.)
Index: x_image.c
===================================================================
RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gschem/src/x_image.c,v
retrieving revision 1.26
retrieving revision 1.26.2.1
diff -u -b -r1.26 -r1.26.2.1
--- x_image.c 30 Sep 2006 20:03:32 -0000 1.26
+++ x_image.c 21 Oct 2006 20:35:59 -0000 1.26.2.1
@@ -675,7 +675,7 @@
/* If there are no objects, can't use zoom_extents */
if (object_found) {
o_redraw_all (&toplevel);
- get_complex_bounds(&toplevel,
+ get_object_list_bounds(&toplevel,
toplevel.page_current->object_head,
&origin_x, &origin_y,
&right, &bottom);
_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs