# PreRvIcccm.h

Go to the documentation of this file.

    00001 /*
    00002   Copyright 1999-2009 ImageMagick Studio LLC, a non-profit organization
    00003   dedicated to making software imaging solutions freely available.
    00004
    00005   You may not use this file except in compliance with the License.
    00006   obtain a copy of the License at
    00007
    00008     http://www.imagemagick.org/script/license.php
    00009
    00010   Unless required by applicable law or agreed to in writing, software
    00011   distributed under the License is distributed on an "AS IS" BASIS,
    00012   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    00013   See the License for the specific language governing permissions and
    00014   limitations under the License.
    00015
    00016   MagickCore X11 compatibility methods.
    00017 */
    00018 #ifndef _MAGICKCORE_PRER5ICCCM_H
    00019 #define _MAGICKCORE_PRER5ICCCM_H
    00020
    00021 #if defined(__cplusplus) || defined(c_plusplus)
    00022 extern "C" {
    00023 #endif
    00024
    00025 #if defined(PRE_R6_ICCCM)
    00026 /*
    00027   Compatability defines for pre X11R6 ICCCM.
    00028 */
    00029 #define XK_KP_Home              0xFF95
    00030 #define XK_KP_Left              0xFF96
    00031 #define XK_KP_Up                0xFF97
    00032 #define XK_KP_Right             0xFF98
    00033 #define XK_KP_Down              0xFF99
    00034 #define XK_KP_Prior             0xFF9A
    00035 #define XK_KP_Page_Up           0xFF9A
    00036 #define XK_KP_Next              0xFF9B
    00037 #define XK_KP_Page_Down         0xFF9B
    00038 #define XK_KP_End               0xFF9C
    00039 #define XK_KP_Delete            0xFF9F
    00040
    00041 extern MagickExport Status
    00042   XInitImage(XImage *ximage);
    00043 #endif
    00044
    00045 #if defined(PRE_R5_ICCCM)
    00046 extern MagickExport XrmDatabase
    00047   XrmGetDatabase();
    00048 #endif
    00049
    00050 #if defined(PRE_R4_ICCCM)
    00051 #if defined(vms)
    00052 #define XMaxRequestSize(display)  16384
    00053 #endif
    00054
    00055 #define WithdrawnState  0
    00056
    00057 typedef struct _XTextProperty
    00058 {
    00059   unsigned char
    00060     *value;
    00061
    00062   Atom
    00063     encoding;
    00064
    00065   int
    00066     format;
    00067
    00068   unsigned long
    00069     nitems;
    00070 } XTextProperty;
    00071
    00072 char
    00073   *XResourceManagerString();
    00074
    00075 extern MagickExport int
    00076   XWMGeometry();
    00077
    00078 extern MagickExport Status
    00079   XGetRGBColormaps(),
    00080   XGetWMName(),
    00081   XReconfigureWMWindow(),
    00082   XSetWMProtocols(),
    00083   XWithdrawWindow();
    00084
    00085 extern MagickExport XClassHint
    00086   *XAllocClassHint();
    00087
    00088 extern MagickExport XIconSize
    00089   *XAllocIconSize();
    00090
    00091 extern MagickExport XSizeHints
    00092   *XAllocSizeHints();
    00093
    00094 extern MagickExport XStandardColormap
    00095   *XAllocStandardColormap();
    00096
    00097 extern MagickExport XWMHints
    00098   *XAllocWMHints();
    00099
    00100 extern MagickExport VisualID
    00101   XVisualIDFromVisual();
    00102
    00103 extern MagickExport void
    00104   XrmDestroyDatabase(),
    00105   XSetWMIconName(),
    00106   XSetWMName(),
    00107   XSetWMProperties();
    00108 #else
    00109 #endif
    00110
    00111 #if defined(__cplusplus) || defined(c_plusplus)
    00112 }
    00113 #endif
    00114
    00115 #endif