home *** CD-ROM | disk | FTP | other *** search
- Path: doc.ic.ac.uk!mdf
- From: mdf@doc.ic.ac.uk (Martin Frost)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Window refresh
- Date: 7 Feb 1996 13:41:28 -0000
- Organization: Dept. of Computing, Imperial College, University of London, UK.
- Distribution: world
- Message-ID: <4faa68$rai@oak22.doc.ic.ac.uk>
- Reply-To: mdf@doc.ic.ac.uk (Martin Frost)
- NNTP-Posting-Host: oak22.doc.ic.ac.uk
- X-Newsreader: mxrn 6.18-23
-
-
- First, the situation. I have a 640*256 4 plane screen, and a borderless
- backdrop window covering all but the title bar. If I made this window
- SMART_REFRESH, then it would obviously waste a lot of memory, but I don't
- store the data on the screen anywhere, so can't redraw if I made it simple
- refresh.
-
- The problem comes when I have Reqtools and DOS requesters opening. What I
- really want to do is to be able to save just the bit of background that the
- new window is covering, and restore this when I'm finished. Is this possible?
-
- I guess that I could do it by patching OpenWindow() and its derivatives to
- check if a window is opening on my screen, and if so save the background and
- clear the WFLG_DRAGBAR flag, but this is too extreme a solution for my liking.
-
- TIA, Martin.
-