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 librararies 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.
30 /* $XConsortium: WmGraphics.h /main/4 1995/11/01 11:39:06 rswiston $ */
32 * (c) Copyright 1987, 1988, 1989, 1990 HEWLETT-PACKARD COMPANY */
35 extern RList *AllocateRList (unsigned int amt);
36 extern void BevelDepressedRectangle (RList *prTop, RList *prBot, int x,
37 int y, unsigned int width,
38 unsigned int height, unsigned int top_wid,
39 unsigned int right_wid,
41 unsigned int left_wid,
43 extern void BevelRectangle (RList *prTop, RList *prBot, int x, int y,
44 unsigned int width, unsigned int height,
45 unsigned int top_wid, unsigned int right_wid,
46 unsigned int bot_wid, unsigned int left_wid);
47 extern void DrawStringInBox (Display *dpy, Window win, GC gc,
48 XFontStruct *pfs, XRectangle *pbox, String str);
49 extern Boolean ExtendRList (RList *prl, unsigned int amt);
50 extern void FreeRList (RList *prl);
51 extern void StretcherCorner (RList *prTop, RList *prBot, int x, int y,
52 int cnum, unsigned int swidth,
53 unsigned int cwidth, unsigned int cheight);
54 extern void WmDrawString (Display *dpy, Drawable d, GC gc, int x, int y,
55 char *string, unsigned int length);
57 extern void WmDrawXmString (Display *dpy, Window w, XmFontList xmfontlist,
58 XmString xmstring, GC gc, Position x, Position y,
59 Dimension width, XRectangle *pbox,
62 extern void WmDrawXmString (Display *dpy, Window w, XmFontList xmfontlist,
63 XmString xmstring, GC gc, Position x, Position y,
64 Dimension width, XRectangle *pbox);
67 extern GC WmGetGC (WmScreenData *pSD, unsigned long gc_mask, XGCValues *pGcv);