Static declarations.
*/
static const char
- *AnimateHelp[]=
+ *const AnimateHelp[] =
{
"BUTTONS",
"",
Constant declarations.
*/
static const char
- *PageSizes[]=
+ *const PageSizes[] =
{
"Letter",
"Tabloid",
#define MagickTitle "Commands"
static const char
- *CommandMenu[]=
+ *const CommandMenu[]=
{
"Animate",
"Speed",
"Quit",
(char *) NULL
},
- *AnimateMenu[]=
+ *const AnimateMenu[]=
{
"Open...",
"Play",
"Save...",
(char *) NULL
},
- *SpeedMenu[]=
+ *const SpeedMenu[]=
{
"Faster",
"Slower",
(char *) NULL
},
- *DirectionMenu[]=
+ *const DirectionMenu[]=
{
"Forward",
"Reverse",
(char *) NULL
},
- *HelpMenu[]=
+ *const HelpMenu[]=
{
"Overview",
"Browse Documentation",
};
static const char
- *PageSizes[] =
+ *const PageSizes[] =
{
"Letter",
"Tabloid",
Help widget declarations.
*/
static const char
- *ImageAnnotateHelp[] =
+ *const ImageAnnotateHelp[] =
{
"In annotate mode, the Command widget has these options:",
"",
"PseudoClass image to remain PseudoClass, use -colors.",
(char *) NULL,
},
- *ImageChopHelp[] =
+ *const ImageChopHelp[] =
{
"In chop mode, the Command widget has these options:",
"",
"starting point of the line and release the button.",
(char *) NULL,
},
- *ImageColorEditHelp[] =
+ *const ImageColorEditHelp[] =
{
"In color edit mode, the Command widget has these options:",
"",
"PseudoClass image to remain PseudoClass, use -colors.",
(char *) NULL,
},
- *ImageCompositeHelp[] =
+ *const ImageCompositeHelp[] =
{
"First a widget window is displayed requesting you to enter an",
"image name. Press Composite, Grab or type a file name.",
"to remain PseudoClass, use -colors.",
(char *) NULL,
},
- *ImageCutHelp[] =
+ *const ImageCutHelp[] =
{
"In cut mode, the Command widget has these options:",
"",
"exit without cutting the image, press Dismiss.",
(char *) NULL,
},
- *ImageCopyHelp[] =
+ *const ImageCopyHelp[] =
{
"In copy mode, the Command widget has these options:",
"",
"exit without copying the image, press Dismiss.",
(char *) NULL,
},
- *ImageCropHelp[] =
+ *const ImageCropHelp[] =
{
"In crop mode, the Command widget has these options:",
"",
"exit without cropping the image, press Dismiss.",
(char *) NULL,
},
- *ImageDrawHelp[] =
+ *const ImageDrawHelp[] =
{
"The cursor changes to a crosshair to indicate you are in",
"draw mode. To exit immediately, press Dismiss. In draw mode,",
"starting point of the line and release the button.",
(char *) NULL,
},
- *DisplayHelp[] =
+ *const DisplayHelp[] =
{
"BUTTONS",
" The effects of each button press is described below. Three",
" from any side of the image.",
(char *) NULL,
},
- *ImageMatteEditHelp[] =
+ *const ImageMatteEditHelp[] =
{
"Matte information within an image is useful for some",
"operations such as image compositing (See IMAGE",
"DirectColor visual or a Standard Colormap.",
(char *) NULL,
},
- *ImagePanHelp[] =
+ *const ImagePanHelp[] =
{
"When an image exceeds the width or height of the X server",
"screen, display maps a small panning icon. The rectangle",
"than the dimensions of the X server screen.",
(char *) NULL,
},
- *ImagePasteHelp[] =
+ *const ImagePasteHelp[] =
{
"A small window appears showing the location of the cursor in",
"the image window. You are now in paste mode. To exit",
"to remain PseudoClass, use -colors.",
(char *) NULL,
},
- *ImageROIHelp[] =
+ *const ImageROIHelp[] =
{
"In region of interest mode, the Command widget has these",
"options:",
"Dismiss.",
(char *) NULL,
},
- *ImageRotateHelp[] =
+ *const ImageRotateHelp[] =
{
"In rotate mode, the Command widget has these options:",
"",
angle[MagickPathExtent] = "30.0";
static const char
- *RotateMenu[] =
+ *const RotateMenu[] =
{
"-90",
"-45",
ExceptionInfo *exception)
{
static const char
- *ChopMenu[] =
+ *const ChopMenu[] =
{
"Direction",
"Help",
command[MagickPathExtent];
static const char
- *Directions[] =
+ *const Directions[] =
{
"horizontal",
"vertical",
ExceptionInfo *exception)
{
static const char
- *ColorEditMenu[] =
+ *const ColorEditMenu[] =
{
"Method",
"Pixel Color",
fuzz[MagickPathExtent];
static const char
- *FuzzMenu[] =
+ *const FuzzMenu[] =
{
"0%",
"2%",
filename[MagickPathExtent] = "\0";
static const char
- *CompositeMenu[] =
+ *const CompositeMenu[] =
{
"Operators",
"Dissolve",
const ClipboardMode mode,ExceptionInfo *exception)
{
static const char
- *CropModeMenu[] =
+ *const CropModeMenu[] =
{
"Help",
"Dismiss",
ExceptionInfo *exception)
{
static const char
- *DrawMenu[] =
+ *const DrawMenu[] =
{
"Element",
"Color",
case DrawElementCommand:
{
static const char
- *Elements[] =
+ *const Elements[] =
{
"point",
"line",
width[MagickPathExtent] = "0";
static const char
- *WidthsMenu[] =
+ *const WidthsMenu[] =
{
"1",
"2",
matte[MagickPathExtent] = "0";
static const char
- *MatteEditMenu[] =
+ *const MatteEditMenu[] =
{
"Method",
"Border Color",
fuzz[MagickPathExtent];
static const char
- *FuzzMenu[] =
+ *const FuzzMenu[] =
{
"0%",
"2%",
message[MagickPathExtent];
static const char
- *MatteMenu[] =
+ *const MatteMenu[] =
{
"Opaque",
"Transparent",
ExceptionInfo *exception)
{
static const char
- *PasteMenu[] =
+ *const PasteMenu[] =
{
"Operator",
"Help",
#define ApplyMenus 7
static const char
- *ROIMenu[] =
+ *const ROIMenu[] =
{
"Help",
"Dismiss",
(char *) NULL
},
- *ApplyMenu[] =
+ *const ApplyMenu[] =
{
"File",
"Edit",
"Dismiss",
(char *) NULL
},
- *FileMenu[] =
+ *const FileMenu[] =
{
"Save...",
"Print...",
(char *) NULL
},
- *EditMenu[] =
+ *const EditMenu[] =
{
"Undo",
"Redo",
(char *) NULL
},
- *TransformMenu[] =
+ *const TransformMenu[] =
{
"Flop",
"Flip",
"Rotate Left",
(char *) NULL
},
- *EnhanceMenu[] =
+ *const EnhanceMenu[] =
{
"Hue...",
"Saturation...",
"Quantize...",
(char *) NULL
},
- *EffectsMenu[] =
+ *const EffectsMenu[] =
{
"Despeckle",
"Emboss",
"Segment...",
(char *) NULL
},
- *FXMenu[] =
+ *const FXMenu[] =
{
"Solarize...",
"Sepia Tone...",
"Charcoal Draw...",
(char *) NULL
},
- *MiscellanyMenu[] =
+ *const MiscellanyMenu[] =
{
"Image Info",
"Zoom Image",
};
static const char
- **Menus[ApplyMenus] =
+ *const *Menus[ApplyMenus] =
{
FileMenu,
EditMenu,
ExceptionInfo *exception)
{
static const char
- *RotateMenu[] =
+ *const RotateMenu[] =
{
"Pixel Color",
"Direction",
case RotateDirectionCommand:
{
static const char
- *Directions[] =
+ *const Directions[] =
{
"horizontal",
"vertical",
XWindows *windows,Image *image,XEvent *event,ExceptionInfo *exception)
{
static const char
- *VerbMenu[] =
+ *const VerbMenu[] =
{
"Load",
"Next",
#define MagickTitle "Commands"
static const char
- *CommandMenu[] =
+ *const CommandMenu[] =
{
"File",
"Edit",
factor;
static const char
- *MagnifyMenu[] =
+ *const MagnifyMenu[] =
{
"2",
"4",
#if defined(MAGICKCORE_X11_DELEGATE)
extern MagickPrivate int
- XCommandWidget(Display *,XWindows *,const char **,XEvent *),
+ XCommandWidget(Display *,XWindows *,const char *const *,XEvent *),
XConfirmWidget(Display *,XWindows *,const char *,const char *),
XDialogWidget(Display *,XWindows *,const char *,const char *,char *),
- XMenuWidget(Display *,XWindows *,const char *,const char **,char *);
+ XMenuWidget(Display *,XWindows *,const char *,const char *const *,char *);
extern MagickPrivate MagickBooleanType
XPreferencesWidget(Display *,XResourceInfo *,XWindows *);
XFileBrowserWidget(Display *,XWindows *,const char *,char *),
XFontBrowserWidget(Display *,XWindows *,const char *,char *),
XInfoWidget(Display *,XWindows *,const char *),
- XListBrowserWidget(Display *,XWindows *,XWindowInfo *,const char **,
+ XListBrowserWidget(Display *,XWindows *,XWindowInfo *,const char *const *,
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 **);
+ const MagickBooleanType,const char *,const char *const *);
#endif
if (event->xexpose.window == windows->command.id)
if (event->xexpose.count == 0)
{
- (void) XCommandWidget(display,windows,(const char **) NULL,event);
+ (void) XCommandWidget(display,windows,(const char *const *) NULL,
+ event);
break;
}
break;
% The format of the XCommandWidget method is:
%
% int XCommandWidget(Display *display,XWindows *windows,
-% const char **selections,XEvent *event)
+% const char *const *selections,XEvent *event)
%
% A description of each parameter follows:
%
%
*/
MagickPrivate int XCommandWidget(Display *display,XWindows *windows,
- const char **selections,XEvent *event)
+ const char *const *selections,XEvent *event)
{
#define tile_width 112
#define tile_height 70
% The format of the XListBrowserWidget method is:
%
% void XListBrowserWidget(Display *display,XWindows *windows,
-% XWindowInfo *window_info,const char **list,const char *action,
+% XWindowInfo *window_info,const char *const *list,const char *action,
% const char *query,char *reply)
%
% A description of each parameter follows:
%
*/
MagickPrivate void XListBrowserWidget(Display *display,XWindows *windows,
- XWindowInfo *window_info,const char **list,const char *action,
+ XWindowInfo *window_info,const char *const *list,const char *action,
const char *query,char *reply)
{
#define CancelButtonText "Cancel"
% The format of the XMenuWidget method is:
%
% int XMenuWidget(Display *display,XWindows *windows,const char *title,
-% const char **selections,char *item)
+% const char *const *selections,char *item)
%
% A description of each parameter follows:
%
%
*/
MagickPrivate int XMenuWidget(Display *display,XWindows *windows,
- const char *title,const char **selections,char *item)
+ const char *title,const char *const *selections,char *item)
{
Cursor
cursor;
Update image windows if there is a pending expose event.
*/
while (XCheckTypedWindowEvent(display,windows->command.id,Expose,&event))
- (void) XCommandWidget(display,windows,(const char **) NULL,&event);
+ (void) XCommandWidget(display,windows,(const char *const *) NULL,&event);
while (XCheckTypedWindowEvent(display,windows->image.id,Expose,&event))
XRefreshWindow(display,&windows->image,&event);
while (XCheckTypedWindowEvent(display,windows->info.id,Expose,&event))
%
% void XTextViewWidget(Display *display,const XResourceInfo *resource_info,
% XWindows *windows,const MagickBooleanType mono,const char *title,
-% const char **textlist)
+% const char *const *textlist)
%
% A description of each parameter follows:
%
*/
MagickPrivate void XTextViewWidget(Display *display,
const XResourceInfo *resource_info,XWindows *windows,
- const MagickBooleanType mono,const char *title,const char **textlist)
+ const MagickBooleanType mono,const char *title,const char *const *textlist)
{
#define DismissButtonText "Dismiss"
MAGICK_VERSION=7.0.8-40
-MAGICK_GIT_REVISION=15490:ecfeac404:20190407
+MAGICK_GIT_REVISION=15498:e15db5cee:20190410
# Substitute library versioning