18#ifndef MAGICKCORE_WIDGET_H
19#define MAGICKCORE_WIDGET_H
21#if defined(MAGICKCORE_X11_DELEGATE)
22#include "magick/xwindow-private.h"
25#if defined(__cplusplus) || defined(c_plusplus)
29#if defined(MAGICKCORE_X11_DELEGATE)
30extern MagickExport
int
31 XCommandWidget(Display *,XWindows *,
const char *
const *,XEvent *),
32 XConfirmWidget(Display *,XWindows *,
const char *,
const char *),
33 XDialogWidget(Display *,XWindows *,
const char *,
const char *,
char *),
34 XMenuWidget(Display *,XWindows *,
const char *,
const char *
const *,
char *);
36extern MagickExport MagickBooleanType
37 XPreferencesWidget(Display *,XResourceInfo *,XWindows *);
39extern MagickExport
void
41 XColorBrowserWidget(Display *,XWindows *,
const char *,
char *),
42 XFileBrowserWidget(Display *,XWindows *,
const char *,
char *),
43 XFontBrowserWidget(Display *,XWindows *,
const char *,
char *),
44 XInfoWidget(Display *,XWindows *,
const char *),
45 XListBrowserWidget(Display *,XWindows *,XWindowInfo *,
const char *
const *,
46 const char *,
const char *,
char *),
47 XNoticeWidget(Display *,XWindows *,
const char *,
const char *),
48 XProgressMonitorWidget(Display *,XWindows *,
const char *,
49 const MagickOffsetType,
const MagickSizeType),
50 XTextViewWidget(Display *,
const XResourceInfo *,XWindows *,
51 const MagickBooleanType,
const char *,
const char **);
53static inline void XTextViewHelp(Display *display,
54 const XResourceInfo *resource_info,XWindows *windows,
55 const MagickBooleanType mono,
const char *title,
const char *help)
63 help_list=StringToList(help);
64 if (help_list == (
char **) NULL)
66 XTextViewWidget(display,resource_info,windows,mono,title,(
const char **)
68 for (i=0; help_list[i] != (
char *) NULL; i++)
69 help_list[i]=DestroyString(help_list[i]);
70 help_list=(
char **) RelinquishMagickMemory(help_list);
75#if defined(__cplusplus) || defined(c_plusplus)