dtcm: Coverity 88353
[oweals/cde.git] / cde / programs / dtwm / WmIDecor.h
1 /*
2  * CDE - Common Desktop Environment
3  *
4  * Copyright (c) 1993-2012, The Open Group. All rights reserved.
5  *
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)
10  * any later version.
11  *
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
16  * details.
17  *
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
22  */
23 /* 
24  * (c) Copyright 1989, 1990, 1991, 1992 OPEN SOFTWARE FOUNDATION, INC. 
25  * ALL RIGHTS RESERVED 
26 */ 
27 /* 
28  * Motif Release 1.2
29 */ 
30 /*
31  * (c) Copyright 1987, 1988, 1989, 1990 HEWLETT-PACKARD COMPANY */
32
33
34 extern void CreateActiveIconTextWindow (WmScreenData *pSD);
35 extern void DrawIconTitle (ClientData *pcd);
36 extern void GetIconDimensions (WmScreenData *pSD, unsigned int *pWidth, 
37                                unsigned int *pLabelHeight, 
38                                unsigned int *pImageHeight);
39 extern void GetIconTitleBox (ClientData *pcd, XRectangle *pBox);
40 extern void HideActiveIconText (WmScreenData *pSD);
41 extern void IconExposureProc (ClientData *pcd, Boolean clearFirst);
42 extern void InitIconSize (WmScreenData *pSD);
43 extern Boolean MakeIcon (WmWorkspaceData *pWS, ClientData *pcd);
44 extern void MakeIconShadows (ClientData *pcd, int xOffset, int yOffset);
45 extern void MoveActiveIconText (ClientData *pcd);
46 extern void PaintActiveIconText (ClientData *pcd, Boolean erase);
47 extern void PutBoxInIconBox (ClientData *pCD, int *px, int *py, 
48                              unsigned int *width, unsigned int *height);
49 extern void PutBoxOnScreen (int screen, int *px, int *py, unsigned int width, 
50                             unsigned int height);
51 extern void RedisplayIconTitle (ClientData *pcd);
52 extern void ReparentIconWindow (ClientData *pcd, int xOffset, int yOffset);
53 extern void ShowActiveIcon (ClientData *pcd);
54 extern void ShowActiveIconText (ClientData *pcd);
55 extern void ShowInactiveIcon (ClientData *pcd, Boolean refresh);
56
57