Path: utzoo!attcan!uunet!lll-winken!ncis.llnl.gov!helios.ee.lbl.gov!nosc!ucsd!rutgers!apple!kazim From: kazim@Apple.COM (Alex Kazim) Newsgroups: comp.sys.mac.programmer Subject: Re: Text Drawing at speeds greater than 1200baud Summary: Quick fix Keywords: Microphone, VersaTerm, scrolling Message-ID: <24499@apple.Apple.COM> Date: 21 Jan 89 22:01:02 GMT References: <2243@uokmax.UUCP> <27572@ucbvax.BERKELEY.EDU> <18791@santra.UUCP> Organization: Apple Computer Inc, Cupertino, CA Lines: 33 In article <18791@santra.UUCP> jmunkki@kampi.UUCP (Juri Munkki) writes: > >No objections here. I do not restrain my windows, but the effect on speed >is visible on a MacPlus. This is because I use an offscreen bitmap to >contain my text screens. If the bitmap and the window are not exactly >aligned, QD has to do a lot of bit-shifting. Zooming the window positions >it intelligently to a word boundary (I plan to document this feature in the >manual). I can't say I like this approach -- window sizing is in the power of the user, and the program shouldn't limit the the size to boundaries. This would confuse a novice, because your windows will not work like other applications... > >up. Most terminal programs do not do update their windows even when they >really should. Try ls -R and open a desk accessory. The lines that >scroll up from under the da are not updated. At least VersaTerm and >Microphone fail this test. > >_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._ >| Juri Munkki jmunkki@hut.fi jmunkki@fingate.bitnet I Want Ne | >| Helsinki University of Technology Computing Centre My Own XT | >~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~ If they do a ScrollRect(), it returns an updateRgn that includes the area scrolled out from under the DA. Just check the rgnBBox of the returned region to see what lines need to be refreshed. ================================================================== Alex Kazim, Apple Computer My ideas alone. ====================================================================