1/*
2 * Author:      William Chia-Wei Cheng (bill.cheng@acm.org)
3 *
4 * Copyright (C) 2001-2009, William Chia-Wei Cheng.
5 *
6 * This file may be distributed under the terms of the Q Public License
7 * as defined by Trolltech AS of Norway and appearing in the file
8 * LICENSE.QPL included in the packaging of this file.
9 *
10 * THIS FILE IS PROVIDED AS IS WITH NO WARRANTY OF ANY KIND, INCLUDING
11 * THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR
12 * PURPOSE.  IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL,
13 * INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
14 * FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
15 * NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
16 * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17 *
18 * @(#)$Header: /mm2/home/cvs/bc-src/tgif/move.e,v 1.7 2011/05/16 16:21:58 william Exp $
19 */
20
21#ifndef _MOVE_E_
22#define _MOVE_E_
23
24extern int	oneMotionTimeout;
25extern int	minMoveInterval;
26
27#ifdef _INCLUDE_FROM_MOVE_C_
28#undef extern
29#define extern
30#endif /*_INCLUDE_FROM_MOVE_C_*/
31
32extern void	MoveObj ARGS_DECL((struct ObjRec *, int Dx, int Dy));
33extern void	MoveAllSelObjects ARGS_DECL((int Dx, int Dy));
34extern int	EndPtInSelected ARGS_DECL((int XOff, int YOff));
35extern void	MoveAllSel ARGS_DECL((int Dx, int Dy));
36extern void	MoveAnObj ARGS_DECL((struct ObjRec *ObjPtr,
37		                     struct ObjRec *TopOwner, int Dx, int Dy));
38extern void	MoveAnAttr ARGS_DECL((struct AttrRec *AttrPtr,
39		                      struct ObjRec *AttrOwnerObj,
40		                      int Dx, int Dy));
41extern void	MoveSel ARGS_DECL((int Dx, int Dy, struct ObjRec *,
42		                   XButtonEvent *));
43extern void	FinishMoveVertexForStretchStructSpline ARGS_DECL((
44				struct VSelRec *, int AbsDx, int AbsDy,
45				StretchStructuredSplineInfo*));
46extern void	MoveAllSelVs ARGS_DECL((int Dx, int Dy));
47extern void	MoveSelVs ARGS_DECL((int OrigX, int OrigY));
48
49#ifdef _INCLUDE_FROM_MOVE_C_
50#undef extern
51#ifndef _NO_RECURSIVE_EXTERN
52#define extern extern
53#endif /* ~_NO_RECURSIVE_EXTERN */
54#endif /*_INCLUDE_FROM_MOVE_C_*/
55
56#endif /*_MOVE_E_*/
57