🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.interviews
Article #538

Re: 2D scrolling?

#538
From: Mark Linton
Date: Thu, 27 Aug 1992 16:46
24 lines
1717 bytes
In article <1992Aug25.120925.18470@newsserver.rrzn.uni-hannover.de>, patz@ipc1.rrzn.uni-hannover.de (Frank Patz) writes:
|> InterViews 3.1
|> 
|> patz@ipc1.rrzn.uni-hannover.de (Frank Patz) writes:
|> >I've tried to code a 2D scrollbox "Viewer", based on TransformSetter
|> .. Adjustable and Patch.
|> 
|> carlson@yottzumm.tis.llnl.gov (John Carlson) writes:
|> > I've spent a lot of time too, and mine still isn't perfect. 
|> [Johns valuable hint deleted - see his posting]
|> 
|> It seems to me that many of us work on this problem. What I want to
|> know: Is it possible using a TransformSetter? What does Mark Linton
|> say about that? What do I have to do in Viewer::allocate, ::draw and
|> so on? What are the exact semantics of Patch::redraw and reallocate?

We would like to provide a Viewport glyph that supports scrolling and zooming,
but haven't had enough time to get a complete implementation yet.
I wouldn't do scrolling with a TransformSetter, but for zooming
it is definitely a reasonable approach.

Patch::redraw damages the area associated with the patch.
Patch::reallocate does an allocate on the patch's body using
the most recent allocation.
Technical Details
Message-ID: <p3plcp8@fido.asd.sgi.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!paladin.american.edu!darwin.sura.net!mips!odin!fido!marktwain.rad.sgi.com!linton
References: <134148@lll-winken.LLNL.GOV> <1992Aug25.120925.18470@newsserver.rrzn.uni-hannover.de>

Show Full Headers
Complete Article Headers
Newsgroups: comp.windows.interviews
Path: arc1-ca.pugleaf.net!sparky!uunet!paladin.american.edu!darwin.sura.net!mips!odin!fido!marktwain.rad.sgi.com!linton
From: linton@marktwain.rad.sgi.com (Mark Linton)
Subject: Re: 2D scrolling?
Message-ID: <p3plcp8@fido.asd.sgi.com>
Sender: news@fido.asd.sgi.com (Usenet News Admin)
Reply-To: linton@marktwain.rad.sgi.com (Mark Linton)
Organization: sgi
References: <134148@lll-winken.LLNL.GOV> <1992Aug25.120925.18470@newsserver.rrzn.uni-hannover.de>
Date: Thu, 27 Aug 1992 16:46:17 GMT
Lines: 24