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

gEDA-cvs: pcb.git: branch: master updated (16ee2f61be15288605074bb8ab5cd13870c54596)



The branch, master has been updated
       via  16ee2f61be15288605074bb8ab5cd13870c54596 (commit)
      from  a73d3483fb9e10535f5b5150edf0dd13c3988fe4 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


=========
 Summary
=========

 src/action.c |   19 -------------------
 src/action.h |    1 -
 2 files changed, 0 insertions(+), 20 deletions(-)


=================
 Commit Messages
=================

commit 16ee2f61be15288605074bb8ab5cd13870c54596
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>

    action.c: Remove unused action "MovePointer"

:100644 100644 6339e39... 704b98f... M	src/action.c
:100644 100644 ee116e8... e92c578... M	src/action.h

=========
 Changes
=========

commit 16ee2f61be15288605074bb8ab5cd13870c54596
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>

    action.c: Remove unused action "MovePointer"

diff --git a/src/action.c b/src/action.c
index 6339e39..704b98f 100644
--- a/src/action.c
+++ b/src/action.c
@@ -2108,25 +2108,6 @@ ActionSetThermal (int argc, char **argv, int x, int y)
 }
 
 /* ---------------------------------------------------------------------------
- * action routine to move the X pointer relative to the current position
- * syntax: MovePointer(deltax,deltay)
- */
-void
-ActionMovePointer (char *deltax, char *deltay)
-{
-  LocationType dx, dy;
-
-  dx = (LocationType) (atoi (deltax) * PCB->Grid);
-  dy = (LocationType) (atoi (deltay) * PCB->Grid);
-
-  notify_crosshair_change (false);
-  MoveCrosshairRelative (TO_SCREEN_SIGN_X (dx), TO_SCREEN_SIGN_Y (dy));
-  /* update object position and cursor location */
-  AdjustAttachedObjects ();
-  notify_crosshair_change (true);
-}
-
-/* ---------------------------------------------------------------------------
  * !!! no action routine !!!
  *
  * event handler to set the cursor according to the X pointer position
diff --git a/src/action.h b/src/action.h
index ee116e8..e92c578 100644
--- a/src/action.h
+++ b/src/action.h
@@ -35,7 +35,6 @@
 
 #define CLONE_TYPES LINE_TYPE | ARC_TYPE | VIA_TYPE | POLYGON_TYPE
 
-void ActionMovePointer (char *, char *);
 void ActionAdjustStyle (char *);
 void EventMoveCrosshair (int, int);
 




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