Home | History | Annotate | Download | only in MagickCore

Lines Matching refs:display

141     "  space  Press to display the next image in the sequence.",
143 " < Press to speed-up the display of the images. Refer to",
146 " > Press to slow the display of the images. Refer to",
149 " F1 Press to display helpful information about animate(1).",
153 " ? Press to display information about the image. Press",
251 *XMagickCommand(Display *,XResourceInfo *,XWindows *,const CommandType,
255 XSaveImage(Display *,XResourceInfo *,XWindows *,Image *,ExceptionInfo *);
293 Display
294 *display;
311 display=XOpenDisplay(image_info->server_name);
312 if (display == (Display *) NULL)
321 resource_database=XGetResourceDatabase(display,GetClientName());
328 (void) XAnimateImages(display,&resource_info,argv,1,images,exception);
332 (void) XCloseDisplay(display);
355 % Image *XMagickCommand(Display *display,XResourceInfo *resource_info,
361 % o display: Specifies a connection to an X server; returned from
378 static Image *XMagickCommand(Display *display,XResourceInfo *resource_info,
426 XFileBrowserWidget(display,windows,"Animate",filenames);
455 XSetCursorState(display,windows,MagickTrue);
456 XCheckRefreshWindows(display,windows);
477 XSetCursorState(display,windows,MagickFalse);
514 XSetWMName(display,windows->image.id,&window_name);
551 status=XSaveImage(display,resource_info,windows,*image,exception);
561 XNoticeWidget(display,windows,"Unable to save file:",message);
592 XDisplayImageInfo(display,resource_info,windows,(Image *) NULL,*image,
601 XTextViewWidget(display,resource_info,windows,MagickFalse,
617 root_window=XRootWindow(display,XDefaultScreen(display));
618 mozilla_atom=XInternAtom(display,"_MOZILLA_VERSION",MagickFalse);
619 mozilla_window=XWindowByProperty(display,root_window,mozilla_atom);
627 Display documentation using Netscape remote control.
633 mozilla_atom=XInternAtom(display,"_MOZILLA_COMMAND",MagickFalse);
634 (void) XChangeProperty(display,mozilla_window,mozilla_atom,
637 XSetCursorState(display,windows,MagickFalse);
640 XSetCursorState(display,windows,MagickTrue);
641 XCheckRefreshWindows(display,windows);
645 XNoticeWidget(display,windows,"Unable to browse documentation",
647 XDelay(display,1500);
648 XSetCursorState(display,windows,MagickFalse);
653 XNoticeWidget(display,windows,GetMagickVersion((size_t *) NULL),
663 XClientMessage(display,windows->image.id,windows->im_protocols,
673 status=XConfirmWidget(display,windows,"Do you really want to exit",
676 XClientMessage(display,windows->image.id,windows->im_protocols,
704 % void XAnimateBackgroundImage(Display *display,
709 % o display: Specifies a connection to an X server; returned from
739 MagickExport void XAnimateBackgroundImage(Display *display,
809 root_window=XRootWindow(display,XDefaultScreen(display));
815 window_info.id=XWindowByID(display,root_window,
819 XWindowByName(display,root_window,resources.window_id);
830 window_attributes.width=XDisplayWidth(display,XDefaultScreen(display));
831 window_attributes.height=XDisplayHeight(display,XDefaultScreen(display));
833 status=XGetWindowAttributes(display,window_info.id,&window_attributes) != 0 ?
854 visual_info=XBestVisualInfo(display,map_info,&resources);
870 XDestroyWindowColors(display,root_window);
937 XMakeStandardColormap(display,visual_info,&resources,display_image,map_info,
944 pixel.annotate_context=XCreateGC(display,window_info.id,(unsigned long)
952 XGetWindowInfo(display,visual_info,map_info,&pixel,(XFontStruct *) NULL,
975 status=XMakeImage(display,&resources,&window_info,image_list[0],
1033 flags=XWMGeometry(display,visual_info->screen,resources.image_geometry,
1046 window_info.pixmap=XCreatePixmap(display,window_info.id,(unsigned int) width,
1052 Display pixmap on the window.
1056 (void) XFillRectangle(display,window_info.pixmap,
1059 (void) XPutImage(display,window_info.pixmap,window_info.annotate_context,
1062 (void) XSetWindowBackgroundPixmap(display,window_info.id,window_info.pixmap);
1063 (void) XClearWindow(display,window_info.id);
1092 XGetPixelInfo(display,visual_info,map_info,&resources,
1100 status=XMakeImage(display,&resources,&window_info,image_list[scene],
1119 window_info.pixmap=XCreatePixmap(display,window_info.id,width,height,
1125 Display pixmap on the window.
1128 (void) XFillRectangle(display,window_info.pixmap,
1130 (void) XPutImage(display,window_info.pixmap,window_info.annotate_context,
1133 (void) XSetWindowBackgroundPixmap(display,window_info.id,
1135 (void) XClearWindow(display,window_info.id);
1139 (void) XClearWindow(display,window_info.id);
1142 XDelay(display,resources.delay*(delay == 0 ? 10 : delay));
1146 Display pixmap on the window.
1148 (void) XSelectInput(display,window_info.id,SubstructureNotifyMask);
1154 if (XEventsQueued(display,QueuedAfterFlush) > 0)
1156 (void) XNextEvent(display,&event);
1162 (void) XSetWindowBackgroundPixmap(display,window_info.id,
1164 (void) XClearWindow(display,window_info.id);
1165 (void) XSync(display,MagickFalse);
1168 XDelay(display,resources.delay*(delay == 0 ? 10 : delay));
1171 (void) XSync(display,MagickFalse);
1192 % Image *XAnimateImages(Display *display,XResourceInfo *resource_info,
1197 % o display: Specifies a connection to an X server; returned from
1211 MagickExport Image *XAnimateImages(Display *display,
1455 windows=XSetWindows(XInitializeWindows(display,resource_info));
1477 (void) XFreeFont(display,windows->font_info);
1478 windows->font_info=XBestFont(display,resource_info,MagickFalse);
1495 root_window=XRootWindow(display,visual_info->screen);
1570 XMakeStandardColormap(display,visual_info,resource_info,display_image,
1576 XGetWindowInfo(display,visual_info,map_info,pixel,font_info,
1584 XMakeWindow(display
1596 (void) XFreeGC(display,pixel->annotate_context);
1598 XCreateGC(display,windows->context.id,context_mask,&context_values);
1604 (void) XFreeGC(display,pixel->widget_context);
1606 XCreateGC(display,windows->context.id,context_mask,&context_values);
1615 (void) XFreeGC(display,pixel->highlight_context);
1616 pixel->highlight_context=XCreateGC(display,windows->context.id,
1621 (void) XDestroyWindow(display,windows->context.id);
1625 XGetWindowInfo(display,icon_visual,icon_map,icon_pixel,(XFontStruct *) NULL,
1628 XBestIconSize(display,&windows->icon,display_image);
1630 XDefaultColormap(display,icon_visual->screen);
1635 XMakeWindow(display,root_window,argv,argc,class_hints,manager_hints,
1644 (void) XFreeGC(display,icon_pixel->annotate_context);
1647 icon_pixel->annotate_context=XCreateGC(display,windows->icon.id,
1656 XGetWindowInfo(display,visual_info,map_info,pixel,font_info,
1691 XDisplayWidth(display,visual_info->screen),
1692 XDisplayHeight(display,visual_info->screen));
1705 XGetWindowInfo(display,visual_info,map_info,pixel,font_info,
1717 XDisplayWidth(display,visual_info->screen);
1719 XDisplayHeight(display,visual_info->screen);
1731 XMakeWindow(display,root_window,argv,argc,class_hints,manager_hints,
1736 (void) XMapWindow(display,windows->backdrop.id);
1737 (void) XClearWindow(display,windows->backdrop.id);
1740 (void) XDestroyWindow(display,windows->image.id);
1747 windows->image.x=(XDisplayWidth(display,visual_info->screen)/2)-
1749 windows->image.y=(XDisplayHeight(display,visual_info->screen)/2)-
1764 (void) XSelectInput(display,windows->group_leader.id,StructureNotifyMask);
1769 XMakeWindow(display,
1772 (void) XChangeProperty(display,windows->image.id,windows->im_protocols,
1775 (void) XSetTransientForHint(display,windows->image.id,
1783 XGetWindowInfo(display,visual_info,map_info,pixel,font_info,
1798 XMakeWindow(display,windows->image.id,argv,argc,class_hints,manager_hints,
1800 windows->info.highlight_stipple=XCreateBitmapFromData(display,
1802 windows->info.shadow_stipple=XCreateBitmapFromData(display,
1804 (void) XSetTransientForHint(display,windows->info.id,windows->image.id);
1806 (void) XWithdrawWindow(display,windows->info.id,windows->info.screen);
1813 XGetWindowInfo(display,visual_info,map_info,pixel,font_info,
1816 (void) XCommandWidget(display,windows,CommandMenu,(XEvent *) NULL);
1831 XMakeWindow(display,root_window,argv,argc,class_hints,manager_hints,
1833 windows->command.highlight_stipple=XCreateBitmapFromData(display,
1836 windows->command.shadow_stipple=XCreateBitmapFromData(display,
1838 (void) XSetTransientForHint(display,windows->command.id,windows->image.id);
1845 XGetWindowInfo(display,visual_info,map_info,pixel,font_info,
1861 XMakeWindow(display,root_window,argv,argc,class_hints,manager_hints,
1863 windows->widget.highlight_stipple=XCreateBitmapFromData(display,
1865 windows->widget.shadow_stipple=XCreateBitmapFromData(display,
1867 (void) XSetTransientForHint(display,windows->widget.id,windows->image.id);
1874 XGetWindowInfo(display,visual_info,map_info,pixel,font_info,
1885 XMakeWindow(display,root_window,argv,argc,class_hints,manager_hints,
1887 windows->popup.highlight_stipple=XCreateBitmapFromData(display,
1889 windows->popup.shadow_stipple=XCreateBitmapFromData(display,
1891 (void) XSetTransientForHint(display,windows->popup.id,windows->image.id);
1915 (void) XReconfigureWMWindow(display,windows->image.id,windows->command.screen,
1927 (void) XMapWindow(display,windows->image.id);
1928 XSetCursorState(display,windows,MagickTrue);
1944 XGetPixelInfo(display,visual_info,map_info,resource_info,
1952 status=XMakeImage(display,resource_info,&windows->image,image_list[scene],
1994 XSetWMName(display,windows->image.id,&window_name);
2005 XRefreshWindow(display,&windows->image,&event);
2006 (void) XSync(display,MagickFalse);
2009 XSetCursorState(display,windows,MagickFalse);
2011 (void) XMapRaised(display,windows->command.id);
2021 (void) XMagickCommand(display,resource_info,windows,PlayCommand,&images,
2025 if (XEventsQueued(display,QueuedAfterFlush) == 0)
2033 XDelay(display,resource_info->delay*(delay == 0 ? 10 : delay));
2124 XSetWMName(display,windows->image.id,&window_name);
2131 XGetPixelInfo(display,visual_info,map_info,resource_info,
2143 XRefreshWindow(display,&windows->image,&event);
2144 (void) XSync(display,MagickFalse);
2153 status=XCheckTypedWindowEvent(display,windows->image.id,KeyPress,
2165 XClientMessage(display,windows->image.id,
2178 (void) XNextEvent(display,&event);
2190 id=XCommandWidget(display,windows,CommandMenu,&event);
2203 entry=XMenuWidget(display,windows,CommandMenu[id],Menus[id],
2211 nexus=XMagickCommand(display,resource_info,windows,
2234 (void) XSetInputFocus(display,event.xbutton.window,RevertToParent,
2249 (void) XWithdrawWindow(display,windows->command.id,
2253 (void) XCommandWidget(display,windows,CommandMenu,
2255 (void) XMapRaised(display,windows->command.id);
2288 (void) XChangeGC(display,magick_windows[i]->annotate_context,
2290 (void) XChangeGC(display,magick_windows[i]->widget_context,
2296 (void) XChangeGC(display,magick_windows[i]->highlight_context,
2304 (void) XChangeWindowAttributes(display,magick_windows[i]->id,
2309 (void) XInstallColormap(display,map_info->colormap);
2337 Display image named by the Drag-and-Drop selection.
2341 selection=XInternAtom(display,"DndSelection",MagickFalse);
2342 status=XGetWindowProperty(display,root_window,selection,0L,2047L,
2382 (void) XSetInputFocus(display
2388 (void) XWithdrawWindow(display,event.xclient.window,
2420 XConstrainWindowPosition(display,&windows->command);
2423 (void) XReconfigureWMWindow(display,windows->command.id,
2434 XConstrainWindowPosition(display,&windows->widget);
2437 (void) XReconfigureWMWindow(display,windows->widget.id,
2480 if (map_info->colormap != XDefaultColormap(display,visual_info->screen))
2482 XInstallColormap(display,map_info->colormap);
2499 XRefreshWindow(display,&windows->image,&event);
2505 XRefreshWindow(display,&windows->icon,&event);
2579 nexus=XMagickCommand(display,resource_info,windows,
2600 if (map_info->colormap != XDefaultColormap(display,visual_info->screen))
2602 XUninstallColormap(display,map_info->colormap);
2612 (void) XSetInputFocus(display,event.xmap.window,RevertToParent,
2620 (void) XInstallColormap(display,map_info->colormap);
2624 nexus=XMagickCommand(display,resource_info,windows,
2642 XMakeStandardColormap(display,icon_visual,icon_resources,
2644 (void) XMakeImage(display,icon_resources,&windows->icon,
2647 (void) XSetWindowBackgroundPixmap(display,windows->icon.id,
2649 (void) XClearWindow(display,windows->icon.id);
2650 (void) XWithdrawWindow(display,windows->info.id,
2703 Display image named by the remote command protocol.
2705 status=XGetWindowProperty(display,event.xproperty.window,
2750 XConfigureImageColormap(display,resource_info,windows,
2752 (void) XFreeStandardColormap(display,icon_visual,icon_map,
2765 (void) XSetInputFocus(display,windows->image.id,RevertToParent,
2773 (void) XSetInputFocus(display,windows->image.id,RevertToParent,
2800 (void) XWithdrawWindow(display,windows->info.id,windows->info.screen);
2802 (void) XWithdrawWindow(display,windows->command.id,
2808 (void) XWithdrawWindow(display,windows->backdrop.id,\
2810 (void) XDestroyWindow(display,windows->backdrop.id);
2812 (void) XWithdrawWindow(display,windows->image.id,windows->image.screen);
2813 (void) XDestroyWindow(display,windows->image.id);
2816 XSetCursorState(display,windows,MagickTrue);
2817 XCheckRefreshWindows(display,windows);
2821 (void) XFreePixmap(display,windows->image.pixmaps[scene]);
2824 (void) XFreePixmap(display,windows->image.matte_pixmaps[scene]);
2827 XSetCursorState(display,windows,MagickFalse);
2838 (void) XWithdrawWindow(display,windows->image.id,windows->image.screen);
2839 XDelay(display,SuspendTime);
2840 (void) XFreeStandardColormap(display,icon_visual,icon_map,icon_pixel);
2842 (void) XFreeStandardColormap(display,visual_info,map_info,pixel);
2845 (void) XSync(display,MagickFalse);
2881 % MagickBooleanType XSaveImage(Display *display,
2891 % o display: Specifies a connection to an X server; returned from
2901 static MagickBooleanType XSaveImage(Display *display,
2937 XFileBrowserWidget(display,windows,"Save",filename);
2948 status=XConfirmWidget(display,windows,"Overwrite",filename);
2969 status=XDialogWidget(display,windows,"Save","Enter JPEG quality:",
2993 XListBrowserWidget(display,windows,&windows->widget,PageSizes,"Select",
3006 XSetCursorState(display,windows,MagickFalse);