NAME
XmuCreateStippledPixmap − create two pixel by two pixel gray pixmap.
SYNOPSIS
#include <X11/Xmu/Drawing.h>
Pixmap XmuCreateStippledPixmap(screen, fore, back, depth)
Screen ∗screen;
Pixel fore, back;
unsigned int depth;
Inputs
screenSpecifies the screen the pixmap is created on.
foreSpecifies the foreground pixel value.
backSpecifies the background pixel value.
depthSpecifies the depth of the pixmap.
Returns
The pixmap.
DESCRIPTION
XmuCreateStippledPixmap() creates a two pixel by two pixel stippled pixmap of specified depth on the specified screen. The pixmap is cached so that multiple requests share the same pixmap. The pixmap should be freed with XmuReleaseStippledPixmap() to maintain correct reference counts.
USAGE
This function is useful for widgets that display themselves "grayed" out when they are insensitive.