[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: CVS update: o_move.c
User: pcjc2
Date: 06/12/27 15:18:18
Modified: . Tag: noscreen o_move.c
Log:
* include/prototype.h, src/o_move.c: Modify o_move_end_lowlevel()
to not require screen coordinates as a parameter (which were
unused). Alter usage in o_move_end() as appropriate.
Revision Changes Path
No revision
No revision
1.29.6.2 +0 -6 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.6.1
retrieving revision 1.29.6.2
diff -u -b -r1.29.6.1 -r1.29.6.2
--- o_move.c 27 Dec 2006 17:37:56 -0000 1.29.6.1
+++ o_move.c 27 Dec 2006 20:18:18 -0000 1.29.6.2
@@ -76,7 +76,6 @@
*/
void o_move_end_lowlevel(TOPLEVEL * w_current, OBJECT * list, int type,
int diff_x, int diff_y,
- int screen_diff_x, int screen_diff_y,
GList** other_objects, GList** connected_objects)
{
OBJECT *o_current;
@@ -169,7 +168,6 @@
GList *s_current = NULL;
OBJECT *object;
int diff_x, diff_y;
- int screen_diff_x, screen_diff_y;
int lx, ly;
int sx, sy;
int left, top, right, bottom;
@@ -188,8 +186,6 @@
return;
}
- screen_diff_x = w_current->last_x - w_current->start_x;
- screen_diff_y = w_current->last_y - w_current->start_y;
SCREENtoWORLD(w_current, w_current->last_x, w_current->last_y,
&lx, &ly);
@@ -236,7 +232,6 @@
case (OBJ_ARC):
case (OBJ_TEXT):
o_move_end_lowlevel(w_current, object, SINGLE, diff_x, diff_y,
- screen_diff_x, screen_diff_y,
&other_objects, &connected_objects);
break;
@@ -262,7 +257,6 @@
o_move_end_lowlevel(w_current, object->complex->prim_objs,
COMPLEX, diff_x, diff_y,
- screen_diff_x, screen_diff_y,
&other_objects, &connected_objects);
_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs