home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / hp / 10268 < prev    next >
Encoding:
Internet Message Format  |  1992-09-10  |  1.6 KB

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