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/box.e,v 1.7 2011/06/09 15:55:15 cvsps Exp $ 19 */ 20 21#ifndef _BOX_E_ 22#define _BOX_E_ 23 24extern int boxDrawn; 25 26#ifdef _INCLUDE_FROM_BOX_C_ 27#undef extern 28#define extern 29#endif /*_INCLUDE_FROM_BOX_C_*/ 30 31extern void MyBox ARGS_DECL((Window, GC, int X1, int Y1, int X2, int Y2)); 32extern void DumpBoxObj ARGS_DECL((FILE *, struct ObjRec *)); 33extern int CreateBoxObj ARGS_DECL((int X1, int Y1, int X2, int Y2, 34 int CreateAbsolute)); 35extern void DrawBoxObj ARGS_DECL((Window, int X, int Y, struct ObjRec *)); 36extern void DrawBox ARGS_DECL((XEvent *)); 37extern void MakeBoxObjFromBoundingBox ARGS_DECL((void)); 38extern void SaveBoxObj ARGS_DECL((FILE *, struct ObjRec *)); 39extern void ReadBoxObj ARGS_DECL((FILE *, char *, struct ObjRec **)); 40extern void SetBoxPropMask ARGS_DECL((struct ObjRec *, long *plMask, 41 long *plSkip, 42 struct PropertiesRec *pProp)); 43extern void FreeBoxObj ARGS_DECL((struct ObjRec *)); 44 45#ifdef _INCLUDE_FROM_BOX_C_ 46#undef extern 47#ifndef _NO_RECURSIVE_EXTERN 48#define extern extern 49#endif /* ~_NO_RECURSIVE_EXTERN */ 50#endif /*_INCLUDE_FROM_BOX_C_*/ 51 52#endif /*_BOX_E_*/ 53