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
Setting the Background State of a Transparent Overlay Window
Rendering to a Transparent Overlay Window
Querying the Characteristics of a Transparent Overlay Window
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 determine whether a window is an overlay window using the routine XSolarisOvlIsOverlayWindow. You can also determine a GC's current paint type using the routine XSolarisOvlGetPaintType.
You can use the routine XSolarisOvlIsOverlayWindow to determine whether a window is an overlay window. The routine returns True if the given window w is a transparent overlay and returns False otherwise.
Bool XSolarisOvlIsOverlayWindow (Display *display, Window w)
|
The routine XSolarisOvlGetPaintType returns the GC's current paint type.
XSolarisOvlPaintType XSolarisOvlGetPaintType (Display *display, GC gc)
|