Home | History | Annotate | Download | only in MagickCore

Lines Matching refs:display

170   XDrawMatte(Display *,const XWindowInfo *,const XWidgetInfo *),
171 XSetBevelColor(Display *,const XWindowInfo *,const MagickStatusType),
172 XSetMatteColor(Display *,const XWindowInfo *,const MagickStatusType),
173 XSetTextColor(Display *,const XWindowInfo *,const MagickStatusType);
220 % XDrawBevel(display,window_info,bevel_info)
224 % o display: Specifies a pointer to the Display structure; returned from
233 static void XDrawBevel(Display *display,const XWindowInfo *window_info,
268 XSetBevelColor(display,window_info,bevel_info->raised);
269 (void) XFillPolygon(display,window_info->id,window_info->widget_context,
286 XSetBevelColor(display,window_info,!bevel_info->raised);
287 (void) XFillPolygon(display,window_info->id,window_info->widget_context,
289 (void) XSetFillStyle(display,window_info->widget_context,FillSolid);
310 % XDrawBeveledButton(display,window_info,button_info)
314 % o display: Specifies a pointer to the Display structure; returned from
324 static void XDrawBeveledButton(Display *display,const XWindowInfo *window_info,
343 XDrawBevel(display,window_info,button_info);
344 XSetMatteColor(display,window_info,button_info->raised);
345 (void) XFillRectangle(display,window_info->id,window_info->widget_context,
349 (void) XSetForeground(display,window_info->widget_context,
352 (void) XDrawRectangle(display,window_info->id,window_info->widget_context,
379 XSetTextColor(display,window_info,MagickTrue);
382 (void) XDrawString(display,window_info->id,window_info->widget_context,
386 (void) XSetClipRectangles(display,window_info->widget_context,0,0,&crop_info,
388 XSetTextColor(display,window_info,button_info->raised);
389 (void) XDrawString(display,window_info->id,window_info->widget_context,x,y,
391 (void) XSetClipMask(display,window_info->widget_context,None);
393 XDelay(display,SuspendTime << 2);
414 % XDrawBeveledMatte(display,window_info,matte_info)
418 % o display: Specifies a pointer to the Display structure; returned from
427 static void XDrawBeveledMatte(Display *display,const XWindowInfo *window_info,
433 XDrawBevel(display,window_info,matte_info);
434 XDrawMatte(display,window_info,matte_info);
453 % XDrawMatte(display,window_info,matte_info)
457 display: Specifies a pointer to the Display structure; returned from
466 static void XDrawMatte(Display *display,const XWindowInfo *window_info,
473 (void) XFillRectangle(display,window_info->id,
478 (void) XSetForeground(display,window_info->widget_context,
480 (void) XFillRectangle(display,window_info->id,window_info->widget_context,
502 % XDrawMatteText(display,window_info,text_info)
506 % o display: Specifies a pointer to the Display structure; returned from
515 static void XDrawMatteText(Display *display,const XWindowInfo *window_info,
542 XSetMatteColor(display,window_info,MagickFalse);
543 (void) XFillRectangle(display,window_info->id,window_info->widget_context,
547 XSetTextColor(display,window_info,text_info->highlight);
558 (void) XDrawLine(display,window_info->id,window_info->annotate_context,
596 (void) XSetClipRectangles(display,window_info->widget_context,0,0,
598 (void) XDrawString(display,window_info->id,window_info->widget_context,
600 (void) XSetClipMask(display,window_info->widget_context,None);
604 (void) XSetClipRectangles(display,window_info->annotate_context,0,0,
607 (void) XFillRectangle(display,window_info->id,
609 (void) XSetClipMask(display,window_info->annotate_context,None);
610 (void) XSetClipRectangles(display,window_info->highlight_context,0,0,
612 (void) XDrawString(display,window_info->id,
615 (void) XSetClipMask(display,window_info->highlight_context,None);
619 (void) XDrawLine(display,window_info->id,window_info->annotate_context,x,y+3,
641 % XDrawTriangleEast(display,window_info,triangle_info)
645 % o display: Specifies a pointer to the Display structure; returned from
654 static void XDrawTriangleEast(Display *display,const XWindowInfo *window_info,
690 XSetMatteColor(display,window_info,triangle_info->raised);
691 (void) XFillPolygon(display,window_info->id,window_info->widget_context,
704 XSetBevelColor(display,window_info,!triangle_info->raised);
705 (void) XFillPolygon(display,window_info->id,window_info->widget_context,
718 XSetBevelColor(display,window_info,triangle_info->raised);
719 (void) XFillPolygon(display,window_info->id,window_info->widget_context,
732 (void) XFillPolygon(display,window_info->id,window_info->widget_context,
734 (void) XSetFillStyle(display,window_info->widget_context,FillSolid);
741 XSetTextColor(display,window_info,MagickTrue);
746 (void) XDrawString(display,window_info->id,window_info->widget_context,x1,y1,
768 % XDrawTriangleNorth(display,window_info,triangle_info)
772 % o display: Specifies a pointer to the Display structure; returned from
781 static void XDrawTriangleNorth(Display *display,const XWindowInfo *window_info,
814 XSetMatteColor(display,window_info,triangle_info->raised);
815 (void) XFillPolygon(display,window_info->id,window_info->widget_context,
828 XSetBevelColor(display,window_info,triangle_info->raised);
829 (void) XFillPolygon(display,window_info->id,window_info->widget_context,
842 XSetBevelColor(display,window_info,!triangle_info->raised);
843 (void) XFillPolygon(display,window_info->id,window_info->widget_context,
856 (void) XFillPolygon(display,window_info->id,window_info->widget_context,
858 (void) XSetFillStyle(display,window_info->widget_context,FillSolid);
879 % XDrawTriangleSouth(display,window_info,triangle_info)
883 % o display: Specifies a pointer to the Display structure; returned from
892 static void XDrawTriangleSouth(Display *display,const XWindowInfo *window_info,
925 XSetMatteColor(display,window_info,triangle_info->raised);
926 (void) XFillPolygon(display,window_info->id,window_info->widget_context,
939 XSetBevelColor(display,window_info,triangle_info->raised);
940 (void) XFillPolygon(display,window_info->id,window_info->widget_context,
953 XSetBevelColor(display,window_info,!triangle_info->raised);
954 (void) XFillPolygon(display,window_info->id,window_info->widget_context,
967 XSetBevelColor(display,window_info,triangle_info->raised);
968 (void) XFillPolygon(display,window_info->id,window_info->widget_context,
970 (void) XSetFillStyle(display,window_info->widget_context,FillSolid);
990 % XDrawWidgetText(display,window_info,text_info)
994 % o display: Specifies a pointer to the Display structure; returned from
1002 static void XDrawWidgetText(Display *display,const XWindowInfo *window_info,
1027 (void) XClearArea(display,window_info->id,text_info->x,text_info->y,
1031 (void) XFillRectangle(display,window_info->id,widget_context,text_info->x,
1059 (void) XSetClipRectangles(display,widget_context,0,0,&crop_info,1,Unsorted);
1060 (void) XDrawString(display,window_info->id,widget_context,x,y,text_info->text,
1062 (void) XSetClipMask(display,widget_context,None);
1064 (void) XDrawLine(display,window_info->id,window_info->annotate_context,
1084 % XEditText(display,text_info,key_symbol,text,state)
1088 % o display: Specifies a connection to an X server; returned from
1103 static void XEditText(Display *display,XWidgetInfo *text_info,
1169 (void) XBell(display,0);
1266 % XHighlightWidget(display,window_info,x,y)
1270 % o display: Specifies a pointer to the Display structure; returned from
1282 static void XHighlightWidget(Display *display,const XWindowInfo *window_info,
1288 XSetBevelColor(display,window_info,MagickTrue);
1289 (void) XDrawRectangle(display,window_info->id,window_info->widget_context,x,y,
1291 (void) XDrawRectangle(display,window_info->id,window_info->widget_context,
1293 XSetBevelColor(display,window_info,MagickFalse);
1294 (void) XDrawRectangle(display,window_info->id,window_info->widget_context,
1296 (void) XSetFillStyle(display,window_info->widget_context,FillSolid);
1316 % int XScreenEvent(Display *display,XEvent *event,char *data)
1320 % o display: Specifies a pointer to the Display structure; returned from
1333 static int XScreenEvent(Display *display,XEvent *event,char *data)
1374 XRefreshWindow(display,&windows->image,event);
1385 XMakeMagnifyImage(display,windows,exception);
1392 (void) XCommandWidget(display,windows,(const char **) NULL,event);
1403 (void) XSetInputFocus(display,windows->image.id,RevertToNone,
1439 % XSetBevelColor(display,window_info,raised)
1443 % o display: Specifies a pointer to the Display structure; returned from
1452 static void XSetBevelColor(Display *display,const XWindowInfo *window_info,
1463 (void) XSetBackground(display,window_info->widget_context,
1464 XBlackPixel(display,window_info->screen));
1465 (void) XSetForeground(display,window_info->widget_context,
1466 XWhitePixel(display,window_info->screen));
1467 (void) XSetFillStyle(display,window_info->widget_context,
1472 (void) XSetStipple(display,window_info->widget_context,stipple);
1476 (void) XSetForeground(display,window_info->widget_context,
1479 (void) XSetForeground(display,window_info->widget_context,
1499 % XSetMatteColor(display,window_info,raised)
1503 % o display: Specifies a pointer to the Display structure; returned from
1511 static void XSetMatteColor(Display *display,const XWindowInfo *window_info,
1520 (void) XSetForeground(display,window_info->widget_context,
1521 XWhitePixel(display,window_info->screen));
1523 (void) XSetForeground(display,window_info->widget_context,
1524 XBlackPixel(display,window_info->screen));
1528 (void) XSetForeground(display,window_info->widget_context,
1531 (void) XSetForeground(display,window_info->widget_context,
1551 % XSetTextColor(display,window_info,raised)
1555 % o display: Specifies a pointer to the Display structure; returned from
1564 static void XSetTextColor(Display *display,const XWindowInfo *window_info,
1577 (void) XSetForeground(display,window_info->widget_context,
1578 XBlackPixel(display,window_info->screen));
1580 (void) XSetForeground(display,window_info->widget_context,
1581 XWhitePixel(display,window_info->screen));
1588 (void) XSetForeground(display,window_info->widget_context,
1591 (void) XSetForeground(display,window_info->widget_context,
1613 % void XColorBrowserWidget(Display *display,XWindows *windows,
1618 % o display: Specifies a connection to an X server; returned from
1628 MagickPrivate void XColorBrowserWidget(Display *display,XWindows *windows,
1707 assert(display != (Display *) NULL);
1712 XSetCursorState(display,windows,MagickTrue);
1713 XCheckRefreshWindows(display,windows);
1726 XNoticeWidget(display,windows,"Unable to obtain colors names:",
1728 (void) XDialogWidget(display,windows,action,"Enter color name:",
1769 XConstrainWindowPosition(display,&windows->widget);
1778 XSetWMName(display,windows->widget.id,&window_name);
1779 XSetWMIconName(display,windows->widget.id,&window_name);
1786 (void) XReconfigureWMWindow(display,windows->widget.id,windows->widget.screen,
1788 (void) XMapRaised(display,windows->widget.id);
1934 (void) XDrawString(display,windows->widget.id,
1938 XDrawWidgetText(display,&windows->widget,&text_info);
1939 XDrawBeveledButton(display,&windows->widget,&grab_info);
1940 XDrawBeveledButton(display,&windows->widget,&reset_info);
1941 XDrawBeveledMatte(display
1942 XDrawBeveledMatte(display,&windows->widget,&scroll_info);
1943 XDrawTriangleNorth(display,&windows->widget,&north_info);
1944 XDrawBeveledButton(display,&windows->widget,&slider_info);
1945 XDrawTriangleSouth(display,&windows->widget,&south_info);
1948 (void) XDrawString(display,windows->widget.id,
1951 XDrawBeveledMatte(display,&windows->widget,&reply_info);
1952 XDrawMatteText(display,&windows->widget,&reply_info);
1953 XDrawBeveledButton(display,&windows->widget,&action_info);
1954 XDrawBeveledButton(display,&windows->widget,&cancel_info);
1955 XHighlightWidget(display,&windows->widget,BorderOffset,BorderOffset);
1969 status=XParseColor(display,windows->widget.map_info->colormap,
1979 XDrawBeveledButton(display,&windows->widget,&action_info);
1989 (void) XBell(display,0);
2022 XDrawWidgetText(display,&windows->widget,&text_info);
2023 XDrawMatteText(display,&windows->widget,&reply_info);
2024 XDrawBeveledMatte(display,&windows->widget,&scroll_info);
2025 XDrawTriangleNorth(display,&windows->widget,&north_info);
2026 XDrawBeveledButton(display,&windows->widget,&slider_info);
2027 XDrawTriangleSouth(display,&windows->widget,&south_info);
2028 XHighlightWidget(display,&windows->widget,BorderOffset,BorderOffset);
2077 XDrawWidgetText(display,&windows->widget,&selection_info);
2095 XDrawTriangleNorth(display,&windows->widget,&north_info);
2096 XDrawMatte(display,&windows->widget,&expose_info);
2097 XDrawBeveledButton(display,&windows->widget,&slider_info);
2098 XDrawTriangleSouth(display,&windows->widget,&south_info);
2109 Display the selected color in a drawing area.
2112 (void) XParseColor(display,windows->widget.map_info->colormap,
2114 XBestPixel(display,windows->widget.map_info->colormap,(XColor *) NULL,
2122 XDrawBeveledButton(display,&windows->widget,&mode_info);
2130 (void) XIfEvent(display,&event,XScreenEvent,(char *) windows);
2136 XDelay(display,delay);
2138 (void) XCheckIfEvent(display,&event,XScreenEvent,(char *) windows);
2223 XDrawMatteText(display,&windows->widget,&reply_info);
2242 XDrawBeveledButton(display,&windows->widget,&grab_info);
2251 XDrawBeveledButton(display,&windows->widget,&reset_info);
2264 (void) XSetSelectionOwner(display,XA_PRIMARY,windows->widget.id,
2266 reply_info.highlight=XGetSelectionOwner(display,XA_PRIMARY) ==
2270 XDrawMatteText(display,&windows->widget,&reply_info);
2279 XDrawBeveledButton(display,&windows->widget,&action_info);
2288 XDrawBeveledButton(display,&windows->widget,&cancel_info);
2315 (void) XSetSelectionOwner(display,XA_PRIMARY,windows->widget.id,
2317 reply_info.highlight=XGetSelectionOwner(display,XA_PRIMARY) ==
2320 XDrawMatteText(display,&windows->widget,&reply_info);
2327 (void) XConvertSelection(display,XA_PRIMARY,XA_STRING,XA_STRING,
2342 XDrawTriangleNorth(display,&windows->widget,&north_info);
2351 XDrawTriangleSouth(display,&windows->widget,&south_info);
2369 (void) XGetWindowColor(display,windows,reply_info.text,
2373 XDrawMatteText(display,&windows->widget,&reply_info);
2377 XDrawBeveledButton(display,&windows->widget,&grab_info);
2389 XDrawBeveledButton(display,&windows->widget,&reset_info);
2398 (void) XBell(display,0);
2404 XDrawBeveledButton(display,&windows->widget,&action_info);
2415 XDrawBeveledButton(display,&windows->widget,&cancel_info);
2430 (void) XSetInputFocus(display,event.xclient.window,RevertToParent,
2577 XEditText(display,&reply_info,key_symbol,command,state);
2578 XDrawMatteText(display,&windows->widget,&reply_info);
2580 status=XParseColor(display,windows->widget.map_info->colormap,
2623 while (XCheckMaskEvent(display,ButtonMotionMask,&event)) ;
2650 XDrawBeveledButton(display,&windows->widget,&grab_info);
2659 XDrawBeveledButton(display,&windows->widget,&reset_info);
2669 XDrawBeveledButton(display,&windows->widget,&action_info);
2679 XDrawBeveledButton(display,&windows->widget,&cancel_info);
2687 XDrawMatteText(display,&windows->widget,&reply_info);
2710 status=XGetWindowProperty(display,event.xselection.requestor,
2717 (void) XBell(display,0);
2724 XEditText(display,&reply_info,(KeySym) XK_Insert,(char *) data,
2726 XDrawMatteText(display,&windows->widget,&reply_info);
2747 (void) XChangeProperty(request->display,request->requestor,
2752 notify.display=request->display;
2761 (void) XSendEvent(request->display,request->requestor,False,
2768 XSetCursorState(display,windows,MagickFalse);
2769 (void) XWithdrawWindow(display,windows->widget.id,windows->widget.screen);
2770 XCheckRefreshWindows(display,windows);
2781 status=XParseColor(display,windows->widget.map_info->colormap,reply,&color);
2784 XNoticeWidget(display,windows,"Color is unknown to X server:",reply);
2805 % int XCommandWidget(Display *display,XWindows *windows,
2813 % o display: Specifies a connection to an X server; returned from
2824 MagickPrivate int XCommandWidget(Display *display,XWindows *windows,
2937 assert(display != (Display *) NULL);
2973 XConstrainWindowPosition(display,&windows->command);
2986 XSetWMName(display,windows->command.id,&window_name);
2987 XSetWMIconName(display,windows->command.id,&window_name);
2992 (void) XReconfigureWMWindow(display,windows->command.id,
3026 XDrawBeveledButton(display,&windows->command,&selection_info[i]);
3034 (void) XCheckWindowEvent(display,windows->widget.id,LeaveWindowMask,
3050 XDrawBeveledButton(display,&windows->command,&selection_info[id]);
3066 (void) XWithdrawWindow(display,windows->command.id,
3119 XDrawBeveledButton(display,&windows->command,
3131 XDrawTriangleEast(display,&windows->command,&toggle_info);
3134 XDelay(display,SuspendTime);
3135 if (XCheckMaskEvent(display,ButtonMotionMask,event) == MagickFalse)
3137 while (XCheckMaskEvent(display,ButtonMotionMask,event)) ;
3140 XDrawTriangleEast(display,&windows->command,&toggle_info);
3184 (void) XClearWindow(display,windows->command.id);
3194 tile_pixmap=XCreatePixmapFromBitmapData(display,windows->command.id,
3198 (void) XCopyPlane(display,tile_pixmap,windows->command.id,
3201 (void) XFreePixmap(display,tile_pixmap);
3205 XDrawBeveledButton(display,&windows->command,&selection_info[i]);
3211 XDrawTriangleEast(display,&windows->command,&toggle_info);
3213 XHighlightWidget(display,&windows->command,BorderOffset,BorderOffset);
3235 % int XConfirmWidget(Display *display,XWindows *windows,
3240 % o display: Specifies a connection to an X server; returned from
3245 % o reason: Specifies the message to display before terminating the
3251 MagickPrivate int XConfirmWidget(Display *display,XWindows *windows,
3293 assert(display != (Display *) NULL);
3298 XCheckRefreshWindows(display,windows);
3324 XConstrainWindowPosition(display,&windows->widget);
3332 XSetWMName(display,windows->widget.id,&window_name);
3333 XSetWMIconName(display,windows->widget.id,&window_name);
3340 (void) XReconfigureWMWindow(display,windows->widget.id,windows->widget.screen,
3342 (void) XMapRaised(display,windows->widget.id);
3349 XSetCursorState(display,windows,MagickTrue);
3391 (void) XDrawString(display,windows->widget.id,
3403 (void) XDrawString(display,windows->widget.id,
3406 XDrawBeveledButton(display,&windows->widget,&cancel_info);
3407 XDrawBeveledButton(display,&windows->widget,&dismiss_info);
3408 XDrawBeveledButton(display,&windows->widget,&yes_info);
3409 XHighlightWidget(display,&windows->widget,BorderOffset,BorderOffset);
3415 (void) XIfEvent(display,&event,XScreenEvent,(char *) windows);
3426 XDrawBeveledButton(display,&windows->widget,&cancel_info);
3435 XDrawBeveledButton(display,&windows->widget,&dismiss_info);
3444 XDrawBeveledButton(display,&windows->widget,&yes_info);
3462 XDrawBeveledButton(display,&windows->widget,&cancel_info);
3473 XDrawBeveledButton(display,&windows->widget,&dismiss_info);
3484 XDrawBeveledButton(display,&windows->widget,&yes_info);
3497 (void) XSetInputFocus(display,event.xclient.window,RevertToParent,
3561 XDrawBeveledButton(display,&windows->widget,&yes_info);
3580 while (XCheckMaskEvent(display,ButtonMotionMask,&event)) ;
3590 XDrawBeveledButton(display,&windows->widget,&cancel_info);
3600 XDrawBeveledButton(display,&windows->widget,&dismiss_info);
3610 XDrawBeveledButton(display,&windows->widget,&yes_info);
3619 XSetCursorState(display,windows,MagickFalse);
3620 (void) XWithdrawWindow(display,windows->widget.id,windows->widget.screen);
3621 XCheckRefreshWindows(display,windows);
3643 % int XDialogWidget(Display *display,XWindows *windows,const char *action,
3648 % o display: Specifies a connection to an X server; returned from
3660 MagickPrivate int XDialogWidget(Display *display,XWindows *windows,
3710 assert(display != (Display *) NULL);
3716 XCheckRefreshWindows(display,windows);
3739 XConstrainWindowPosition(display,&windows->widget);
3747 XSetWMName(display,windows->widget.id,&window_name);
3748 XSetWMIconName(display,windows->widget.id,&window_name);
3755 (void) XReconfigureWMWindow(display,windows->widget.id,windows->widget.screen,
3757 (void) XMapRaised(display,windows->widget.id);
3769 XSetCursorState(display,windows,MagickTrue);
3836 XDrawWidgetText(display,&windows->widget,&text_info);
3837 XDrawBeveledMatte(display,&windows->widget,&reply_info);
3838 XDrawMatteText(display,&windows->widget,&reply_info);
3840 XDrawBeveledButton(display,&windows->widget,&special_info);
3841 XDrawBeveledButton(display,&windows->widget,&action_info);
3842 XDrawBeveledButton(display,&windows->widget,&cancel_info);
3843 XHighlightWidget(display,&windows->widget,BorderOffset,BorderOffset);
3849 (void) XIfEvent(display,&event,XScreenEvent,(char *) windows);
3861 XDrawBeveledButton(display,&windows->widget,&special_info);
3870 XDrawBeveledButton(display,&windows->widget,&action_info);
3879 XDrawBeveledButton(display,&windows->widget,&cancel_info);
3906 (void) XSetSelectionOwner(display,XA_PRIMARY,windows->widget.id,
3908 reply_info.highlight=XGetSelectionOwner(display,XA_PRIMARY) ==
3911 XDrawMatteText(display,&windows->widget,&reply_info);
3918 (void) XConvertSelection(display,XA_PRIMARY,XA_STRING,XA_STRING,
3932 XDrawBeveledButton(display,&windows->widget,&action_info);
3943 XDrawBeveledButton(display,&windows->widget,&cancel_info);
3956 (void) XSetInputFocus(display,event.xclient.window,RevertToParent,
4025 XDrawBeveledButton(display,&windows->widget,&action_info);
4052 XEditText(display,&reply_info,key_symbol,command,state);
4053 XDrawMatteText(display,&windows->widget,&reply_info);
4087 while (XCheckMaskEvent(display,ButtonMotionMask,&event)) ;
4097 XDrawBeveledButton(display,&windows->widget,&action_info);
4107 XDrawBeveledButton(display,&windows->widget,&cancel_info);
4115 XDrawMatteText(display,&windows->widget,&reply_info);
4138 status=XGetWindowProperty(display,event.xselection.requestor,
4145 (void) XBell(display,0);
4152 XEditText(display,&reply_info,(KeySym) XK_Insert,(char *) data,
4154 XDrawMatteText(display,&windows->widget,&reply_info);
4173 (void) XChangeProperty(request->display,request->requestor,
4177 notify.display=request->display;
4186 (void) XSendEvent(request->display,request->requestor,False,0,
4193 XSetCursorState(display,windows,MagickFalse);
4194 (void) XWithdrawWindow(display,windows->widget.id,windows->widget.screen);
4195 XCheckRefreshWindows(display,windows);
4221 % void XFileBrowserWidget(Display *display,XWindows *windows,
4226 % o display: Specifies a connection to an X server; returned from
4236 MagickPrivate void XFileBrowserWidget(Display *display,XWindows *windows,
4315 assert(display != (Display *) NULL);
4320 XSetCursorState(display,windows,MagickTrue);
4321 display,windows);
4331 XNoticeWidget(display,windows,"Unable to read directory:",working_path);
4332 (void) XDialogWidget(display,windows,action,"Enter filename:",reply);
4374 XConstrainWindowPosition(display,&windows->widget);
4383 XSetWMName(display,windows->widget.id,&window_name);
4384 XSetWMIconName(display,windows->widget.id,&window_name);
4391 (void) XReconfigureWMWindow(display,windows->widget.id,
4393 (void) XMapRaised(display,windows->widget.id);
4548 (void) XDrawString(display,windows->widget.id,
4556 XDrawWidgetText(display,&windows->widget,&text_info);
4557 XDrawBeveledButton(display,&windows->widget,&up_info);
4558 XDrawBeveledButton(display,&windows->widget,&home_info);
4559 XDrawBeveledMatte(display,&windows->widget,&list_info);
4560 XDrawBeveledMatte(display,&windows->widget,&scroll_info);
4561 XDrawTriangleNorth(display,&windows->widget,&north_info);
4562 XDrawBeveledButton(display,&windows->widget,&slider_info);
4563 XDrawTriangleSouth(display,&windows->widget,&south_info);
4566 (void) XDrawString(display,windows->widget.id,
4569 XDrawBeveledMatte(display,&windows->widget,&reply_info);
4570 XDrawMatteText(display,&windows->widget,&reply_info);
4571 XDrawBeveledButton(display,&windows->widget,&special_info);
4572 XDrawBeveledButton(display,&windows->widget,&action_info);
4573 XDrawBeveledButton(display,&windows->widget,&cancel_info);
4574 XHighlightWidget(display,&windows->widget,BorderOffset,BorderOffset);
4597 XDrawBeveledButton(display,&windows->widget,&action_info);
4635 XDrawWidgetText(display,&windows->widget,&text_info);
4636 XDrawMatteText(display,&windows->widget,&reply_info);
4637 XDrawBeveledMatte(display,&windows->widget,&scroll_info);
4638 XDrawTriangleNorth(display,&windows->widget,&north_info);
4639 XDrawBeveledButton(display,&windows->widget,&slider_info);
4640 XDrawTriangleSouth(display,&windows->widget,&south_info);
4641 XHighlightWidget(display,&windows->widget,BorderOffset,BorderOffset);
4691 XDrawWidgetText(display,&windows->widget,&selection_info);
4709 XDrawTriangleNorth(display,&windows->widget,&north_info);
4710 XDrawMatte(display,&windows->widget,&expose_info);
4711 XDrawBeveledButton(display,&windows->widget,&slider_info);
4712 XDrawTriangleSouth(display,&windows->widget,&south_info);
4721 (void) XIfEvent(display,&event,XScreenEvent,(char *) windows);
4727 XDelay(display,delay);
4729 (void) XCheckIfEvent(display,&event,XScreenEvent,(char *) windows);
4813 XDrawMatteText(display,&windows->widget,&reply_info);
4840 XDrawBeveledButton(display,&windows->widget,&up_info);
4849 XDrawBeveledButton(display,&windows->widget,&home_info);
4858 XDrawBeveledButton(display,&windows->widget,&special_info);
4867 XDrawBeveledButton(display,&windows->widget,&action_info);
4876 XDrawBeveledButton(display,&windows->widget,&cancel_info);
4903 (void) XSetSelectionOwner(display,XA_PRIMARY,windows->widget.id,
4905 reply_info.highlight=XGetSelectionOwner(display,XA_PRIMARY) ==
4908 XDrawMatteText(display,&windows->widget,&reply_info);
4915 (void) XConvertSelection(display,XA_PRIMARY,XA_STRING,XA_STRING,
4930 XDrawTriangleNorth(display,&windows->widget,&north_info);
4939 XDrawTriangleSouth(display,&windows->widget,&south_info);
4961 XDrawBeveledButton(display,&windows->widget,&up_info);
4973 XDrawBeveledButton(display,&windows->widget,&home_info);
4994 (void) XCheckDefineCursor(display,windows->widget.id,
4998 XListBrowserWidget(display,windows,&windows->popup,
5001 XSetCursorState(display,windows,MagickTrue);
5002 (void) XCheckDefineCursor(display,windows->widget.id,
5007 XDrawMatteText(display,&windows->widget,&reply_info);
5009 XDrawBeveledButton(display,&windows->widget,&special_info);
5022 XDrawBeveledButton(display,&windows->widget,&special_info);
5031 (void) XBell(display,0);
5037 XDrawBeveledButton(display,&windows->widget,&action_info);
5049 XDrawBeveledButton(display,&windows->widget,&cancel_info);
5062 (void) XSetInputFocus(display,event.xclient.window,RevertToParent,
5221 XEditText(display,&reply_info,key_symbol,command,state);
5222 XDrawMatteText(display,&windows->widget,&reply_info);
5263 while (XCheckMaskEvent(display,ButtonMotionMask,&event)) ;
5290 XDrawBeveledButton(display,&windows->widget,&up_info);
5299 XDrawBeveledButton(display,&windows->widget,&home_info);
5308 XDrawBeveledButton(display,&windows->widget,&special_info);
5318 XDrawBeveledButton(display,&windows->widget,&action_info);
5328 XDrawBeveledButton(display,&windows->widget,&cancel_info);
5336 XDrawMatteText(display,&windows->widget,&reply_info);
5359 status=XGetWindowProperty(display,event.xselection.requestor,
5366 (void) XBell(display,0);
5373 XEditText(display,&reply_info,(KeySym) XK_Insert,(char *) data,
5375 XDrawMatteText(display,&windows->widget,&reply_info);
5396 (void) XChangeProperty(request->display,request->requestor,
5400 notify.display=request->display;
5409 (void) XSendEvent(request->display,request->requestor,False,0,
5416 XSetCursorState(display,windows,MagickFalse);
5417 (void) XWithdrawWindow(display,windows->widget.id,windows->widget.screen);
5418 XCheckRefreshWindows(display,windows);
5455 % void XFontBrowserWidget(Display *display,XWindows *windows,
5460 % o display: Specifies a connection to an X server; returned from
5496 MagickPrivate void XFontBrowserWidget(Display *display,XWindows *windows,
5571 assert(display != (Display *) NULL);
5576 XSetCursorState(display,windows,MagickTrue);
5577 XCheckRefreshWindows(display,windows);
5580 fontlist=XListFonts(display,glob_pattern,32767,&fonts);
5586 XNoticeWidget(display,windows,"Unable to obtain fonts names:",
5589 fontlist=XListFonts(display,glob_pattern,32767,&fonts);
5592 XNoticeWidget(display,windows,"Unable to obtain fonts names:",
5604 XNoticeWidget(display,windows,"MemoryAllocationFailed",
5646 XConstrainWindowPosition(display,&windows->widget);
5655 XSetWMName(display,windows->widget.id,&window_name);
5656 XSetWMIconName(display,windows->widget.id,&window_name);
5663 (void) XReconfigureWMWindow(display,windows->widget.id,
5665 (void) XMapRaised(display,windows->widget.id);
5809 (void) XDrawString(display,windows->widget.id,
5813 XDrawWidgetText(display,&windows->widget,&text_info);
5814 XDrawBeveledButton(display,&windows->widget,&back_info);
5815 XDrawBeveledButton(display,&windows->widget,&reset_info);
5816 XDrawBeveledMatte(display,&windows->widget,&list_info);
5817 XDrawBeveledMatte(display,&windows->widget,&scroll_info);
5818 XDrawTriangleNorth(display,&windows->widget,&north_info);
5819 XDrawBeveledButton(display,&windows->widget,&slider_info);
5820 XDrawTriangleSouth(display,&windows->widget,&south_info);
5823 (void) XDrawString(display,windows->widget.id,
5826 XDrawBeveledMatte(display,&windows->widget,&reply_info);
5827 XDrawMatteText(display,&windows->widget,&reply_info);
5828 XDrawBeveledButton(display,&windows->widget,&action_info);
5829 XDrawBeveledButton(display,&windows->widget,&cancel_info);
5830 XHighlightWidget(display,&windows->widget,BorderOffset,BorderOffset);
5847 checklist=XListFonts(display,glob_pattern,32767,&number_fonts);
5859 XDrawBeveledButton(display,&windows->widget,&action_info);
5863 (void) XBell(display,0);
5875 XDrawBeveledButton(display,&windows->widget,&action_info);
5893 XNoticeWidget(display,windows,"MemoryAllocationFailed",
5918 XDrawWidgetText(display,&windows->widget,&text_info);
5919 XDrawMatteText(display,&windows->widget,&reply_info);
5920 XDrawBeveledMatte(display,&windows->widget,&scroll_info);
5921 XDrawTriangleNorth(display,&windows->widget,&north_info);
5922 XDrawBeveledButton(display,&windows->widget,&slider_info);
5923 XDrawTriangleSouth(display,&windows->widget,&south_info);
5924 XHighlightWidget(display,&windows->widget,BorderOffset,BorderOffset);
5972 XDrawWidgetText(display,&windows->widget,&selection_info);
5990 XDrawTriangleNorth(display,&windows->widget,&north_info);
5991 XDrawMatte(display,&windows->widget,&expose_info);
5992 XDrawBeveledButton(display,&windows->widget,&slider_info);
5993 XDrawTriangleSouth(display,&windows->widget,&south_info);
6004 Display the selected font in a drawing area.
6007 font_info=XLoadQueryFont(display,reply_info.text);
6011 (void) XSetFont(display,windows->widget.widget_context,
6014 XDrawBeveledButton(display,&windows->widget,&mode_info);
6018 (void) XSetFont(display,windows->widget.widget_context,
6020 (void) XFreeFont(display,font_info);
6022 XHighlightWidget(display,&windows->widget,BorderOffset,BorderOffset);
6023 XDrawMatteText(display,&windows->widget,&reply_info);
6030 (void) XIfEvent(display,&event,XScreenEvent,(char *) windows);
6036 XDelay(display,delay);
6038 (void) XCheckIfEvent(display,&event,XScreenEvent,(char *) windows);
6122 XDrawMatteText(display,&windows->widget,&reply_info);
6141 XDrawBeveledButton(display,&windows->widget,&back_info);
6150 XDrawBeveledButton(display,&windows->widget,&reset_info);
6159 XDrawBeveledButton(display,&windows->widget,&action_info);
6168 XDrawBeveledButton(display,&windows->widget,&cancel_info);
6195 (void) XSetSelectionOwner(display,XA_PRIMARY,windows->widget.id,
6197 reply_info.highlight=XGetSelectionOwner(display,XA_PRIMARY) ==
6200 XDrawMatteText(display,&windows->widget,&reply_info);
6207 (void) XConvertSelection(display,XA_PRIMARY,XA_STRING,XA_STRING,
6222 XDrawTriangleNorth(display,&windows->widget,&north_info);
6231 XDrawTriangleSouth(display,&windows->widget,&south_info);
6251 XDrawBeveledButton(display,&windows->widget,&back_info);
6263 XDrawBeveledButton(display,&windows->widget,&reset_info);
6272 (void) XBell(display,0);
6278 XDrawBeveledButton(display,&windows->widget,&action_info);
6289 XDrawBeveledButton(display,&windows->widget,&cancel_info);
6302 (void) XSetInputFocus(display,event.xclient.window,RevertToParent,
6450 XEditText(display,&reply_info,key_symbol,command,state);
6451 XDrawMatteText(display,&windows->widget,&reply_info);
6492 while (XCheckMaskEvent(display,ButtonMotionMask,&event)) ;
6519 XDrawBeveledButton(display,&windows->widget,&back_info);
6528 XDrawBeveledButton(display,&windows->widget,&reset_info);
6538 XDrawBeveledButton(display,&windows->widget,&action_info);
6548 XDrawBeveledButton(display,&windows->widget,&cancel_info);
6556 XDrawMatteText(display,&windows->widget,&reply_info);
6579 status=XGetWindowProperty(display,event.xselection.requestor,
6586 (void) XBell(display,0);
6593 XEditText(display,&reply_info,(KeySym) XK_Insert,(char *) data,
6595 XDrawMatteText(display,&windows->widget,&reply_info);
6614 (void) XChangeProperty(request->display,request->requestor,
6618 notify.display=request->display;
6627 (void) XSendEvent(request->display,request->requestor,False,0,
6634 XSetCursorState(display,windows,MagickFalse);
6635 (void) XWithdrawWindow(display,windows->widget.id,windows->widget.screen);
6636 XCheckRefreshWindows(display,windows);
6662 % void XInfoWidget(Display *display,XWindows *windows,const char *activity)
6666 % o display: Specifies a connection to an X server; returned from
6675 MagickPrivate void XInfoWidget(Display *display,XWindows *windows,
6693 assert(display != (Display *) NULL);
6708 (void) XReconfigureWMWindow(display,windows->info.id,windows->info.screen,
6713 (void) XMapRaised(display,windows->info.id);
6732 XDrawBeveledMatte(display,&windows->info,&monitor_info);
6734 XDrawWidgetText(display,&windows->info,&monitor_info);
6756 % void XListBrowserWidget(Display *display,XWindows *windows,
6762 % o display: Specifies a connection to an X server; returned from
6777 MagickPrivate void XListBrowserWidget(Display *display,XWindows *windows,
6837 assert(display != (Display *) NULL);
6845 XSetCursorState(display,windows,MagickTrue);
6846 XCheckRefreshWindows(display,windows);
6849 XNoticeWidget(display,windows,"No text to browse:",(char *) NULL);
6882 XConstrainWindowPosition(display,window_info);
6890 XSetWMName(display,window_info->id,&window_name);
6891 XSetWMIconName(display,windows->widget.id,&window_name);
6898 (void) XReconfigureWMWindow(display,window_info->id,window_info->screen,mask,
6900 (void) XMapRaised(display,window_info->id);
7027 XDrawWidgetText(display,window_info,&text_info);
7028 XDrawBeveledMatte(display,window_info,&list_info);
7029 XDrawBeveledMatte(display,window_info,&scroll_info);
7030 XDrawTriangleNorth(display,window_info,&north_info);
7031 XDrawBeveledButton(display,window_info,&slider_info);
7032 XDrawTriangleSouth(display,window_info,&south_info);
7033 XDrawBeveledMatte(display,window_info,&reply_info);
7034 XDrawMatteText(display,window_info,&reply_info);
7035 XDrawBeveledButton(display,window_info,&action_info);
7036 XDrawBeveledButton(display,window_info,&cancel_info);
7037 XHighlightWidget(display,window_info,BorderOffset,BorderOffset);
7070 XDrawWidgetText(display,window_info,&selection_info);
7088 XDrawTriangleNorth(display,window_info,&north_info);
7089 XDrawMatte(display,window_info,&expose_info);
7090 XDrawBeveledButton(display,window_info,&slider_info);
7091 XDrawTriangleSouth(display,window_info,&south_info);
7100 (void) XIfEvent(display,&event,XScreenEvent,(char *) windows);
7106 XDelay(display,delay);
7108 (void) XCheckIfEvent(display,&event,XScreenEvent,(char *) windows);
7192 XDrawMatteText(display,window_info,&reply_info);
7197 XDrawBeveledButton(display,window_info,&action_info);
7210 XDrawBeveledButton(display,window_info,&action_info);
7219 XDrawBeveledButton(display,window_info,&cancel_info);
7246 (void) XSetSelectionOwner(display,XA_PRIMARY,window_info->id,
7248 reply_info.highlight=XGetSelectionOwner(display,XA_PRIMARY) ==
7251 XDrawMatteText(display,window_info,&reply_info);
7258 (void) XConvertSelection(display,XA_PRIMARY,XA_STRING,XA_STRING,
7273 XDrawTriangleNorth(display,window_info,&north_info);
7282 XDrawTriangleSouth(display,window_info,&south_info);
7299 (void) XBell(display,0);
7305 XDrawBeveledButton(display,window_info,&action_info);
7316 XDrawBeveledButton(display,window_info,&cancel_info);
7331 (void) XSetInputFocus(display,event.xclient.window,RevertToParent,
7452 XDrawBeveledButton(display,window_info,&action_info);
7479 XEditText(display,&reply_info,key_symbol,command,state);
7480 XDrawMatteText(display,window_info,&reply_info);
7520 while (XCheckMaskEvent(display,ButtonMotionMask,&event)) ;
7548 XDrawBeveledButton(display,window_info,&action_info);
7558 XDrawBeveledButton(display,window_info,&cancel_info);
7566 XDrawMatteText(display,window_info,&reply_info);
7589 status=XGetWindowProperty(display,
7596 (void) XBell(display,0);
7603 XEditText(display,&reply_info,(KeySym) XK_Insert,(char *) data,
7605 XDrawMatteText(display,window_info,&reply_info);
7625 (void) XChangeProperty(request->display,request->requestor,
7630 notify.display=request->display;
7639 (void) XSendEvent(request->display,request->requestor,False,NoEventMask,
7646 XSetCursorState(display,windows,MagickFalse);
7647 (void) XWithdrawWindow(display,window_info->id,window_info->screen);
7648 XCheckRefreshWindows(display,windows);
7668 % int XMenuWidget(Display *display,XWindows *windows,const char *title,
7676 % o display: Specifies a connection to an X server; returned from
7690 MagickPrivate int XMenuWidget(Display *display,XWindows *windows,
7731 assert(display != (Display *) NULL);
7760 XQueryPosition(display,windows->widget.root,&x,&y);
7767 XDrawTriangleEast(display,&windows->command,&toggle_info);
7773 XConstrainWindowPosition(display,&windows->widget);
7778 (void) XChangeWindowAttributes(display,windows->widget.id,
7784 (void) XReconfigureWMWindow(display,windows->widget.id,windows->widget.screen,
7786 (void) XMapRaised(display,windows->widget.id);
7792 cursor=XCreateFontCursor(display,XC_right_ptr);
7793 (void) XCheckDefineCursor(display,windows->image.id,cursor);
7794 (void) XCheckDefineCursor(display,windows->command.id,cursor);
7795 (void) XCheckDefineCursor(display,windows->widget.id,cursor);
7830 XSetBevelColor(display,&windows->widget,MagickFalse);
7831 (void) XDrawLine(display,windows->widget.id,
7834 XSetBevelColor(display,&windows->widget,MagickTrue);
7835 (void) XDrawLine(display,windows->widget.id,
7838 (void) XSetFillStyle(display,windows->widget.widget_context,
7848 XDrawWidgetText(display,&windows->widget,&selection_info);
7854 XDrawWidgetText(display,&windows->widget,&selection_info);
7857 XDrawBevel(display,&windows->widget,&highlight_info);
7860 XDrawBevel(display,&windows->widget,&menu_info);
7869 XSetBevelColor(display,&windows->widget,MagickFalse);
7870 (void) XDrawLine(display,windows->widget.id,
7873 XSetBevelColor(display,&windows->widget,MagickTrue);
7874 (void) XDrawLine(display,windows->widget.id,
7877 (void) XSetFillStyle(display,windows->widget.widget_context,FillSolid);
7882 (void) XIfEvent(display,&event,XScreenEvent,(char *) windows);
7893 (void) XPutBackEvent(display,&event);
7909 XDrawWidgetText(display,&windows->widget,&selection_info);
7911 XDrawBevel(display,&windows->widget,&highlight_info);
7924 XSetCursorState(display,windows,MagickFalse);
7965 XDrawWidgetText(display,&windows->widget,&selection_info);
7976 XDrawWidgetText(display,&windows->widget,&selection_info);
7978 XDrawBevel(display,&windows->widget,&highlight_info);
8004 XDrawWidgetText(display,&windows->widget,&selection_info);
8012 while (XCheckMaskEvent(display,ButtonMotionMask,&event)) ;
8051 XDrawWidgetText(display,&windows->widget,&selection_info);
8061 XDrawWidgetText(display,&windows->widget,&selection_info);
8063 XDrawBevel(display,&windows->widget,&highlight_info);
8070 (void) XFreeCursor(display,cursor);
8072 (void) XChangeWindowAttributes(display,windows->widget.id,
8074 (void) XWithdrawWindow(display,windows->widget.id,windows->widget.screen);
8075 XCheckRefreshWindows(display,windows);
8080 XDrawTriangleEast(display,&windows->command,&toggle_info);
8105 % void XNoticeWidget(Display *display,XWindows *windows,
8110 % o display: Specifies a connection to an X server; returned from
8115 % o reason: Specifies the message to display before terminating the
8121 MagickPrivate void XNoticeWidget(Display *display,XWindows *windows,
8165 assert(display != (Display *) NULL);
8169 XDelay(display,SuspendTime << 3); /* avoid surpise with delay */
8170 XSetCursorState(display,windows,MagickTrue);
8171 XCheckRefreshWindows(display,windows);
8197 XConstrainWindowPosition(display,&windows->widget);
8205 XSetWMName(display,windows->widget.id,&window_name);
8206 XSetWMIconName(display,windows->widget.id,&window_name);
8213 (void) XReconfigureWMWindow(display,windows->widget.id,windows->widget.screen,
8215 (void) XMapRaised(display,windows->widget.id);
8217 (void) XBell(display,0);
8250 (void) XDrawString(display,windows->widget.id,
8257 (void) XDrawString(display,windows->widget.id,
8261 XDrawBeveledButton(display,&windows->widget,&dismiss_info);
8262 XHighlightWidget(display,&windows->widget,BorderOffset,BorderOffset);
8268 if (XCheckIfEvent(display,&event,XScreenEvent,(char *) windows) == MagickFalse)
8273 XDelay(display,SuspendTime << 2);
8286 XDrawBeveledButton(display,&windows->widget,&dismiss_info);
8301 XDrawBeveledButton(display,&windows->widget,&dismiss_info);
8314 (void) XSetInputFocus(display,event.xclient.window,RevertToParent,
8378 XDrawBeveledButton(display,&windows->widget,&dismiss_info);
8396 while (XCheckMaskEvent(display,ButtonMotionMask,&event)) ;
8406 XDrawBeveledButton(display,&windows->widget,&dismiss_info);
8415 XSetCursorState(display,windows,MagickFalse);
8416 (void) XWithdrawWindow(display,windows->widget.id,windows->widget.screen);
8417 XCheckRefreshWindows(display,windows);
8438 % MagickBooleanType XPreferencesWidget(Display *display,
8443 % o display: Specifies a connection to an X server; returned from
8451 MagickPrivate MagickBooleanType XPreferencesWidget(Display *display,
8462 "display image centered on a backdrop",
8465 "correct image for display gamma",
8466 "display warning messages",
8469 "display images as an X server pixmap"
8515 assert(display != (Display *) NULL);
8518 XCheckRefreshWindows(display,windows);
8543 XConstrainWindowPosition(display,&windows->widget);
8551 XSetWMName(display,windows->widget.id,&window_name);
8552 XSetWMIconName(display,windows->widget.id,&window_name);
8559 (void) XReconfigureWMWindow(display,windows->widget.id,windows->widget.screen,
8561 (void) XMapRaised(display,windows->widget.id);
8567 XSetCursorState(display,windows,MagickTrue);
8630 XDrawBeveledButton(display,&windows->widget,&apply_info);
8631 XDrawBeveledButton(display,&windows->widget,&cancel_info);
8633 XDrawBeveledButton(display,&windows->widget,&preferences_info[i]);
8634 XDrawTriangleEast(display,&windows->widget,&cache_info);
8635 XHighlightWidget(display,&windows->widget,BorderOffset,BorderOffset);
8641 (void) XIfEvent(display,&event,XScreenEvent,(char *) windows);
8652 XDrawBeveledButton(display,&windows->widget,&apply_info);
8661 XDrawBeveledButton(display,&windows->widget,&cancel_info);
8672 XDrawBeveledButton(display,&windows->widget,&preferences_info[i]);
8684 (void) XClearArea(display,windows->widget.id,x,y,width,height,
8692 XDrawTriangleEast(display,&windows->widget,&cache_info);
8707 XDrawBeveledButton(display,&windows->widget,&apply_info);
8716 XDrawBeveledButton(display,&windows->widget,&cancel_info);
8721 XDrawTriangleEast(display,&windows->widget,&cache_info);
8734 (void) XSetInputFocus(display,event.xclient.window,RevertToParent,
8798 XDrawBeveledButton(display,&windows->widget,&apply_info);
8816 while (XCheckMaskEvent(display,ButtonMotionMask,&event)) ;
8826 XDrawBeveledButton(display,&windows->widget,&apply_info);
8836 XDrawBeveledButton(display,&windows->widget,&cancel_info);
8845 XSetCursorState(display,windows,MagickFalse);
8846 (void) XWithdrawWindow(display,windows->widget.id,windows->widget.screen);
8847 XCheckRefreshWindows(display,windows);
8893 % void XProgressMonitorWidget(Display *display,XWindows *windows,
8899 % o display: Specifies a connection to an X server; returned from
8912 MagickPrivate void XProgressMonitorWidget(Display *display,XWindows *windows,
8921 assert(display != (Display *) NULL);
8930 while (XCheckTypedWindowEvent(display,windows->command.id,Expose,&event))
8931 (void) XCommandWidget(display,windows,(const char **) NULL,&event);
8932 while (XCheckTypedWindowEvent(display,windows->image.id,Expose,&event))
8933 XRefreshWindow(display,&windows->image,&event);
8934 while (XCheckTypedWindowEvent(display,windows->info.id,Expose,&event))
8936 XInfoWidget(display,windows,monitor_info.text);
8941 XInfoWidget(display,windows,task);
8947 XDrawWidgetText(display,&windows->info,&monitor_info);
8951 XDrawWidgetText(display,&windows->info,&monitor_info);
8952 (void) XFlush(display);
8971 % void XTextViewWidget(Display *display,const XResourceInfo *resource_info,
8977 % o display: Specifies a connection to an X server; returned from
8992 MagickPrivate void XTextViewWidget(Display *display,
9047 assert(display != (Display *) NULL);
9053 XSetCursorState(display,windows,MagickTrue);
9054 XCheckRefreshWindows(display,windows);
9057 XNoticeWidget(display,windows,"No text to view:",(char *) NULL);
9066 text_info=XBestFont(display,resource_info,MagickTrue);
9092 XConstrainWindowPosition(display,&windows->widget);
9100 XSetWMName(display,windows->widget.id,&window_name);
9101 XSetWMIconName(display,windows->widget.id,&window_name);
9108 (void) XReconfigureWMWindow(display,windows->widget.id,
9110 (void) XMapRaised(display,windows->widget.id);
9208 XDrawBeveledMatte(display,&windows->widget,&list_info);
9209 XDrawBeveledMatte(display,&windows->widget,&scroll_info);
9210 XDrawTriangleNorth(display,&windows->widget,&north_info);
9211 XDrawBeveledButton(display,&windows->widget,&slider_info);
9212 XDrawTriangleSouth(display,&windows->widget,&south_info);
9213 XDrawBeveledButton(display,&windows->widget,&dismiss_info);
9214 XHighlightWidget(display,&windows->widget,BorderOffset,BorderOffset);
9238 (void) XSetFont(display,windows->widget.annotate_context,
9240 (void) XSetFont(display,windows->widget.highlight_context,
9251 XDrawWidgetText(display,&windows->widget,&selection_info);
9255 (void) XSetFont(display,windows->widget.annotate_context,
9257 (void) XSetFont(display,windows->widget.highlight_context,
9274 XDrawTriangleNorth(display,&windows->widget,&north_info);
9275 XDrawMatte(display,&windows->widget,&expose_info);
9276 XDrawBeveledButton(display,&windows->widget,&slider_info);
9277 XDrawTriangleSouth(display,&windows->widget,&south_info);
9286 (void) XIfEvent(display,&event,XScreenEvent,(char *) windows);
9292 XDelay(display,delay);
9294 (void) XCheckIfEvent(display,&event,XScreenEvent,(char *) windows);
9368 XDrawBeveledButton(display,&windows->widget,&dismiss_info);
9404 (void) XSetSelectionOwner(display,XA_PRIMARY,windows->widget.id,
9406 if (XGetSelectionOwner(display,XA_PRIMARY) != windows->widget.id)
9426 XDrawTriangleNorth(display,&windows->widget,&north_info);
9435 XDrawTriangleSouth(display,&windows->widget,&south_info);
9451 XDrawBeveledButton(display,&windows->widget,&dismiss_info);
9464 (void) XSetInputFocus(display,event.xclient.window,RevertToParent,
9532 XDrawBeveledButton(display,&windows->widget,&dismiss_info);
9605 while (XCheckMaskEvent(display,ButtonMotionMask,&event)) ;
9633 XDrawBeveledButton(display,&windows->widget,&dismiss_info);
9659 (void) XChangeProperty(request->display,request->requestor,
9664 notify.display=request->display;
9673 (void) XSendEvent(request->display,request->requestor,False,NoEventMask,
9681 (void) XFreeFont(display,text_info);
9682 XSetCursorState(display,windows,MagickFalse);
9683 (void) XWithdrawWindow(display,windows->widget.id,windows->widget.screen);
9684 XCheckRefreshWindows(display,windows);