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/rcbox.e,v 1.7 2011/06/09 15:55:15 cvsps Exp $
19 */
20
21#ifndef _RCBOX_E_
22#define _RCBOX_E_
23
24extern int	rcBoxDrawn;
25
26#ifdef _INCLUDE_FROM_RCBOX_C_
27#undef extern
28#define extern
29#endif /*_INCLUDE_FROM_RCBOX_C_*/
30
31extern void	SetRCBoxVertex ARGS_DECL((int X1, int Y1, int X2, int Y2,
32		                          int Radius));
33extern void	MyRCBox ARGS_DECL((Window, GC, int X1, int Y1, int X2, int Y2,
34		                   int Radius));
35extern void	DumpRCBoxObj ARGS_DECL((FILE *, struct ObjRec *));
36extern int	NeedsToCacheRCBoxObj ARGS_DECL((struct ObjRec *));
37extern void	CreateRCBoxObj ARGS_DECL((int X1, int Y1, int X2, int Y2,
38		                          int CreateAbsolute));
39extern void	DrawRCBoxObj ARGS_DECL((Window, int XOff, int YOff,
40		                        struct ObjRec *));
41extern void	DrawRCBox ARGS_DECL((XEvent *));
42extern void	MakeRCBoxObjFromBoundingBox ARGS_DECL((void));
43extern void	SaveRCBoxObj ARGS_DECL((FILE *, struct ObjRec *));
44extern void	ReadRCBoxObj ARGS_DECL((FILE *, char *Inbuf, struct ObjRec **));
45extern void	SetRCBoxPropMask ARGS_DECL((struct ObjRec *, long *plMask,
46		                            long *plSkip,
47		                            struct PropertiesRec *pProp));
48extern void	FreeRCBoxObj ARGS_DECL((struct ObjRec *));
49
50#ifdef _INCLUDE_FROM_RCBOX_C_
51#undef extern
52#ifndef _NO_RECURSIVE_EXTERN
53#define extern extern
54#endif /* ~_NO_RECURSIVE_EXTERN */
55#endif /*_INCLUDE_FROM_RCBOX_C_*/
56
57#endif /*_RCBOX_E_*/
58