home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / windows / x / 16514 < prev    next >
Encoding:
Text File  |  1992-09-10  |  1.7 KB  |  41 lines

  1. Newsgroups: comp.windows.x
  2. Path: sparky!uunet!snorkelwacker.mit.edu!thunder.mcrcim.mcgill.edu!mouse
  3. From: mouse@thunder.mcrcim.mcgill.edu (der Mouse)
  4. Subject: Re: Transparent windows
  5. Message-ID: <1992Sep11.005800.10203@thunder.mcrcim.mcgill.edu>
  6. Organization: McGill Research Centre for Intelligent Machines
  7. References: <9209081631.AA04622@uahcs2.cs.uah.edu>
  8. Date: Fri, 11 Sep 92 00:58:00 GMT
  9. Lines: 31
  10.  
  11. In article <9209081631.AA04622@uahcs2.cs.uah.edu>, ldawes@uahcs2.cs.uah.EDU (Lisa Dawes, Computer Science Dept., Univ. of Alabama-Huntsville) writes:
  12.  
  13. > How are transparent window backgrounds created and/or implemented.
  14.  
  15. (I assume that's supposed to be a question, in spite of the
  16. non-question punctuation.)
  17.  
  18. Transparent window backgrounds don't really exist.  Backgrounds None
  19. and ParentRelative provide a similar visual effect in some
  20. circumstances.  The SHAPE extension can be used to good effect, when
  21. available, but that makes the window nonexistent, not transparent, in
  22. the places where it's not opaque (though this can sometimes be remedied
  23. by the use of an InputOnly window).
  24.  
  25. > Is there a color index for transparent colors.
  26.  
  27. On some types of hardware, such a thing exists.  As far as I know there
  28. is no standard way of finding out whether it does, or finding out what
  29. visual and colormap index you must use to get transparency if so.
  30.  
  31. > Where is a good source of documentation concerning this?
  32.  
  33. Concerning the portable ways, the Xlib and protocol reference documents
  34. contain all the information, though digging it out can be a bit of a
  35. pain at times.  Concerning any possible server- and hardware-dependent
  36. ways, you'll have to check with your server and hardware suppliers.
  37.  
  38.                     der Mouse
  39.  
  40.                 mouse@larry.mcrcim.mcgill.edu
  41.