1 /*
2  * Motif
3  *
4  * Copyright (c) 1987-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 librararies 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 /*
25  * HISTORY
26  */
27 /* $XConsortium: ScreenI.h /main/5 1995/07/13 17:53:44 drk $ */
28 #ifndef _XmScreenI_h
29 #define _XmScreenI_h
30 
31 #include <Xm/ScreenP.h>
32 
33 #ifdef __cplusplus
34 extern "C" {
35 #endif
36 
37 
38 externalref XrmQuark _XmInvalidCursorIconQuark ;
39 externalref XrmQuark _XmValidCursorIconQuark ;
40 externalref XrmQuark _XmNoneCursorIconQuark ;
41 externalref XrmQuark _XmDefaultDragIconQuark ;
42 externalref XrmQuark _XmMoveCursorIconQuark ;
43 externalref XrmQuark _XmCopyCursorIconQuark ;
44 externalref XrmQuark _XmLinkCursorIconQuark ;
45 
46 
47 /********    Private Function Declarations    ********/
48 
49 extern XmDragIconObject _XmScreenGetOperationIcon(
50                         Widget w,
51 #if NeedWidePrototypes
52                         unsigned int operation) ;
53 #else
54                         unsigned char operation) ;
55 #endif /* NeedWidePrototypes */
56 extern XmDragIconObject _XmScreenGetStateIcon(
57                         Widget w,
58 #if NeedWidePrototypes
59                         unsigned int state) ;
60 #else
61                         unsigned char state) ;
62 #endif /* NeedWidePrototypes */
63 extern XmDragIconObject _XmScreenGetSourceIcon(
64                         Widget w) ;
65 extern Pixmap _XmAllocScratchPixmap(
66                         XmScreen xmScreen,
67 #if NeedWidePrototypes
68                         unsigned int depth,
69                         int width,
70                         int height) ;
71 #else
72                         Cardinal depth,
73                         Dimension width,
74                         Dimension height) ;
75 #endif /* NeedWidePrototypes */
76 extern void _XmFreeScratchPixmap(
77                         XmScreen xmScreen,
78                         Pixmap pixmap) ;
79 extern XmDragCursorCache * _XmGetDragCursorCachePtr(
80                         XmScreen xmScreen) ;
81 extern Cursor _XmGetMenuCursorByScreen(
82                         Screen *screen) ;
83 extern Boolean _XmGetMoveOpaqueByScreen(
84                         Screen *screen) ;
85 extern unsigned char _XmGetUnpostBehavior(
86                         Widget wid) ;
87 extern int _XmGetFontUnit(
88                         Screen *screen,
89                         int dimension) ;
90 extern void _XmScreenRemoveFromCursorCache(
91 			XmDragIconObject icon) ;
92 extern XmScreenColorProc _XmGetColorCalculationProc(
93                         Screen *screen) ;
94 extern XmAllocColorProc _XmGetColorAllocationProc(
95 			Screen *screen) ;
96 extern Pixmap _XmGetInsensitiveStippleBitmap(
97 			Widget w) ;
98 extern XtEnum _XmGetBitmapConversionModel(
99 			Screen *screen) ;
100 
101 /********    End Private Function Declarations    ********/
102 
103 
104 #ifdef __cplusplus
105 }  /* Close scope of 'extern "C"' declaration which encloses file. */
106 #endif
107 
108 #endif /* _XmScreenI_h */
109 /* DON'T ADD ANYTHING AFTER THIS #endif */
110