Solaris X Window System Developer's Guide

Overview of the Solaris Transparent Overlay Window API

The transparent overlay window API includes the routines listed in Table 6-2 . These routines are provided by libXext.so. To use the Solaris overlay routines, do the following:

Table 6-2 List of Transparent Overlay Window Routines
NameDescription
XSolarisOvlCreateWindowCreates

an overlay window.XSolarisOvlIsOverlayWindowIndicates

whether a window is an overlay

window.XSolarisOvlSetPaintTypeSpecifies the type of paint

rendered by subsequent Xlib

drawing.XSolarisOvlGetPaintTypeGets the current paint

type.XSolarisOvlSetWindowTransparentSets the background

state of an overlay window to be

transparent.XSolarisOvlCopyPaintTypeRenders opaque and

transparent paint into the destination drawable based on the paint type

attributes of the pixels in the source

drawable.XSolarisOvlCopyAreaAndPaintTypeCopies the area and

paint type from one pair of drawables to

another.XReadScreenReturns the displayed colors in a

rectangle of the screen.XSolarisOvlSelectPartnerReturns the

optimal overlay or underlay visual for an existing

visual.XSolarisOvlSelectPairSelects an optimal

overlay/underlay pair that best meets a set of defined criteria for the

overlay and underlay visuals.

The remainder of this chapter discusses the transparent overlay API routines.