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