Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!snorkelwacker.mit.edu!bloom-beacon!dont-send-mail-to-path-lines From: kens@jargon.whoi.EDU (Ken Stewart) Newsgroups: comp.windows.x Subject: Re: strip-chart display Message-ID: <9101041024.AA10729@jargon.whoi.edu> Date: 4 Jan 91 10:24:17 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 20 > > I'm writing a simple strip-chart application ... > I have helped some of our customers with a similar problem, although they > didn't use X. If you maintain a max and a min, and assuming your > fluctuations aren't too great, you can bitblt only the part of the window > which changes ... Dave -- Thanks for the reply; good suggestion. Unless I misunderstood you, though, it's a bit more complicated to keep track of min/max than a simple increment/decrement. If the current min or max scrolls off the end, you probably have to traverse the list of displayed values to replace it; easy to do, though, and not a big performance penalty compared with blitting. I couldn't get through to the return address on your message, so I'm posting this reply back to the net. -Ken