bmacintyre@watsol.waterloo.edu (Blair MacIntyre) (09/09/88)
I'm posting for a friend who has the following question: How do you clear gadget imagery once it has been rendered? ( I know how to remove gadgets from the system, but the image stays there ) Thanx, Jan Sven Trabandt Thanx, Blair -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= = Mr. Blair MacIntyre (bmacintyre@watsol.waterloo.edu) = = < this space closed for repairs ... > = = Opinions? What are they? Are they expensive? Where can I get one? =
papa@pollux.usc.edu (Marco Papa) (09/10/88)
In article <8423@watdragon.waterloo.edu> bmacintyre@watsol.waterloo.edu (Blair MacIntyre) writes: > >I'm posting for a friend who has the following question: > > How do you clear gadget imagery once it has been rendered? > ( I know how to remove gadgets from the system, but the > image stays there ) I use the following trick to generate a "window" with background different from the parent screen, which should also work for you. Remove all the gadgets you want SetRast(w->RPort, back); /* back is new fore in MY case, not yours */ RefreshWindowFrame(w); AddGList(w, gad, -1, -1, NULL); RefreshGadgets(w->FirstGadget,w,NULL); This might cause a "flash" but should do the job. -- Marco Papa 'Doc' -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= uucp:...!pollux!papa BIX:papa ARPAnet:pollux!papa@oberon.usc.edu "There's Alpha, Beta, Gamma and Diga!" -- Leo Schwab [quoting Rick Unland] -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
papa@pollux.usc.edu (Marco Papa) (09/10/88)
In article <12087@oberon.USC.EDU> papa@pollux.usc.edu (Marco Papa) writes: >I use the following trick to generate a "window" with background different >from the parent screen, which should also work for you. I forgot to mention that the trick was suggested to me by Carolyn Scheppner of C-A. -- Marco Papa 'Doc' -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= uucp:...!pollux!papa BIX:papa ARPAnet:pollux!papa@oberon.usc.edu "There's Alpha, Beta, Gamma and Diga!" -- Leo Schwab [quoting Rick Unland] -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=