home *** CD-ROM | disk | FTP | other *** search
- Path: comma.rhein.de!serpens!not-for-mail
- From: mlelstv@serpens.rhein.de (Michael van Elst)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Q: Scrolling a Window
- Date: 27 Mar 1996 09:36:26 +0100
- Organization: dis-
- Message-ID: <4jauma$ji3@serpens.rhein.de>
- References: <4j5r2n$566@ousrvr3.oulu.fi> <Pine.LNX.3.91.960326113409.12997A-100000@mix.hsv.no> <4ja48r$hva@the-fly.zip.com.au>
- NNTP-Posting-Host: serpens.rhein.de
-
- stuartm@zip.com.au (Stuart Mackinnon) writes:
-
- >In fact it would probably be best to do ScrollRaster() AND ClipBlit().
- >Refer to the "Optimised Window Refreshing" AmigaMail article to
- >understand why it is best to use both. Basically you use ScrollRaster()
- >to do the blit, then set the write mask to 0 and use ClipBlit() to
- >scroll the damage areas. Then set the write mask back to what it was.
-
- This is basically right but backwards. You use ClipBlit to do the
- blit and ScrollRaster to scroll the damage areas :)
-
- >Don't use GZZ. Firstly it uses a LOT more CHIP ram, and is much slower
- >on window moves and resizes.
-
- GZZ shouldn't need more CHIP ram. It "just" needs another layer (i.e. some
- management structures that reside in any memory).
-
- >The only reason anyone would EVER need to
- >use a GZZ window is if they want GadTools gadgets clipped to the
- >window border (GadTools seems to screw around with clipping regions
- >such that they are ignored during any GadTools gadget rendering).
-
- No gadgets are clipped. And you need GZZ for a Superbitmap window with a border.
-
- Regards,
- --
- Michael van Elst
-
- Internet: mlelstv@serpens.rhein.de
- "A potential Snark may lurk in every tree."
-