1. Introduction to the Solaris X Server
2. DPS Features and Enhancements
3. Visuals on the Solaris X Server
6. Transparent Overlay Windows
What are Transparent Overlay Windows?
Basic Characteristics of Transparent Overlay Windows
More on Transparent Overlay Characteristics
Choosing Visuals for Overlay/Underlay Windows
Overview of the Solaris Transparent Overlay Window API
Creating Transparent Overlay Windows
Setting the Paint Type of a Graphics Context
Rendering to a Transparent Overlay Window
Querying the Characteristics of a Transparent Overlay Window
Determining Whether a Window is an Overlay Window
Determining the Paint Type of a Graphics Context
Filling an Area Using the Source Area Paint Type
Copying an Area and Its Paint Type
Retrieving Overlay Color Information
Using Existing Xlib Pixel Transfer Routines
Designing an Application for Portability
Selecting a Visual for an Overlay/Underlay Window
You can set the background state of a transparent overlay window to be transparent with the XSolarisOvlSetWindowTransparent routine. Any background rendering that occurs after this request causes the background to be transparent. To change background state to any other value, use XChangeWindowAttributes(), XSetWindowBackground(), or XSetWindowBackgroundPixmap().
The syntax and arguments of XSolarisOvlSetWindowTransparent are shown below.
void XSolarisOvlSetWindowTransparent (Display *display, Window w)
|
Note - If w is not a transparent overlay window, a BadMatch error results.