Lines Matching full:windows

348 %        XWindows *windows,const CommandType command_type,Image **image,
358 % o windows: Specifies a pointer to a XWindows structure.
371 XWindows *windows,const CommandType command_type,Image **image, in XMagickCommand() argument
418 XFileBrowserWidget(display,windows,"Animate",filenames); in XMagickCommand()
450 XSetCursorState(display,windows,MagickTrue); in XMagickCommand()
451 XCheckRefreshWindows(display,windows); in XMagickCommand()
472 XSetCursorState(display,windows,MagickFalse); in XMagickCommand()
494 (void) FormatLocaleString(windows->image.name,MagickPathExtent, in XMagickCommand()
503 (void) CopyMagickString(windows->image.name,title,MagickPathExtent); in XMagickCommand()
506 status=XStringListToTextProperty(&windows->image.name,1,&window_name); in XMagickCommand()
509 XSetWMName(display,windows->image.id,&window_name); in XMagickCommand()
546 status=XSaveImage(display,resource_info,windows,*image,exception); in XMagickCommand()
556 XNoticeWidget(display,windows,"Unable to save file:",message); in XMagickCommand()
587 XDisplayImageInfo(display,resource_info,windows,(Image *) NULL,*image, in XMagickCommand()
596 XTextViewWidget(display,resource_info,windows,MagickFalse, in XMagickCommand()
632 XSetCursorState(display,windows,MagickFalse); in XMagickCommand()
635 XSetCursorState(display,windows,MagickTrue); in XMagickCommand()
636 XCheckRefreshWindows(display,windows); in XMagickCommand()
640 XNoticeWidget(display,windows,"Unable to browse documentation", in XMagickCommand()
643 XSetCursorState(display,windows,MagickFalse); in XMagickCommand()
648 XNoticeWidget(display,windows,GetMagickVersion((size_t *) NULL), in XMagickCommand()
658 XClientMessage(display,windows->image.id,windows->im_protocols, in XMagickCommand()
659 windows->im_exit,CurrentTime); in XMagickCommand()
668 status=XConfirmWidget(display,windows,"Do you really want to exit", in XMagickCommand()
671 XClientMessage(display,windows->image.id,windows->im_protocols, in XMagickCommand()
672 windows->im_exit,CurrentTime); in XMagickCommand()
1408 *windows; in XAnimateImages() local
1418 windows=XSetWindows((XWindows *) ~0); in XAnimateImages()
1419 if (windows != (XWindows *) NULL) in XAnimateImages()
1453 windows=XSetWindows(XInitializeWindows(display,resource_info)); in XAnimateImages()
1454 if (windows == (XWindows *) NULL) in XAnimateImages()
1461 magick_windows[number_windows++]=(&windows->icon); in XAnimateImages()
1462 magick_windows[number_windows++]=(&windows->backdrop); in XAnimateImages()
1463 magick_windows[number_windows++]=(&windows->image); in XAnimateImages()
1464 magick_windows[number_windows++]=(&windows->info); in XAnimateImages()
1465 magick_windows[number_windows++]=(&windows->command); in XAnimateImages()
1466 magick_windows[number_windows++]=(&windows->widget); in XAnimateImages()
1467 magick_windows[number_windows++]=(&windows->popup); in XAnimateImages()
1474 if (windows->font_info != (XFontStruct *) NULL) in XAnimateImages()
1475 (void) XFreeFont(display,windows->font_info); in XAnimateImages()
1476 windows->font_info=XBestFont(display,resource_info,MagickFalse); in XAnimateImages()
1477 if (windows->font_info == (XFontStruct *) NULL) in XAnimateImages()
1483 map_info=windows->map_info; in XAnimateImages()
1484 icon_map=windows->icon_map; in XAnimateImages()
1485 visual_info=windows->visual_info; in XAnimateImages()
1486 icon_visual=windows->icon_visual; in XAnimateImages()
1487 pixel=windows->pixel_info; in XAnimateImages()
1488 icon_pixel=windows->icon_pixel; in XAnimateImages()
1489 font_info=windows->font_info; in XAnimateImages()
1490 icon_resources=windows->icon_resources; in XAnimateImages()
1491 class_hints=windows->class_hints; in XAnimateImages()
1492 manager_hints=windows->manager_hints; in XAnimateImages()
1573 windows->context.id=(Window) NULL; in XAnimateImages()
1575 resource_info,&windows->context); in XAnimateImages()
1584 &windows->context); in XAnimateImages()
1587 "Window id: 0x%lx (context)",windows->context.id); in XAnimateImages()
1597 XCreateGC(display,windows->context.id,context_mask,&context_values); in XAnimateImages()
1605 XCreateGC(display,windows->context.id,context_mask,&context_values); in XAnimateImages()
1615 pixel->highlight_context=XCreateGC(display,windows->context.id, in XAnimateImages()
1620 (void) XDestroyWindow(display,windows->context.id); in XAnimateImages()
1625 icon_resources,&windows->icon); in XAnimateImages()
1626 windows->icon.geometry=resource_info->icon_geometry; in XAnimateImages()
1627 XBestIconSize(display,&windows->icon,display_image); in XAnimateImages()
1628 windows->icon.attributes.colormap= in XAnimateImages()
1630 windows->icon.attributes.event_mask=ExposureMask | StructureNotifyMask; in XAnimateImages()
1635 &windows->icon); in XAnimateImages()
1638 windows->icon.id); in XAnimateImages()
1646 icon_pixel->annotate_context=XCreateGC(display,windows->icon.id, in XAnimateImages()
1651 windows->icon.annotate_context=icon_pixel->annotate_context; in XAnimateImages()
1656 resource_info,&windows->image); in XAnimateImages()
1657 windows->image.shape=MagickTrue; /* non-rectangular shape hint */ in XAnimateImages()
1659 windows->image.shared_memory=MagickFalse; in XAnimateImages()
1667 (void) CopyMagickString(windows->image.name,title,MagickPathExtent); in XAnimateImages()
1668 (void) CopyMagickString(windows->image.icon_name,title,MagickPathExtent); in XAnimateImages()
1680 (void) FormatLocaleString(windows->image.name,MagickPathExtent, in XAnimateImages()
1683 (void) CopyMagickString(windows->image.icon_name,filename,MagickPathExtent); in XAnimateImages()
1686 windows->image.immutable=MagickTrue; in XAnimateImages()
1687 windows->image.shape=MagickTrue; in XAnimateImages()
1688 windows->image.geometry=resource_info->image_geometry; in XAnimateImages()
1698 windows->image.width=(unsigned int) geometry_info.width; in XAnimateImages()
1699 windows->image.height=(unsigned int) geometry_info.height; in XAnimateImages()
1700 windows->image.attributes.event_mask=ButtonMotionMask | ButtonPressMask | in XAnimateImages()
1705 resource_info,&windows->backdrop); in XAnimateImages()
1706 if ((resource_info->backdrop) || (windows->backdrop.id != (Window) NULL)) in XAnimateImages()
1711 windows->backdrop.x=0; in XAnimateImages()
1712 windows->backdrop.y=0; in XAnimateImages()
1713 (void) CloneString(&windows->backdrop.name,"ImageMagick Backdrop"); in XAnimateImages()
1714 windows->backdrop.flags=(size_t) (USSize | USPosition); in XAnimateImages()
1715 windows->backdrop.width=(unsigned int) in XAnimateImages()
1717 windows->backdrop.height=(unsigned int) in XAnimateImages()
1719 windows->backdrop.border_width=0; in XAnimateImages()
1720 windows->backdrop.immutable=MagickTrue; in XAnimateImages()
1721 windows->backdrop.attributes.do_not_propagate_mask=ButtonPressMask | in XAnimateImages()
1723 windows->backdrop.attributes.event_mask=ButtonPressMask | KeyPressMask | in XAnimateImages()
1726 manager_hints->icon_window=windows->icon.id; in XAnimateImages()
1731 &windows->backdrop); in XAnimateImages()
1734 "Window id: 0x%lx (backdrop)",windows->backdrop.id); in XAnimateImages()
1735 (void) XMapWindow(display,windows->backdrop.id); in XAnimateImages()
1736 (void) XClearWindow(display,windows->backdrop.id); in XAnimateImages()
1737 if (windows->image.id != (Window) NULL) in XAnimateImages()
1739 (void) XDestroyWindow(display,windows->image.id); in XAnimateImages()
1740 windows->image.id=(Window) NULL; in XAnimateImages()
1745 windows->image.flags|=USPosition; in XAnimateImages()
1746 windows->image.x=(XDisplayWidth(display,visual_info->screen)/2)- in XAnimateImages()
1747 (windows->image.width/2); in XAnimateImages()
1748 windows->image.y=(XDisplayHeight(display,visual_info->screen)/2)- in XAnimateImages()
1749 (windows->image.height/2); in XAnimateImages()
1752 manager_hints->icon_window=windows->icon.id; in XAnimateImages()
1756 if (windows->group_leader.id != (Window) NULL) in XAnimateImages()
1762 manager_hints->window_group=windows->group_leader.id; in XAnimateImages()
1763 (void) XSelectInput(display,windows->group_leader.id,StructureNotifyMask); in XAnimateImages()
1766 "Window id: 0x%lx (group leader)",windows->group_leader.id); in XAnimateImages()
1769 (Window) (resource_info->backdrop ? windows->backdrop.id : root_window), in XAnimateImages()
1770 argv,argc,class_hints,manager_hints,&windows->image); in XAnimateImages()
1771 (void) XChangeProperty(display,windows->image.id,windows->im_protocols, in XAnimateImages()
1773 if (windows->group_leader.id != (Window) NULL) in XAnimateImages()
1774 (void) XSetTransientForHint(display,windows->image.id, in XAnimateImages()
1775 windows->group_leader.id); in XAnimateImages()
1778 windows->image.id); in XAnimateImages()
1783 resource_info,&windows->info); in XAnimateImages()
1784 (void) CloneString(&windows->info.name,"Info"); in XAnimateImages()
1785 (void) CloneString(&windows->info.icon_name,"Info"); in XAnimateImages()
1786 windows->info.border_width=1; in XAnimateImages()
1787 windows->info.x=2; in XAnimateImages()
1788 windows->info.y=2; in XAnimateImages()
1789 windows->info.flags|=PPosition; in XAnimateImages()
1790 windows->info.attributes.win_gravity=UnmapGravity; in XAnimateImages()
1791 windows->info.attributes.event_mask=ButtonPressMask | ExposureMask | in XAnimateImages()
1796 manager_hints->window_group=windows->image.id; in XAnimateImages()
1797 XMakeWindow(display,windows->image.id,argv,argc,class_hints,manager_hints, in XAnimateImages()
1798 &windows->info); in XAnimateImages()
1799 windows->info.highlight_stipple=XCreateBitmapFromData(display, in XAnimateImages()
1800 windows->info.id,(char *) HighlightBitmap,HighlightWidth,HighlightHeight); in XAnimateImages()
1801 windows->info.shadow_stipple=XCreateBitmapFromData(display, in XAnimateImages()
1802 windows->info.id,(char *) ShadowBitmap,ShadowWidth,ShadowHeight); in XAnimateImages()
1803 (void) XSetTransientForHint(display,windows->info.id,windows->image.id); in XAnimateImages()
1804 if (windows->image.mapped) in XAnimateImages()
1805 (void) XWithdrawWindow(display,windows->info.id,windows->info.screen); in XAnimateImages()
1808 windows->info.id); in XAnimateImages()
1813 resource_info,&windows->command); in XAnimateImages()
1814 windows->command.data=MagickMenus; in XAnimateImages()
1815 (void) XCommandWidget(display,windows,CommandMenu,(XEvent *) NULL); in XAnimateImages()
1818 windows->command.geometry=XGetResourceClass(resource_info->resource_database, in XAnimateImages()
1820 (void) CloneString(&windows->command.name,MagickTitle); in XAnimateImages()
1821 windows->command.border_width=0; in XAnimateImages()
1822 windows->command.flags|=PPosition; in XAnimateImages()
1823 windows->command.attributes.event_mask=ButtonMotionMask | ButtonPressMask | in XAnimateImages()
1829 manager_hints->window_group=windows->image.id; in XAnimateImages()
1831 &windows->command); in XAnimateImages()
1832 windows->command.highlight_stipple=XCreateBitmapFromData(display, in XAnimateImages()
1833 windows->command.id,(char *) HighlightBitmap,HighlightWidth, in XAnimateImages()
1835 windows->command.shadow_stipple=XCreateBitmapFromData(display, in XAnimateImages()
1836 windows->command.id,(char *) ShadowBitmap,ShadowWidth,ShadowHeight); in XAnimateImages()
1837 (void) XSetTransientForHint(display,windows->command.id,windows->image.id); in XAnimateImages()
1840 "Window id: 0x%lx (command)",windows->command.id); in XAnimateImages()
1845 resource_info,&windows->widget); in XAnimateImages()
1848 windows->widget.geometry=XGetResourceClass(resource_info->resource_database, in XAnimateImages()
1850 windows->widget.border_width=0; in XAnimateImages()
1851 windows->widget.flags|=PPosition; in XAnimateImages()
1852 windows->widget.attributes.event_mask=ButtonMotionMask | ButtonPressMask | in XAnimateImages()
1859 manager_hints->window_group=windows->image.id; in XAnimateImages()
1861 &windows->widget); in XAnimateImages()
1862 windows->widget.highlight_stipple=XCreateBitmapFromData(display, in XAnimateImages()
1863 windows->widget.id,(char *) HighlightBitmap,HighlightWidth,HighlightHeight); in XAnimateImages()
1864 windows->widget.shadow_stipple=XCreateBitmapFromData(display, in XAnimateImages()
1865 windows->widget.id,(char *) ShadowBitmap,ShadowWidth,ShadowHeight); in XAnimateImages()
1866 (void) XSetTransientForHint(display,windows->widget.id,windows->image.id); in XAnimateImages()
1869 "Window id: 0x%lx (widget)",windows->widget.id); in XAnimateImages()
1874 resource_info,&windows->popup); in XAnimateImages()
1875 windows->popup.border_width=0; in XAnimateImages()
1876 windows->popup.flags|=PPosition; in XAnimateImages()
1877 windows->popup.attributes.event_mask=ButtonMotionMask | ButtonPressMask | in XAnimateImages()
1883 manager_hints->window_group=windows->image.id; in XAnimateImages()
1885 &windows->popup); in XAnimateImages()
1886 windows->popup.highlight_stipple=XCreateBitmapFromData(display, in XAnimateImages()
1887 windows->popup.id,(char *) HighlightBitmap,HighlightWidth,HighlightHeight); in XAnimateImages()
1888 windows->popup.shadow_stipple=XCreateBitmapFromData(display, in XAnimateImages()
1889 windows->popup.id,(char *) ShadowBitmap,ShadowWidth,ShadowHeight); in XAnimateImages()
1890 (void) XSetTransientForHint(display,windows->popup.id,windows->image.id); in XAnimateImages()
1893 "Window id: 0x%lx (pop up)",windows->popup.id); in XAnimateImages()
1907 windows->image.x=0; in XAnimateImages()
1908 windows->image.y=0; in XAnimateImages()
1912 window_changes.width=(int) windows->image.width; in XAnimateImages()
1913 window_changes.height=(int) windows->image.height; in XAnimateImages()
1914 (void) XReconfigureWMWindow(display,windows->image.id,windows->command.screen, in XAnimateImages()
1916 windows->image.pixmaps=(Pixmap *) AcquireQuantumMemory(number_scenes, in XAnimateImages()
1917 sizeof(*windows->image.pixmaps)); in XAnimateImages()
1918 windows->image.matte_pixmaps=(Pixmap *) AcquireQuantumMemory(number_scenes, in XAnimateImages()
1919 sizeof(*windows->image.pixmaps)); in XAnimateImages()
1920 if ((windows->image.pixmaps == (Pixmap *) NULL) || in XAnimateImages()
1921 (windows->image.matte_pixmaps == (Pixmap *) NULL)) in XAnimateImages()
1924 if ((windows->image.mapped == MagickFalse) || in XAnimateImages()
1925 (windows->backdrop.id != (Window) NULL)) in XAnimateImages()
1926 (void) XMapWindow(display,windows->image.id); in XAnimateImages()
1927 XSetCursorState(display,windows,MagickTrue); in XAnimateImages()
1937 windows->image.pixmap=(Pixmap) NULL; in XAnimateImages()
1938 windows->image.matte_pixmap=(Pixmap) NULL; in XAnimateImages()
1944 image_list[scene],windows->image.pixel_info); in XAnimateImages()
1951 status=XMakeImage(display,resource_info,&windows->image,image_list[scene], in XAnimateImages()
1977 (void) CopyMagickString(windows->image.name,title,MagickPathExtent); in XAnimateImages()
1986 (void) FormatLocaleString(windows->image.name,MagickPathExtent, in XAnimateImages()
1990 status=XStringListToTextProperty(&windows->image.name,1,&window_name); in XAnimateImages()
1993 XSetWMName(display,windows->image.id,&window_name); in XAnimateImages()
1996 windows->image.pixmaps[scene]=windows->image.pixmap; in XAnimateImages()
1997 windows->image.matte_pixmaps[scene]=windows->image.matte_pixmap; in XAnimateImages()
2004 XRefreshWindow(display,&windows->image,&event); in XAnimateImages()
2008 XSetCursorState(display,windows,MagickFalse); in XAnimateImages()
2009 if (windows->command.mapped) in XAnimateImages()
2010 (void) XMapRaised(display,windows->command.id); in XAnimateImages()
2020 (void) XMagickCommand(display,resource_info,windows,PlayCommand,&images, in XAnimateImages()
2105 (void) FormatLocaleString(windows->image.name,MagickPathExtent, in XAnimateImages()
2115 (void) CopyMagickString(windows->image.name,title, in XAnimateImages()
2119 status=XStringListToTextProperty(&windows->image.name,1, in XAnimateImages()
2123 XSetWMName(display,windows->image.id,&window_name); in XAnimateImages()
2131 image_list[scene],windows->image.pixel_info); in XAnimateImages()
2132 windows->image.ximage->width=(int) image->columns; in XAnimateImages()
2133 windows->image.ximage->height=(int) image->rows; in XAnimateImages()
2134 windows->image.pixmap=windows->image.pixmaps[scene]; in XAnimateImages()
2135 windows->image.matte_pixmap=windows->image.matte_pixmaps[scene]; in XAnimateImages()
2142 XRefreshWindow(display,&windows->image,&event); in XAnimateImages()
2152 status=XCheckTypedWindowEvent(display,windows->image.id,KeyPress, in XAnimateImages()
2164 XClientMessage(display,windows->image.id, in XAnimateImages()
2165 windows->im_protocols,windows->im_exit,CurrentTime); in XAnimateImages()
2178 if (windows->image.stasis == MagickFalse) in XAnimateImages()
2179 windows->image.stasis=(time((time_t *) NULL)-timestamp) > 0 ? in XAnimateImages()
2181 if (event.xany.window == windows->command.id) in XAnimateImages()
2189 id=XCommandWidget(display,windows,CommandMenu,&event); in XAnimateImages()
2202 entry=XMenuWidget(display,windows,CommandMenu[id],Menus[id], in XAnimateImages()
2210 nexus=XMagickCommand(display,resource_info,windows, in XAnimateImages()
2231 if (event.xbutton.window == windows->backdrop.id) in XAnimateImages()
2237 if (event.xbutton.window == windows->image.id) in XAnimateImages()
2247 if (windows->command.mapped) in XAnimateImages()
2248 (void) XWithdrawWindow(display,windows->command.id, in XAnimateImages()
2249 windows->command.screen); in XAnimateImages()
2252 (void) XCommandWidget(display,windows,CommandMenu, in XAnimateImages()
2254 (void) XMapRaised(display,windows->command.id); in XAnimateImages()
2274 if (event.xclient.message_type == windows->im_protocols) in XAnimateImages()
2276 if (*event.xclient.data.l == (long) windows->im_update_colormap) in XAnimateImages()
2283 if (magick_windows[i]->id == windows->icon.id) in XAnimateImages()
2307 if (windows->backdrop.id != (Window) NULL) in XAnimateImages()
2311 if (*event.xclient.data.l == (long) windows->im_exit) in XAnimateImages()
2318 if (event.xclient.message_type == windows->dnd_protocols) in XAnimateImages()
2377 if (event.xclient.message_type != windows->wm_protocols) in XAnimateImages()
2379 if (*event.xclient.data.l == (long) windows->wm_take_focus) in XAnimateImages()
2385 if (*event.xclient.data.l != (long) windows->wm_delete_window) in XAnimateImages()
2389 if (event.xclient.window == windows->image.id) in XAnimateImages()
2403 if (event.xconfigure.window == windows->image.id) in XAnimateImages()
2411 Position the transient windows relative of the Image window. in XAnimateImages()
2413 if (windows->command.geometry == (char *) NULL) in XAnimateImages()
2414 if (windows->command.mapped == MagickFalse) in XAnimateImages()
2416 windows->command.x= in XAnimateImages()
2417 event.xconfigure.x-windows->command.width-25; in XAnimateImages()
2418 windows->command.y=event.xconfigure.y; in XAnimateImages()
2419 XConstrainWindowPosition(display,&windows->command); in XAnimateImages()
2420 window_changes.x=windows->command.x; in XAnimateImages()
2421 window_changes.y=windows->command.y; in XAnimateImages()
2422 (void) XReconfigureWMWindow(display,windows->command.id, in XAnimateImages()
2423 windows->command.screen,(unsigned int) (CWX | CWY), in XAnimateImages()
2426 if (windows->widget.geometry == (char *) NULL) in XAnimateImages()
2427 if (windows->widget.mapped == MagickFalse) in XAnimateImages()
2429 windows->widget.x= in XAnimateImages()
2431 windows->widget.y= in XAnimateImages()
2433 XConstrainWindowPosition(display,&windows->widget); in XAnimateImages()
2434 window_changes.x=windows->widget.x; in XAnimateImages()
2435 window_changes.y=windows->widget.y; in XAnimateImages()
2436 (void) XReconfigureWMWindow(display,windows->widget.id, in XAnimateImages()
2437 windows->widget.screen,(unsigned int) (CWX | CWY), in XAnimateImages()
2444 windows->image.width=(unsigned int) event.xconfigure.width; in XAnimateImages()
2445 windows->image.height=(unsigned int) event.xconfigure.height; in XAnimateImages()
2448 if (event.xconfigure.window == windows->icon.id) in XAnimateImages()
2453 windows->icon.width=(unsigned int) event.xconfigure.width; in XAnimateImages()
2454 windows->icon.height=(unsigned int) event.xconfigure.height; in XAnimateImages()
2467 if (event.xdestroywindow.window == windows->group_leader.id) in XAnimateImages()
2492 Repaint windows that are now exposed. in XAnimateImages()
2494 if (event.xexpose.window == windows->image.id) in XAnimateImages()
2496 windows->image.pixmap=windows->image.pixmaps[scene]; in XAnimateImages()
2497 windows->image.matte_pixmap=windows->image.matte_pixmaps[scene]; in XAnimateImages()
2498 XRefreshWindow(display,&windows->image,&event); in XAnimateImages()
2501 if (event.xexpose.window == windows->icon.id) in XAnimateImages()
2504 XRefreshWindow(display,&windows->icon,&event); in XAnimateImages()
2578 nexus=XMagickCommand(display,resource_info,windows, in XAnimateImages()
2609 if (event.xmap.window == windows->backdrop.id) in XAnimateImages()
2613 windows->backdrop.mapped=MagickTrue; in XAnimateImages()
2616 if (event.xmap.window == windows->image.id) in XAnimateImages()
2618 if (windows->backdrop.id != (Window) NULL) in XAnimateImages()
2623 nexus=XMagickCommand(display,resource_info,windows, in XAnimateImages()
2628 windows->image.mapped=MagickTrue; in XAnimateImages()
2631 if (event.xmap.window == windows->info.id) in XAnimateImages()
2633 windows->info.mapped=MagickTrue; in XAnimateImages()
2636 if (event.xmap.window == windows->icon.id) in XAnimateImages()
2643 (void) XMakeImage(display,icon_resources,&windows->icon, in XAnimateImages()
2644 display_image,windows->icon.width,windows->icon.height, in XAnimateImages()
2646 (void) XSetWindowBackgroundPixmap(display,windows->icon.id, in XAnimateImages()
2647 windows->icon.pixmap); in XAnimateImages()
2648 (void) XClearWindow(display,windows->icon.id); in XAnimateImages()
2649 (void) XWithdrawWindow(display,windows->info.id, in XAnimateImages()
2650 windows->info.screen); in XAnimateImages()
2651 windows->icon.mapped=MagickTrue; in XAnimateImages()
2654 if (event.xmap.window == windows->command.id) in XAnimateImages()
2656 windows->command.mapped=MagickTrue; in XAnimateImages()
2659 if (event.xmap.window == windows->popup.id) in XAnimateImages()
2661 windows->popup.mapped=MagickTrue; in XAnimateImages()
2664 if (event.xmap.window == windows->widget.id) in XAnimateImages()
2666 windows->widget.mapped=MagickTrue; in XAnimateImages()
2699 if (event.xproperty.atom != windows->im_remote_command) in XAnimateImages()
2731 if (event.xunmap.window == windows->backdrop.id) in XAnimateImages()
2733 windows->backdrop.mapped=MagickFalse; in XAnimateImages()
2736 if (event.xunmap.window == windows->image.id) in XAnimateImages()
2738 windows->image.mapped=MagickFalse; in XAnimateImages()
2741 if (event.xunmap.window == windows->info.id) in XAnimateImages()
2743 windows->info.mapped=MagickFalse; in XAnimateImages()
2746 if (event.xunmap.window == windows->icon.id) in XAnimateImages()
2749 XConfigureImageColormap(display,resource_info,windows, in XAnimateImages()
2753 windows->icon.mapped=MagickFalse; in XAnimateImages()
2756 if (event.xunmap.window == windows->command.id) in XAnimateImages()
2758 windows->command.mapped=MagickFalse; in XAnimateImages()
2761 if (event.xunmap.window == windows->popup.id) in XAnimateImages()
2763 if (windows->backdrop.id != (Window) NULL) in XAnimateImages()
2764 (void) XSetInputFocus(display,windows->image.id,RevertToParent, in XAnimateImages()
2766 windows->popup.mapped=MagickFalse; in XAnimateImages()
2769 if (event.xunmap.window == windows->widget.id) in XAnimateImages()
2771 if (windows->backdrop.id != (Window) NULL) in XAnimateImages()
2772 (void) XSetInputFocus(display,windows->image.id,RevertToParent, in XAnimateImages()
2774 windows->widget.mapped=MagickFalse; in XAnimateImages()
2791 if ((windows->visual_info->klass == GrayScale) || in XAnimateImages()
2792 (windows->visual_info->klass == PseudoColor) || in XAnimateImages()
2793 (windows->visual_info->klass == DirectColor)) in XAnimateImages()
2796 Withdraw windows. in XAnimateImages()
2798 if (windows->info.mapped) in XAnimateImages()
2799 (void) XWithdrawWindow(display,windows->info.id,windows->info.screen); in XAnimateImages()
2800 if (windows->command.mapped) in XAnimateImages()
2801 (void) XWithdrawWindow(display,windows->command.id, in XAnimateImages()
2802 windows->command.screen); in XAnimateImages()
2805 if (windows->backdrop.mapped) in XAnimateImages()
2807 (void) XWithdrawWindow(display,windows->backdrop.id,\ in XAnimateImages()
2808 windows->backdrop.screen); in XAnimateImages()
2809 (void) XDestroyWindow(display,windows->backdrop.id); in XAnimateImages()
2810 windows->backdrop.id=(Window) NULL; in XAnimateImages()
2811 (void) XWithdrawWindow(display,windows->image.id,windows->image.screen); in XAnimateImages()
2812 (void) XDestroyWindow(display,windows->image.id); in XAnimateImages()
2813 windows->image.id=(Window) NULL; in XAnimateImages()
2815 XSetCursorState(display,windows,MagickTrue); in XAnimateImages()
2816 XCheckRefreshWindows(display,windows); in XAnimateImages()
2819 if (windows->image.pixmaps[scene] != (Pixmap) NULL) in XAnimateImages()
2820 (void) XFreePixmap(display,windows->image.pixmaps[scene]); in XAnimateImages()
2821 windows->image.pixmaps[scene]=(Pixmap) NULL; in XAnimateImages()
2822 if (windows->image.matte_pixmaps[scene] != (Pixmap) NULL) in XAnimateImages()
2823 (void) XFreePixmap(display,windows->image.matte_pixmaps[scene]); in XAnimateImages()
2824 windows->image.matte_pixmaps[scene]=(Pixmap) NULL; in XAnimateImages()
2826 XSetCursorState(display,windows,MagickFalse); in XAnimateImages()
2827 windows->image.pixmaps=(Pixmap *) in XAnimateImages()
2828 RelinquishMagickMemory(windows->image.pixmaps); in XAnimateImages()
2829 windows->image.matte_pixmaps=(Pixmap *) in XAnimateImages()
2830 RelinquishMagickMemory(windows->image.matte_pixmaps); in XAnimateImages()
2836 if (windows->image.mapped != MagickFalse) in XAnimateImages()
2837 (void) XWithdrawWindow(display,windows->image.id,windows->image.screen); in XAnimateImages()
2880 % XResourceInfo *resource_info,XWindows *windows,Image *image,
2894 % o windows: Specifies a pointer to a XWindows structure.
2900 XResourceInfo *resource_info,XWindows *windows,Image *image, in XSaveImage() argument
2935 XFileBrowserWidget(display,windows,"Save",filename); in XSaveImage()
2946 status=XConfirmWidget(display,windows,"Overwrite",filename); in XSaveImage()
2967 status=XDialogWidget(display,windows,"Save","Enter JPEG quality:", in XSaveImage()
2991 XListBrowserWidget(display,windows,&windows->widget,PageSizes,"Select", in XSaveImage()
3004 XSetCursorState(display,windows,MagickFalse); in XSaveImage()