home *** CD-ROM | disk | FTP | other *** search
- From: hstroyan@hpfcso.FC.HP.COM (Howard Stroyan)
- Date: Thu, 10 Sep 1992 18:27:38 GMT
- Subject: Re: Transparent windows
- Message-ID: <7371303@hpfcso.FC.HP.COM>
- Organization: Hewlett-Packard, Fort Collins, CO, USA
- Path: sparky!uunet!spool.mu.edu!yale.edu!yale!gumby!destroyer!caen!sdd.hp.com!scd.hp.com!hplextra!hpfcso!hstroyan
- Newsgroups: comp.sys.hp
- References: <tghe337.716043900@cdc835>
- Lines: 28
-
- In comp.sys.hp, tghe337@cdc835.cdc.polimi.it writes:
-
- >
- > Looking for overlay transparent windows (8 / 24 bits depth ) over 24 bits deep widgets;
- > Environment:X11 R 4, Motif 1.1, HP UX , CRX 24 adapter
-
- Take a look at the "Starbase Graphics Techniques" manual.
- In "Chapter 22 Using Starbase with the X Window System"
- there is a description of the "SERVER_OVERLAY_VISUALS property"
- in the section "Guidelines for Portability".
-
- This property indicates any overlay visuals that are available on a
- server and how a transparent color can be achieved (via X or starbase).
-
- On the CRX24 display the default visual is in the 8 bit overlay planes,
- additional visuals support 24 bit directcolor and 8 bit pseudocolor modes
- in the image planes. The transparent color for the overlay planes is
- fixed at index 255. This is what the SERVER_OVERLAY_VISUALS property
- will indicate.
-
- If you have the starbase demos fileset installed you can take a look at
- /usr/lib/starbase/demos/SBUTILS/wsutils.c to find an example of how this
- property can be examined and the results applied.
-
- --
- Howard Stroyan
- Hewlett-Packard hstroyan@fc.hp.com
- User Interface Technology Division
-