if( data_ )
{
_data = new unsigned char[length_];
- memcpy( _data, data_, length_ );
+ MagickCore::memcpy( _data, data_, length_ );
}
}
return;
}
throwExceptionExplicit( OptionError, "mutex initialization failed",
- strerror(sysError) );
+ MagickCore::strerror(sysError) );
}
#else
#if defined(_VISUALC_) && defined(_MT)
if ( (sysError = ::pthread_mutex_destroy( &_mutex )) == 0 )
return;
throwExceptionExplicit( OptionError, "mutex destruction failed",
- strerror(sysError) );
+ MagickCore::strerror(sysError) );
#endif
#if defined(_MT) && defined(_VISUALC_)
if ( ::CloseHandle(_mutex.id) != 0 )
if ( (sysError = ::pthread_mutex_lock( &_mutex )) == 0)
return;
throwExceptionExplicit( OptionError, "mutex lock failed",
- strerror(sysError));
+ MagickCore::strerror(sysError));
#endif
#if defined(_MT) && defined(_VISUALC_)
if (WaitForSingleObject(_mutex.id,INFINITE) != WAIT_FAILED)
if ( (sysError = ::pthread_mutex_unlock( &_mutex )) == 0)
return;
throwExceptionExplicit( OptionError, "mutex unlock failed",
- strerror(sysError) );
+ MagickCore::strerror(sysError) );
#endif
#if defined(_MT) && defined(_VISUALC_)
if ( ReleaseSemaphore(_mutex.id, 1, NULL) == TRUE )
# include "MagickCore/methods.h"
#endif
#include "MagickCore/magick-type.h"
+#include "MagickCore/xwindow.h"
#include "MagickCore/accelerate.h"
#include "MagickCore/animate.h"
#include "MagickCore/annotate.h"
#include "MagickCore/utility.h"
#include "MagickCore/version.h"
#include "MagickCore/xml-tree.h"
-#include "MagickCore/xwindow.h"
#if defined(__cplusplus) || defined(c_plusplus)
}
MagickCore/vms.h \
MagickCore/widget.c \
MagickCore/widget.h \
+ MagickCore/widget-private.h \
MagickCore/xml-tree.c \
MagickCore/xml-tree.h \
MagickCore/xwindow.c \
MagickCore/token-private.h \
MagickCore/type-private.h \
MagickCore/vms.h \
+ MagickCore/widget-private.h \
MagickCore/xwindow-private.h
MAGICKCORE_EXTRA_DIST = \
#include "MagickCore/utility.h"
#include "MagickCore/version.h"
#include "MagickCore/widget.h"
+#include "MagickCore/widget-private.h"
+#include "MagickCore/xwindow.h"
#include "MagickCore/xwindow-private.h"
\f
#if defined(MAGICKCORE_X11_DELEGATE)
#include "MagickCore/transform.h"
#include "MagickCore/type.h"
#include "MagickCore/utility.h"
+#include "MagickCore/xwindow.h"
#include "MagickCore/xwindow-private.h"
#if defined(MAGICKCORE_FREETYPE_DELEGATE)
#if defined(__MINGW32__)
#include "MagickCore/utility.h"
#include "MagickCore/version.h"
#include "MagickCore/widget.h"
+#include "MagickCore/widget-private.h"
+#include "MagickCore/xwindow.h"
#include "MagickCore/xwindow-private.h"
\f
#if defined(MAGICKCORE_X11_DELEGATE)
--- /dev/null
+/*
+ Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization
+ dedicated to making software imaging solutions freely available.
+
+ You may not use this file except in compliance with the License.
+ obtain a copy of the License at
+
+ http://www.imagemagick.org/script/license.php
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+ MagickCore private X11 widget methods.
+*/
+#ifndef _MAGICKCORE_WIDGET_PRIVATE_H
+#define _MAGICKCORE_WIDGET_PRIVATE_H
+
+#if defined(__cplusplus) || defined(c_plusplus)
+extern "C" {
+#endif
+
+#if defined(MAGICKCORE_X11_DELEGATE)
+
+#include "MagickCore/xwindow-private.h"
+
+extern MagickPrivate int
+ XCommandWidget(Display *,XWindows *,const char **,XEvent *),
+ XConfirmWidget(Display *,XWindows *,const char *,const char *),
+ XDialogWidget(Display *,XWindows *,const char *,const char *,char *),
+ XMenuWidget(Display *,XWindows *,const char *,const char **,char *);
+
+extern MagickPrivate MagickBooleanType
+ XPreferencesWidget(Display *,XResourceInfo *,XWindows *);
+
+extern MagickPrivate void
+ DestroyXWidget(void),
+ XColorBrowserWidget(Display *,XWindows *,const char *,char *),
+ XFileBrowserWidget(Display *,XWindows *,const char *,char *),
+ XFontBrowserWidget(Display *,XWindows *,const char *,char *),
+ XInfoWidget(Display *,XWindows *,const char *),
+ XListBrowserWidget(Display *,XWindows *,XWindowInfo *,const char **,
+ const char *,const char *,char *),
+ XNoticeWidget(Display *,XWindows *,const char *,const char *),
+ XProgressMonitorWidget(Display *,XWindows *,const char *,
+ const MagickOffsetType,const MagickSizeType),
+ XTextViewWidget(Display *,const XResourceInfo *,XWindows *,
+ const MagickBooleanType,const char *,const char **);
+
+#endif
+
+#if defined(__cplusplus) || defined(c_plusplus)
+}
+#endif
+
+#endif
#include "MagickCore/utility.h"
#include "MagickCore/xwindow-private.h"
#include "MagickCore/widget.h"
+#include "MagickCore/widget-private.h"
#if defined(MAGICKCORE_X11_DELEGATE)
\f
% A description of each parameter follows:
%
*/
-MagickExport void DestroyXWidget(void)
+MagickPrivate void DestroyXWidget(void)
{
if (selection_info != (XWidgetInfo *) NULL)
selection_info=(XWidgetInfo *) RelinquishMagickMemory(selection_info);
% o reply: the response from the user is returned in this parameter.
%
*/
-MagickExport void XColorBrowserWidget(Display *display,XWindows *windows,
+MagickPrivate void XColorBrowserWidget(Display *display,XWindows *windows,
const char *action,char *reply)
{
#define CancelButtonText "Cancel"
% o event: Specifies a pointer to a X11 XEvent structure.
%
*/
-MagickExport int XCommandWidget(Display *display,XWindows *windows,
+MagickPrivate int XCommandWidget(Display *display,XWindows *windows,
const char **selections,XEvent *event)
{
#define tile_width 112
% o description: Specifies any description to the message.
%
*/
-MagickExport int XConfirmWidget(Display *display,XWindows *windows,
+MagickPrivate int XConfirmWidget(Display *display,XWindows *windows,
const char *reason,const char *description)
{
#define CancelButtonText "Cancel"
% o reply: the response from the user is returned in this parameter.
%
*/
-MagickExport int XDialogWidget(Display *display,XWindows *windows,
+MagickPrivate int XDialogWidget(Display *display,XWindows *windows,
const char *action,const char *query,char *reply)
{
#define CancelButtonText "Cancel"
% o reply: the response from the user is returned in this parameter.
%
*/
-MagickExport void XFileBrowserWidget(Display *display,XWindows *windows,
+MagickPrivate void XFileBrowserWidget(Display *display,XWindows *windows,
const char *action,char *reply)
{
#define CancelButtonText "Cancel"
}
#endif
-MagickExport void XFontBrowserWidget(Display *display,XWindows *windows,
+MagickPrivate void XFontBrowserWidget(Display *display,XWindows *windows,
const char *action,char *reply)
{
#define BackButtonText "Back"
% displayed in the Info widget.
%
*/
-MagickExport void XInfoWidget(Display *display,XWindows *windows,
+MagickPrivate void XInfoWidget(Display *display,XWindows *windows,
const char *activity)
{
unsigned int
% o reply: the response from the user is returned in this parameter.
%
*/
-MagickExport void XListBrowserWidget(Display *display,XWindows *windows,
+MagickPrivate void XListBrowserWidget(Display *display,XWindows *windows,
XWindowInfo *window_info,const char **list,const char *action,
const char *query,char *reply)
{
% is returned here.
%
*/
-MagickExport int XMenuWidget(Display *display,XWindows *windows,
+MagickPrivate int XMenuWidget(Display *display,XWindows *windows,
const char *title,const char **selections,char *item)
{
Cursor
% o description: Specifies any description to the message.
%
*/
-MagickExport void XNoticeWidget(Display *display,XWindows *windows,
+MagickPrivate void XNoticeWidget(Display *display,XWindows *windows,
const char *reason,const char *description)
{
#define DismissButtonText "Dismiss"
% o window: Specifies a pointer to a XWindows structure.
%
*/
-MagickExport MagickBooleanType XPreferencesWidget(Display *display,
+MagickPrivate MagickBooleanType XPreferencesWidget(Display *display,
XResourceInfo *resource_info,XWindows *windows)
{
#define ApplyButtonText "Apply"
% o span: Specifies the span relative to completing a task.
%
*/
-MagickExport void XProgressMonitorWidget(Display *display,XWindows *windows,
+MagickPrivate void XProgressMonitorWidget(Display *display,XWindows *windows,
const char *task,const MagickOffsetType offset,const MagickSizeType span)
{
unsigned int
% o textlist: This string list is displayed within the Text View widget.
%
*/
-MagickExport void XTextViewWidget(Display *display,
+MagickPrivate void XTextViewWidget(Display *display,
const XResourceInfo *resource_info,XWindows *windows,
const MagickBooleanType mono,const char *title,const char **textlist)
{
extern "C" {
#endif
-#if defined(MAGICKCORE_X11_DELEGATE)
-
-#include "MagickCore/xwindow-private.h"
-
-extern MagickExport int
- XCommandWidget(Display *,XWindows *,const char **,XEvent *),
- XConfirmWidget(Display *,XWindows *,const char *,const char *),
- XDialogWidget(Display *,XWindows *,const char *,const char *,char *),
- XMenuWidget(Display *,XWindows *,const char *,const char **,char *);
-
-extern MagickExport MagickBooleanType
- XPreferencesWidget(Display *,XResourceInfo *,XWindows *);
-
-extern MagickExport void
- DestroyXWidget(void),
- XColorBrowserWidget(Display *,XWindows *,const char *,char *),
- XFileBrowserWidget(Display *,XWindows *,const char *,char *),
- XFontBrowserWidget(Display *,XWindows *,const char *,char *),
- XInfoWidget(Display *,XWindows *,const char *),
- XListBrowserWidget(Display *,XWindows *,XWindowInfo *,const char **,
- const char *,const char *,char *),
- XNoticeWidget(Display *,XWindows *,const char *,const char *),
- XProgressMonitorWidget(Display *,XWindows *,const char *,
- const MagickOffsetType,const MagickSizeType),
- XTextViewWidget(Display *,const XResourceInfo *,XWindows *,
- const MagickBooleanType,const char *,const char **);
-
-#endif
-
#if defined(__cplusplus) || defined(c_plusplus)
}
#endif
geometry[MaxTextExtent];
} XDrawInfo;
+typedef struct _XImportInfo
+{
+ MagickBooleanType
+ frame,
+ borders,
+ screen,
+ descend,
+ silent;
+} XImportInfo;
+
typedef enum
{
DefaultState = 0x0000,
dnd_protocols;
} XWindows;
-extern MagickExport char
- *XGetResourceClass(XrmDatabase,const char *,const char *,char *),
- *XGetResourceInstance(XrmDatabase,const char *,const char *,const char *),
- *XGetScreenDensity(Display *);
-
-extern MagickExport Cursor
+extern MagickPrivate Cursor
XMakeCursor(Display *,Window,Colormap,char *,char *);
-extern MagickExport int
- XCheckDefineCursor(Display *,Window,Cursor),
- XError(Display *,XErrorEvent *);
+extern MagickPrivate int
+ XCheckDefineCursor(Display *,Window,Cursor);
-extern MagickExport MagickBooleanType
+extern MagickPrivate MagickBooleanType
XAnnotateImage(Display *,const XPixelInfo *,XAnnotateInfo *,Image *),
+ XComponentGenesis(void),
XDrawImage(Display *,const XPixelInfo *,XDrawInfo *,Image *),
XGetWindowColor(Display *,XWindows *,char *),
XMagickProgressMonitor(const char *,const MagickOffsetType,
const MagickSizeType,void *),
XMakeImage(Display *,const XResourceInfo *,XWindowInfo *,Image *,unsigned int,
unsigned int,ExceptionInfo *),
- XQueryColorDatabase(const char *,XColor *),
- XRemoteCommand(Display *,const char *,const char *);
+ XQueryColorDatabase(const char *,XColor *);
-extern MagickPrivate MagickBooleanType
- XComponentGenesis(void);
-
-extern MagickExport void
- DestroyXResources(void),
+extern MagickPrivate void
XBestIconSize(Display *,XWindowInfo *,Image *),
XBestPixel(Display *,const Colormap,XColor *,unsigned int,XColor *),
XCheckRefreshWindows(Display *,XWindows *),
XClientMessage(Display *,const Window,const Atom,const Atom,const Time),
+ XComponentTerminus(void),
XConfigureImageColormap(Display *,XResourceInfo *,XWindows *,Image *),
XConstrainWindowPosition(Display *,XWindowInfo *),
XDelay(Display *,const size_t),
XDisplayImageInfo(Display *,const XResourceInfo *,XWindows *,Image *,Image *),
- XDestroyResourceInfo(XResourceInfo *),
XDestroyWindowColors(Display *,Window),
XFreeResources(Display *,XVisualInfo *,XStandardColormap *,XPixelInfo *,
XFontStruct *,XResourceInfo *,XWindowInfo *),
XGetPixelInfo(Display *,const XVisualInfo *,const XStandardColormap *,
const XResourceInfo *,Image *,XPixelInfo *),
XGetMapInfo(const XVisualInfo *,const Colormap,XStandardColormap *),
- XGetResourceInfo(const ImageInfo *,XrmDatabase,const char *,XResourceInfo *),
XGetWindowInfo(Display *,XVisualInfo *,XStandardColormap *,XPixelInfo *,
XFontStruct *,XResourceInfo *,XWindowInfo *),
XMakeMagnifyImage(Display *,XWindows *),
XWindowInfo *),
XQueryPosition(Display *,const Window,int *,int *),
XRefreshWindow(Display *,const XWindowInfo *,const XEvent *),
- XRetainWindowColors(Display *,const Window),
XSetCursorState(Display *,XWindows *,const MagickStatusType),
XUserPreferences(XResourceInfo *),
XWarning(const ExceptionType,const char *,const char *);
-extern MagickPrivate void
- XComponentTerminus(void);
-
-extern MagickExport Window
+extern MagickPrivate Window
XWindowByID(Display *,const Window,const size_t),
XWindowByName(Display *,const Window,const char *),
XWindowByProperty(Display *,const Window,const Atom);
-extern MagickExport XFontStruct
+extern MagickPrivate XFontStruct
*XBestFont(Display *,const XResourceInfo *,const MagickBooleanType);
-extern MagickExport XrmDatabase
- XGetResourceDatabase(Display *,const char *);
-
-extern MagickExport XVisualInfo
+extern MagickPrivate XVisualInfo
*XBestVisualInfo(Display *,XStandardColormap *,XResourceInfo *);
-extern MagickExport XWindows
+extern MagickPrivate XWindows
*XInitializeWindows(Display *,XResourceInfo *),
*XSetWindows(XWindows *);
#include "MagickCore/transform.h"
#include "MagickCore/utility.h"
#include "MagickCore/widget.h"
+#include "MagickCore/widget-private.h"
#include "MagickCore/xwindow.h"
#include "MagickCore/xwindow-private.h"
#include "MagickCore/version.h"
% o image: the image.
%
*/
-MagickExport MagickBooleanType XAnnotateImage(Display *display,
+MagickPrivate MagickBooleanType XAnnotateImage(Display *display,
const XPixelInfo *pixel,XAnnotateInfo *annotate_info,Image *image)
{
CacheView
return(fontlist);
}
-MagickExport XFontStruct *XBestFont(Display *display,
+MagickPrivate XFontStruct *XBestFont(Display *display,
const XResourceInfo *resource_info,const MagickBooleanType text_font)
{
static const char
% o image: the image.
%
*/
-MagickExport void XBestIconSize(Display *display,XWindowInfo *window,
+MagickPrivate void XBestIconSize(Display *display,XWindowInfo *window,
Image *image)
{
int
% o color: Specifies the desired RGB value to find in the colors array.
%
*/
-MagickExport void XBestPixel(Display *display,const Colormap colormap,
+MagickPrivate void XBestPixel(Display *display,const Colormap colormap,
XColor *colors,unsigned int number_colors,XColor *color)
{
MagickBooleanType
return(y);
}
-MagickExport XVisualInfo *XBestVisualInfo(Display *display,
+MagickPrivate XVisualInfo *XBestVisualInfo(Display *display,
XStandardColormap *map_info,XResourceInfo *resource_info)
{
#define MaxStandardColormaps 7
% o cursor: the cursor.
%
*/
-MagickExport int XCheckDefineCursor(Display *display,Window window,
+MagickPrivate int XCheckDefineCursor(Display *display,Window window,
Cursor cursor)
{
(void) LogMagickEvent(TraceEvent,GetMagickModule(),"...");
% o windows: Specifies a pointer to a XWindows structure.
%
*/
-MagickExport void XCheckRefreshWindows(Display *display,XWindows *windows)
+MagickPrivate void XCheckRefreshWindows(Display *display,XWindows *windows)
{
Window
id;
% o timestamp: Specifies a value of type Time.
%
*/
-MagickExport void XClientMessage(Display *display,const Window window,
+MagickPrivate void XClientMessage(Display *display,const Window window,
const Atom protocol,const Atom reason,const Time timestamp)
{
XClientMessageEvent
% o image: the image.
%
*/
-MagickExport void XConfigureImageColormap(Display *display,
+MagickPrivate void XConfigureImageColormap(Display *display,
XResourceInfo *resource_info,XWindows *windows,Image *image)
{
Colormap
% o window_info: Specifies a pointer to a XWindowInfo structure.
%
*/
-MagickExport void XConstrainWindowPosition(Display *display,
+MagickPrivate void XConstrainWindowPosition(Display *display,
XWindowInfo *window_info)
{
int
% returning.
%
*/
-MagickExport void XDelay(Display *display,const size_t milliseconds)
+MagickPrivate void XDelay(Display *display,const size_t milliseconds)
{
assert(display != (Display *) NULL);
(void) XFlush(display);
% o window: Specifies a pointer to a Window structure.
%
*/
-MagickExport void XDestroyWindowColors(Display *display,Window window)
+MagickPrivate void XDestroyWindowColors(Display *display,Window window)
{
Atom
property,
% o image: the image.
%
*/
-MagickExport void XDisplayImageInfo(Display *display,
+MagickPrivate void XDisplayImageInfo(Display *display,
const XResourceInfo *resource_info,XWindows *windows,Image *undo_image,
Image *image)
{
% o image: the image.
%
*/
-MagickExport MagickBooleanType XDrawImage(Display *display,
+MagickPrivate MagickBooleanType XDrawImage(Display *display,
const XPixelInfo *pixel,XDrawInfo *draw_info,Image *image)
{
CacheView
%
% XError() ignores BadWindow errors for XQueryTree and XGetWindowAttributes,
% and ignores BadDrawable errors for XGetGeometry, and ignores BadValue errors
-% for XQueryColor. It returns MagickFalse in those cases. Otherwise it returns
-% True.
+% for XQueryColor. It returns MagickFalse in those cases. Otherwise it
+% returns True.
%
% The format of the XError function is:
%
-% XError(display,error)
+% int XError(display,error)
%
% A description of each parameter follows:
%
% o window_info: Specifies a pointer to a X11 XWindowInfo structure.
%
*/
-MagickExport void XFreeResources(Display *display,XVisualInfo *visual_info,
+MagickPrivate void XFreeResources(Display *display,XVisualInfo *visual_info,
XStandardColormap *map_info,XPixelInfo *pixel,XFontStruct *font_info,
XResourceInfo *resource_info,XWindowInfo *window_info)
{
% o pixel: Specifies a pointer to a XPixelInfo structure.
%
*/
-MagickExport void XFreeStandardColormap(Display *display,
+MagickPrivate void XFreeStandardColormap(Display *display,
const XVisualInfo *visual_info,XStandardColormap *map_info,XPixelInfo *pixel)
{
/*
% o annotate_info: Specifies a pointer to a XAnnotateInfo structure.
%
*/
-MagickExport void XGetAnnotateInfo(XAnnotateInfo *annotate_info)
+MagickPrivate void XGetAnnotateInfo(XAnnotateInfo *annotate_info)
{
/*
Initialize annotate structure.
% o map_info: Specifies a pointer to a X11 XStandardColormap structure.
%
*/
-MagickExport void XGetMapInfo(const XVisualInfo *visual_info,
+MagickPrivate void XGetMapInfo(const XVisualInfo *visual_info,
const Colormap colormap,XStandardColormap *map_info)
{
/*
% o pixel: Specifies a pointer to a XPixelInfo structure.
%
*/
-MagickExport void XGetPixelInfo(Display *display,
+MagickPrivate void XGetPixelInfo(Display *display,
const XVisualInfo *visual_info,const XStandardColormap *map_info,
const XResourceInfo *resource_info,Image *image,XPixelInfo *pixel)
{
% returned in this character string.
%
*/
-MagickExport MagickBooleanType XGetWindowColor(Display *display,
+MagickPrivate MagickBooleanType XGetWindowColor(Display *display,
XWindows *windows,char *name)
{
int
% o resource_info: Specifies a pointer to a X11 XResourceInfo structure.
%
*/
-MagickExport void XGetWindowInfo(Display *display,XVisualInfo *visual_info,
+MagickPrivate void XGetWindowInfo(Display *display,XVisualInfo *visual_info,
XStandardColormap *map_info,XPixelInfo *pixel,XFontStruct *font_info,
XResourceInfo *resource_info,XWindowInfo *window)
{
% contains the extents of any highlighting rectangle.
%
*/
-MagickExport void XHighlightEllipse(Display *display,Window window,
+MagickPrivate void XHighlightEllipse(Display *display,Window window,
GC annotate_context,const RectangleInfo *highlight_info)
{
(void) LogMagickEvent(TraceEvent,GetMagickModule(),"...");
% contains the extents of any highlighting rectangle.
%
*/
-MagickExport void XHighlightLine(Display *display,Window window,
+MagickPrivate void XHighlightLine(Display *display,Window window,
GC annotate_context,const XSegment *highlight_info)
{
(void) LogMagickEvent(TraceEvent,GetMagickModule(),"...");
% contains the extents of any highlighting rectangle.
%
*/
-MagickExport void XHighlightRectangle(Display *display,Window window,
+MagickPrivate void XHighlightRectangle(Display *display,Window window,
GC annotate_context,const RectangleInfo *highlight_info)
{
assert(display != (Display *) NULL);
% o resource_info: Specifies a pointer to a X11 XResourceInfo structure.
%
*/
-MagickExport XWindows *XInitializeWindows(Display *display,
+MagickPrivate XWindows *XInitializeWindows(Display *display,
XResourceInfo *resource_info)
{
Window
% o foreground_color: Specifies the color to use for the cursor foreground.
%
*/
-MagickExport Cursor XMakeCursor(Display *display,Window window,
+MagickPrivate Cursor XMakeCursor(Display *display,Window window,
Colormap colormap,char *background_color,char *foreground_color)
{
#define scope_height 17
% o exception: return any errors or warnings in this structure.
%
*/
-MagickExport MagickBooleanType XMakeImage(Display *display,
+MagickPrivate MagickBooleanType XMakeImage(Display *display,
const XResourceInfo *resource_info,XWindowInfo *window,Image *image,
unsigned int width,unsigned int height,ExceptionInfo *exception)
{
% o windows: Specifies a pointer to a XWindows structure.
%
*/
-MagickExport void XMakeMagnifyImage(Display *display,XWindows *windows)
+MagickPrivate void XMakeMagnifyImage(Display *display,XWindows *windows)
{
char
tuple[MaxTextExtent];
return((Quantum) (((MagickRealType) QuantumRange*x)/scale+0.5));
}
-MagickExport void XMakeStandardColormap(Display *display,
+MagickPrivate void XMakeStandardColormap(Display *display,
XVisualInfo *visual_info,XResourceInfo *resource_info,Image *image,
XStandardColormap *map_info,XPixelInfo *pixel)
{
% o window_info: Specifies a pointer to a X11 XWindowInfo structure.
%
*/
-MagickExport void XMakeWindow(Display *display,Window parent,char **argv,
+MagickPrivate void XMakeWindow(Display *display,Window parent,char **argv,
int argc,XClassHint *class_hint,XWMHints *manager_hints,
XWindowInfo *window_info)
{
return(locale_message);
}
-MagickExport MagickBooleanType XMagickProgressMonitor(const char *tag,
+MagickPrivate MagickBooleanType XMagickProgressMonitor(const char *tag,
const MagickOffsetType quantum,const MagickSizeType span,
void *magick_unused(client_data))
{
% color is returned as this value.
%
*/
-MagickExport MagickBooleanType XQueryColorDatabase(const char *target,
+MagickPrivate MagickBooleanType XQueryColorDatabase(const char *target,
XColor *color)
{
Colormap
% window.
%
*/
-MagickExport void XQueryPosition(Display *display,const Window window,int *x,int *y)
+MagickPrivate void XQueryPosition(Display *display,const Window window,int *x,int *y)
{
int
x_root,
% the entire image is refreshed.
%
*/
-MagickExport void XRefreshWindow(Display *display,const XWindowInfo *window,
+MagickPrivate void XRefreshWindow(Display *display,const XWindowInfo *window,
const XEvent *event)
{
int
% to busy, otherwise the cursor are reset to their default.
%
*/
-MagickExport void XSetCursorState(Display *display,XWindows *windows,
+MagickPrivate void XSetCursorState(Display *display,XWindows *windows,
const MagickStatusType state)
{
(void) LogMagickEvent(TraceEvent,GetMagickModule(),"...");
% o windows_info: Initialize the Windows structure with this information.
%
*/
-MagickExport XWindows *XSetWindows(XWindows *windows_info)
+MagickPrivate XWindows *XSetWindows(XWindows *windows_info)
{
static XWindows
*windows = (XWindows *) NULL;
% o resource_info: Specifies a pointer to a X11 XResourceInfo structure.
%
*/
-MagickExport void XUserPreferences(XResourceInfo *resource_info)
+MagickPrivate void XUserPreferences(XResourceInfo *resource_info)
{
#if defined(X11_PREFERENCES_PATH)
char
% o description: Specifies any description to the reason.
%
*/
-MagickExport void XWarning(const ExceptionType magick_unused(warning),
+MagickPrivate void XWarning(const ExceptionType magick_unused(warning),
const char *reason,const char *description)
{
char
% o id: Specifies the id of the window to locate.
%
*/
-MagickExport Window XWindowByID(Display *display,const Window root_window,
+MagickPrivate Window XWindowByID(Display *display,const Window root_window,
const size_t id)
{
RectangleInfo
% o name: Specifies the name of the window to locate.
%
*/
-MagickExport Window XWindowByName(Display *display,const Window root_window,
+MagickPrivate Window XWindowByName(Display *display,const Window root_window,
const char *name)
{
register int
% o property: Specifies the property of the window to locate.
%
*/
-MagickExport Window XWindowByProperty(Display *display,const Window window,
+MagickPrivate Window XWindowByProperty(Display *display,const Window window,
const Atom property)
{
Atom
% o ximage_info: Specifies a pointer to an XImportInfo structure.
%
*/
-MagickExport Image *XImportImage(const ImageInfo *image_info,
+MagickPrivate Image *XImportImage(const ImageInfo *image_info,
XImportInfo *ximage_info)
{
assert(image_info != (const ImageInfo *) NULL);
extern "C" {
#endif
+#if defined(MAGICKCORE_X11_DELEGATE)
+#include <X11/Xos.h>
+#include <X11/Xlib.h>
+#include <X11/Xresource.h>
+
typedef struct _XImportInfo
-{
- MagickBooleanType
- frame,
- borders,
- screen,
- descend,
- silent;
-} XImportInfo;
+ XImportInfo;
+
+typedef struct _XResourceInfo
+ XResourceInfo;
+
+extern MagickExport char
+ *XGetResourceClass(XrmDatabase,const char *,const char *,char *),
+ *XGetResourceInstance(XrmDatabase,const char *,const char *,const char *),
+ *XGetScreenDensity(Display *);
+
+extern MagickExport int
+ XError(Display *,XErrorEvent *);
+
+extern MagickExport XrmDatabase
+ XGetResourceDatabase(Display *,const char *);
+
+extern MagickExport void
+ XGetResourceInfo(const ImageInfo *,XrmDatabase,const char *,XResourceInfo *),
+ XRetainWindowColors(Display *,const Window);
+#endif
extern MagickExport Image
*XImportImage(const ImageInfo *,XImportInfo *);
+extern MagickExport MagickBooleanType
+ XRemoteCommand(Display *,const char *,const char *);
+
extern MagickExport void
+ DestroyXResources(void),
+ XDestroyResourceInfo(XResourceInfo *),
XGetImportInfo(XImportInfo *);
#if defined(__cplusplus) || defined(c_plusplus)
MagickCore/threshold.h MagickCore/type.c MagickCore/type.h \
MagickCore/utility.c MagickCore/utility.h MagickCore/version.c \
MagickCore/version.h MagickCore/vms.h MagickCore/widget.c \
- MagickCore/widget.h MagickCore/xml-tree.c \
- MagickCore/xml-tree.h MagickCore/xwindow.c \
- MagickCore/xwindow.h MagickCore/nt-feature.c \
- MagickCore/nt-base.c coders/aai.c coders/art.c coders/avs.c \
- coders/bgr.c coders/bmp.c coders/braille.c coders/cals.c \
- coders/caption.c coders/cin.c coders/cip.c coders/clip.c \
- coders/cmyk.c coders/cut.c coders/dcm.c coders/dds.c \
- coders/debug.c coders/dib.c coders/dng.c coders/dot.c \
- coders/dpx.c coders/fax.c coders/fits.c coders/gif.c \
- coders/gradient.c coders/gray.c coders/hald.c coders/hdr.c \
- coders/histogram.c coders/hrz.c coders/html.c coders/icon.c \
- coders/info.c coders/inline.c coders/ipl.c coders/label.c \
- coders/mac.c coders/magick.c coders/map.c coders/mat.c \
- coders/matte.c coders/meta.c coders/miff.c coders/mono.c \
- coders/mpc.c coders/mpeg.c coders/mpr.c coders/msl.c \
- coders/mtv.c coders/mvg.c coders/null.c coders/otb.c \
- coders/palm.c coders/pattern.c coders/pcd.c coders/pcl.c \
- coders/pcx.c coders/pdb.c coders/pdf.c coders/pes.c \
- coders/pict.c coders/pix.c coders/plasma.c coders/pnm.c \
- coders/preview.c coders/ps.c coders/ps2.c coders/ps3.c \
- coders/psd.c coders/pwp.c coders/raw.c coders/rgb.c \
- coders/rla.c coders/rle.c coders/scr.c coders/sct.c \
- coders/sfw.c coders/sgi.c coders/stegano.c coders/sun.c \
- coders/svg.c coders/tga.c coders/thumbnail.c coders/tile.c \
- coders/tim.c coders/ttf.c coders/txt.c coders/uil.c \
- coders/url.c coders/uyvy.c coders/vicar.c coders/vid.c \
- coders/viff.c coders/wbmp.c coders/wpg.c coders/xbm.c \
- coders/xc.c coders/xcf.c coders/xpm.c coders/xps.c \
- coders/ycbcr.c coders/yuv.c coders/dps.c coders/djvu.c \
- coders/exr.c coders/fpx.c coders/clipboard.c coders/emf.c \
- coders/jbig.c coders/jpeg.c coders/jp2.c coders/png.c \
- coders/ept.c coders/tiff.c coders/webp.c coders/wmf.c \
- coders/x.c coders/xwd.c filters/analyze.c
+ MagickCore/widget.h MagickCore/widget-private.h \
+ MagickCore/xml-tree.c MagickCore/xml-tree.h \
+ MagickCore/xwindow.c MagickCore/xwindow.h \
+ MagickCore/nt-feature.c MagickCore/nt-base.c coders/aai.c \
+ coders/art.c coders/avs.c coders/bgr.c coders/bmp.c \
+ coders/braille.c coders/cals.c coders/caption.c coders/cin.c \
+ coders/cip.c coders/clip.c coders/cmyk.c coders/cut.c \
+ coders/dcm.c coders/dds.c coders/debug.c coders/dib.c \
+ coders/dng.c coders/dot.c coders/dpx.c coders/fax.c \
+ coders/fits.c coders/gif.c coders/gradient.c coders/gray.c \
+ coders/hald.c coders/hdr.c coders/histogram.c coders/hrz.c \
+ coders/html.c coders/icon.c coders/info.c coders/inline.c \
+ coders/ipl.c coders/label.c coders/mac.c coders/magick.c \
+ coders/map.c coders/mat.c coders/matte.c coders/meta.c \
+ coders/miff.c coders/mono.c coders/mpc.c coders/mpeg.c \
+ coders/mpr.c coders/msl.c coders/mtv.c coders/mvg.c \
+ coders/null.c coders/otb.c coders/palm.c coders/pattern.c \
+ coders/pcd.c coders/pcl.c coders/pcx.c coders/pdb.c \
+ coders/pdf.c coders/pes.c coders/pict.c coders/pix.c \
+ coders/plasma.c coders/pnm.c coders/preview.c coders/ps.c \
+ coders/ps2.c coders/ps3.c coders/psd.c coders/pwp.c \
+ coders/raw.c coders/rgb.c coders/rla.c coders/rle.c \
+ coders/scr.c coders/sct.c coders/sfw.c coders/sgi.c \
+ coders/stegano.c coders/sun.c coders/svg.c coders/tga.c \
+ coders/thumbnail.c coders/tile.c coders/tim.c coders/ttf.c \
+ coders/txt.c coders/uil.c coders/url.c coders/uyvy.c \
+ coders/vicar.c coders/vid.c coders/viff.c coders/wbmp.c \
+ coders/wpg.c coders/xbm.c coders/xc.c coders/xcf.c \
+ coders/xpm.c coders/xps.c coders/ycbcr.c coders/yuv.c \
+ coders/dps.c coders/djvu.c coders/exr.c coders/fpx.c \
+ coders/clipboard.c coders/emf.c coders/jbig.c coders/jpeg.c \
+ coders/jp2.c coders/png.c coders/ept.c coders/tiff.c \
+ coders/webp.c coders/wmf.c coders/x.c coders/xwd.c \
+ filters/analyze.c
am__objects_1 = MagickCore/MagickCore_libMagickCore_la-accelerate.lo \
MagickCore/MagickCore_libMagickCore_la-animate.lo \
MagickCore/MagickCore_libMagickCore_la-annotate.lo \
MagickCore/vms.h \
MagickCore/widget.c \
MagickCore/widget.h \
+ MagickCore/widget-private.h \
MagickCore/xml-tree.c \
MagickCore/xml-tree.h \
MagickCore/xwindow.c \
MagickCore/locale_.h \
MagickCore/log.h \
MagickCore/magic.h \
+ MagickCore/magic-private.h \
MagickCore/magick.h \
MagickCore/magick-config.h \
MagickCore/magick-type.h \
MagickCore/token-private.h \
MagickCore/type-private.h \
MagickCore/vms.h \
+ MagickCore/widget-private.h \
MagickCore/xwindow-private.h
MAGICKCORE_EXTRA_DIST = \
<configure name="VERSION" value="7.0.0"/>
<configure name="LIB_VERSION" value="0x700"/>
<configure name="LIB_VERSION_NUMBER" value="7,0,0,0"/>
- <configure name="SVN_REVISION" value="5077" />
- <configure name="RELEASE_DATE" value="2011-09-02"/>
+ <configure name="SVN_REVISION" value="5150" />
+ <configure name="RELEASE_DATE" value="2011-09-03"/>
<configure name="CONFIGURE" value="./configure "/>
<configure name="PREFIX" value="/usr/local"/>
<configure name="EXEC-PREFIX" value="/usr/local"/>
MAGICK_LIBRARY_VERSION_INFO=$MAGICK_LIBRARY_CURRENT:$MAGICK_LIBRARY_REVISION:$MAGICK_LIBRARY_AGE
-MAGICK_SVN_REVISION=5077
+MAGICK_SVN_REVISION=5150