MagickCore  7.0.0
PreRvIcccm.h
Go to the documentation of this file.
1 /*
2  Copyright 1999-2015 ImageMagick Studio LLC, a non-profit organization
3  dedicated to making software imaging solutions freely available.
4 
5  You may not use this file except in compliance with the License.
6  obtain a copy of the License at
7 
8  http://www.imagemagick.org/script/license.php
9 
10  Unless required by applicable law or agreed to in writing, software
11  distributed under the License is distributed on an "AS IS" BASIS,
12  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  See the License for the specific language governing permissions and
14  limitations under the License.
15 
16  MagickCore X11 compatibility methods.
17 */
18 #ifndef _MAGICKCORE_PRER5ICCCM_H
19 #define _MAGICKCORE_PRER5ICCCM_H
20 
21 #if defined(__cplusplus) || defined(c_plusplus)
22 extern "C" {
23 #endif
24 
25 #if defined(PRE_R6_ICCCM)
26 /*
27  Compatability defines for pre X11R6 ICCCM.
28 */
29 #define XK_KP_Home 0xFF95
30 #define XK_KP_Left 0xFF96
31 #define XK_KP_Up 0xFF97
32 #define XK_KP_Right 0xFF98
33 #define XK_KP_Down 0xFF99
34 #define XK_KP_Prior 0xFF9A
35 #define XK_KP_Page_Up 0xFF9A
36 #define XK_KP_Next 0xFF9B
37 #define XK_KP_Page_Down 0xFF9B
38 #define XK_KP_End 0xFF9C
39 #define XK_KP_Delete 0xFF9F
40 
41 extern MagickExport Status
42  XInitImage(XImage *ximage);
43 #endif
44 
45 #if defined(PRE_R5_ICCCM)
46 extern MagickExport XrmDatabase
48 #endif
49 
50 #if defined(PRE_R4_ICCCM)
51 #if defined(vms)
52 #define XMaxRequestSize(display) 16384
53 #endif
54 
55 #define WithdrawnState 0
56 
57 typedef struct _XTextProperty
58 {
59  unsigned char
60  *value;
61 
62  Atom
63  encoding;
64 
65  int
66  format;
67 
68  size_t
69  nitems;
70 } XTextProperty;
71 
72 char
74 
75 extern MagickExport int
76  XWMGeometry();
77 
78 extern MagickExport Status
80  XGetWMName(),
84 
85 extern MagickExport XClassHint
86  *XAllocClassHint();
87 
88 extern MagickExport XIconSize
89  *XAllocIconSize();
90 
91 extern MagickExport XSizeHints
92  *XAllocSizeHints();
93 
94 extern MagickExport XStandardColormap
96 
97 extern MagickExport XWMHints
98  *XAllocWMHints();
99 
100 extern MagickExport VisualID
102 
103 extern MagickExport void
105  XSetWMIconName(),
106  XSetWMName(),
108 #else
109 #endif
110 
111 #if defined(__cplusplus) || defined(c_plusplus)
112 }
113 #endif
114 
115 #endif
#define XSetWMProtocols
Definition: vms.h:299
#define XGetWMName
Definition: vms.h:177
#define XAllocIconSize
Definition: vms.h:43
#define XWMGeometry
Definition: vms.h:334
#define XrmDestroyDatabase
Definition: vms.h:565
#define XSetWMProperties
Definition: vms.h:298
#define XInitImage
Definition: vms.h:907
#define XVisualIDFromVisual
Definition: vms.h:333
#define XrmGetDatabase
Definition: vms.h:566
#define XAllocClassHint
Definition: vms.h:40
#define XGetRGBColormaps
Definition: vms.h:170
#define XAllocStandardColormap
Definition: vms.h:46
#define XReconfigureWMWindow
Definition: vms.h:240
#define XSetWMIconName
Definition: vms.h:295
#define XAllocWMHints
Definition: vms.h:47
#define XAllocSizeHints
Definition: vms.h:45
#define XWithdrawWindow
Definition: vms.h:339
#define XSetWMName
Definition: vms.h:296
#define MagickExport
#define XResourceManagerString
Definition: vms.h:247