home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!news.tek.com!ogicse!decwrl!access.usask.ca!kakwa.ucs.ualberta.ca!elfhaven.ersys.edmonton.ab.ca!mforget
- From: mforget@elfhaven.ersys.edmonton.ab.ca (Michel Forget)
- Newsgroups: comp.sys.atari.st.tech
- Subject: Raster Copy [for window scrolling]
- Summary: Please help me with window scrolling/raster copies.
- Keywords: raster-copy, window, scroll, fast
- Message-ID: <H.KtV1EXXhvs6@elfhaven.ersys.edmonton.ab.ca>
- Date: 10 Nov 92 06:43:50 GMT
- Article-I.D.: elfhaven.H.KtV1EXXhvs6
- Reply-To: mforget@elfhaven.ersys.edmonton.ab.ca
- Organization: Electric Storm
- Lines: 30
- X-Software: HERMES GUS 1.00 Rev. Jan 16 1992
-
- Hi!
-
- I am having a problem with a program I am writing. I need to display
- a text file inside a window. Now, the actual process of setting up and
- writing the information to the window is not a problem.
-
- Scrolling the window (fast) is the problem.
-
- The only method I know of (that I have been able to use) is to redraw the
- entire window when a scroll was needed. This is, to say the very least,
- extremely slow. I know that there are faster ways to do this, one of
- which would seem to be a raster copy. After all, would it not be faster
- to simply move the last twenty lines up two lines, and then draw the
- new information at the bottom of the window?
-
- In short (long?) I would be grateful to anyone who could share with me the
- secrets of window scrolling. The faster, the better. To keep things legal,
- though, I imagine only VDI calls should be used.
-
- I have also heard that the speed of output to the window can be increased
- by aligning the window on a sixteen bit boundary? How would this be done?
-
-
- --
- << ----------------------------------------- >>
- << mforget@elfhaven.ersys.edmonton.ab.ca >>
- << ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>
- << Michel Forget >>
- << The Key: Spirit over mind over matter. >>
- << ----------------------------------------- >>
-