2 * CDE - Common Desktop Environment
4 * Copyright (c) 1993-2012, The Open Group. All rights reserved.
6 * These libraries and programs are free software; you can
7 * redistribute them and/or modify them under the terms of the GNU
8 * Lesser General Public License as published by the Free Software
9 * Foundation; either version 2 of the License, or (at your option)
12 * These libraries and programs are distributed in the hope that
13 * they will be useful, but WITHOUT ANY WARRANTY; without even the
14 * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15 * PURPOSE. See the GNU Lesser General Public License for more
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with these libraries and programs; if not, write
20 * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
21 * Floor, Boston, MA 02110-1301 USA
24 * (c) Copyright 1989, 1990, 1991, 1992 OPEN SOFTWARE FOUNDATION, INC.
31 * (c) Copyright 1987, 1988, 1989, 1990 HEWLETT-PACKARD COMPANY */
34 extern RList *AllocateRList (unsigned int amt);
35 extern void BevelDepressedRectangle (RList *prTop, RList *prBot, int x,
36 int y, unsigned int width,
37 unsigned int height, unsigned int top_wid,
38 unsigned int right_wid,
40 unsigned int left_wid,
42 extern void BevelRectangle (RList *prTop, RList *prBot, int x, int y,
43 unsigned int width, unsigned int height,
44 unsigned int top_wid, unsigned int right_wid,
45 unsigned int bot_wid, unsigned int left_wid);
46 extern void DrawStringInBox (Display *dpy, Window win, GC gc,
47 XFontStruct *pfs, XRectangle *pbox, String str);
48 extern Boolean ExtendRList (RList *prl, unsigned int amt);
49 extern void FreeRList (RList *prl);
50 extern void StretcherCorner (RList *prTop, RList *prBot, int x, int y,
51 int cnum, unsigned int swidth,
52 unsigned int cwidth, unsigned int cheight);
53 extern void WmDrawString (Display *dpy, Drawable d, GC gc, int x, int y,
54 char *string, unsigned int length);
55 extern void WmDrawXmString (Display *dpy, Window w, XmFontList xmfontlist,
56 XmString xmstring, GC gc, Position x, Position y,
57 Dimension width, XRectangle *pbox,
60 extern GC WmGetGC (WmScreenData *pSD, unsigned long gc_mask, XGCValues *pGcv);