Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxn!ihnp4!houxm!whuxl!whuxlm!akgua!gatech!ut-sally!utastro!cositex!bubba!san From: san@bubba.UUCP Newsgroups: net.micro.amiga Subject: Scrolling a SUPERBITMAP raster in Intuition Window Message-ID: <168@bubba.UUCP> Date: Wed, 5-Feb-86 12:09:18 EST Article-I.D.: bubba.168 Posted: Wed Feb 5 12:09:18 1986 Date-Received: Sun, 9-Feb-86 08:41:23 EST Distribution: net Organization: COSI Texas, Austin, Texas Lines: 37 The scenario and main question is that I have a 1K by 1K bitmap with my pre-drawn image on it, and I want to be able to look at ANY portion of the bitmap from a window on the workbench. On page 4-7 of the Intuition Manual (version 29.4), under the heading "SuperBitMap Window", the second paragraph mentions "This window is very handy where you want to give the user the flexibility of scrolling around and revealing any portion of the bit-map." In the first paragraph it says "You can make the bit-map any size as long as the window sizing limits are set accordingly". From this, and other readings in the Intuition & ROM Kernal manual, it appears as if it would be possible to scroll the contents of a raster within an Intuition window. After reading the ROM kernal manual (many a time!) it appears that at a lower level I would change the RxOffset and RyOffset for the ViewPort to change what portion is being displayed, how does one do that for an Intuition window? Do I need to obtain the ViewPort structure for my window and twiddle with the values there? How do I inform Intuition that I've changed the values? Or, do I then do a MakeVPort(), MgrCop() and LoadView() ? If so, where do I get the RasInfo structure for my window? Would I have to do a RethinkDisplay() or RemakeDisplay() each time I wanted to change what I'm looking at? Whats the best way to accomplish my first question? Lastly, what are some of the uses of the Inutuition ViewAddress() and ViewPortAddress() routines ? Much thanks in advance... Steve Sanderson ---------- -- Steve Sanderson, COSI Texas 4412 Spicewood Springs, Suite 801 Austin, Texas 78759 UUCP: {ihnp4, seismo, ctvax}!ut-sally!cositex!san, san@cositex.UUCP AT&T: (512) 345-2780