karbon
gdk-pixbuf-xlib-private.h
00001 /* GdkPixbuf library - Xlib header file 00002 * 00003 * Authors: John Harper <john@dcs.warwick.ac.uk> 00004 * 00005 * This library is free software; you can redistribute it and/or 00006 * modify it under the terms of the GNU Library General Public 00007 * License as published by the Free Software Foundation; either 00008 * version 2 of the License, or (at your option) any later version. 00009 * 00010 * This library is distributed in the hope that it will be useful, 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00013 * Library General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU Library General Public 00016 * License along with this library; if not, write to the 00017 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 00018 * Boston, MA 02110-1301, USA. 00019 */ 00020 00021 #ifndef GDK_PIXBUF_XLIB_PRIVATE_H 00022 #define GDK_PIXBUF_XLIB_PRIVATE_H 00023 00024 #include <config.h> 00025 #include "gdk-pixbuf-xlib.h" 00026 #include <X11/Xlib.h> 00027 00028 extern Display *gdk_pixbuf_dpy; 00029 extern int gdk_pixbuf_screen; 00030 00031 #define KSVG_LITTLE_ENDIAN 1 00032 #define KSVG_BIG_ENDIAN 2 00033 00034 #if X_BYTE_ORDER == X_BIG_ENDIAN 00035 #define KSVG_BYTE_ORDER KSVG_BIG_ENDIAN 00036 #else 00037 #define KSVG_BYTE_ORDER KSVG_LITTLE_ENDIAN 00038 #endif 00039 #endif