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/align.e,v 1.6 2011/05/16 16:21:56 william Exp $
19 */
20
21#ifndef _ALIGN_E_
22#define _ALIGN_E_
23
24extern int	horiAlign;
25extern int	vertAlign;
26
27extern int	alignDirectType;
28
29#ifdef _INCLUDE_FROM_ALIGN_C_
30#undef extern
31#define extern
32#endif /*_INCLUDE_FROM_ALIGN_C_*/
33
34extern void	DistrSelObjs ARGS_DECL((void));
35extern void	DistributeDirect ARGS_DECL((int));
36extern TgMenu	*CreateDistributeDirectMenu ARGS_DECL((TgMenu*, int X, int Y,
37		                                       TgMenuInfo*,
38		                                       int status_str_xlated));
39extern void	AlignSelObjs ARGS_DECL((void));
40extern void	AlignSelToPage ARGS_DECL((void));
41extern void	AlignSelToGrid ARGS_DECL((void));
42extern void	HoriAlignSubMenu ARGS_DECL((int Index));
43extern void	RefreshHoriAlignMenu ARGS_DECL((TgMenu*));
44extern TgMenu	*CreateHoriAlignMenu ARGS_DECL((TgMenu*, int X, int Y,
45		                                TgMenuInfo*,
46		                                int status_str_xlated));
47extern int	HoriAlignMenu ARGS_DECL((int X, int Y, int TrackMenubar));
48extern void	VertAlignSubMenu ARGS_DECL((int Index));
49extern void	RefreshVertAlignMenu ARGS_DECL((TgMenu*));
50extern TgMenu	*CreateVertAlignMenu ARGS_DECL((TgMenu*, int X, int Y,
51		                                TgMenuInfo*,
52		                                int status_str_xlated));
53extern int	VertAlignMenu ARGS_DECL((int X, int Y, int TrackMenubar));
54extern void	AlignDirect ARGS_DECL((int));
55extern TgMenu	*CreateAlignObjsDirectMenu ARGS_DECL((TgMenu*, int X, int Y,
56		                                      TgMenuInfo*,
57		                                      int status_str_xlated));
58extern TgMenu	*CreateAlignToGridDirectMenu ARGS_DECL((TgMenu*, int X, int Y,
59		                                        TgMenuInfo*,
60		                                        int status_str_xlated));
61extern TgMenu	*CreateAlignToPageDirectMenu ARGS_DECL((TgMenu*, int X, int Y,
62		                                        TgMenuInfo*,
63		                                        int status_str_xlated));
64extern void	CenterAnEndPoint ARGS_DECL((void));
65
66#ifdef _INCLUDE_FROM_ALIGN_C_
67#undef extern
68#ifndef _NO_RECURSIVE_EXTERN
69#define extern extern
70#endif /* ~_NO_RECURSIVE_EXTERN */
71#endif /*_INCLUDE_FROM_ALIGN_C_*/
72
73#endif /*_ALIGN_E_*/
74