2 Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization
3 dedicated to making software imaging solutions freely available.
5 You may not use this file except in compliance with the License.
6 obtain a copy of the License at
8 http://www.imagemagick.org/script/license.php
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.
16 MagickCore X11 compatibility methods.
18 #ifndef _MAGICKCORE_PRER5ICCCM_H
19 #define _MAGICKCORE_PRER5ICCCM_H
21 #if defined(__cplusplus) || defined(c_plusplus)
25 #if defined(PRE_R6_ICCCM)
27 Compatability defines for pre X11R6 ICCCM.
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
41 extern MagickExport Status
42 XInitImage(XImage *ximage);
45 #if defined(PRE_R5_ICCCM)
46 extern MagickExport XrmDatabase
50 #if defined(PRE_R4_ICCCM)
52 #define XMaxRequestSize(display) 16384
55 #define WithdrawnState 0
57 typedef struct _XTextProperty
73 *XResourceManagerString();
75 extern MagickExport int
78 extern MagickExport Status
81 XReconfigureWMWindow(),
85 extern MagickExport XClassHint
88 extern MagickExport XIconSize
91 extern MagickExport XSizeHints
94 extern MagickExport XStandardColormap
95 *XAllocStandardColormap();
97 extern MagickExport XWMHints
100 extern MagickExport VisualID
101 XVisualIDFromVisual();
103 extern MagickExport void
104 XrmDestroyDatabase(),
111 #if defined(__cplusplus) || defined(c_plusplus)