mode of a window

Tim Hall tjh at bucrf11.bu.edu
Tue May 7 00:57:49 AEST 1991


In article <9105051952.AA15944 at karron.med.nyu.edu>, Dan Karron at UCBVAX.BERKELEY.EDU writes:
|> I need to know specifically if the bitplanes are in color map mode (cmode)
|> or RGB mode. Then I know how to unpack the bits in lrectread. 
|> 

getdisplaymode

|> Also, how can I tell if I am in single or double buffer mode, and
|> which buffer is being displayed on the screen. I want only to read
|> pixels that are displayed.
|> 

getdisplaymode again.  The frontbuffer is always being displayed on 
the screen.

|> It might also be of value to do a lrectread of the hidden buffer (backbuffer)
|> so that I can be certain that my image will not contain any pieces of poped
|> windows. Can this be done ?
|> 

readsource

|> What about a programatic (c call) to force my window to pop on top of
|> all others.
|> 

winpop

-- 
-Tim Hall
tjh at bu-pub.bu.edu

The night is filled with the cries of dispossessed children in search
of paradise.  -Dead Can Dance



More information about the Comp.sys.sgi mailing list