Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site bubba.UUCP Path: utzoo!linus!decvax!decwrl!pyramid!ut-sally!utastro!cositex!bubba!san From: san@bubba.UUCP Newsgroups: net.micro.amiga Subject: Layers with Intuition Message-ID: <169@bubba.UUCP> Date: Mon, 17-Feb-86 11:09:33 EST Article-I.D.: bubba.169 Posted: Mon Feb 17 11:09:33 1986 Date-Received: Wed, 19-Feb-86 07:32:38 EST Distribution: net Organization: COSI Texas, Austin, Texas Lines: 31 Help! I'm trying to use layers with an Intuition window. What I wanty to do is create my own 1024 x 1024 bitmap, and scroll it around inside an Intuition window. I have succeded in scrolling the window, but whenever I size the window and move (drag) it, portions of my bitmap gat blanked out! Heres what I'm doing: * InitBitMap() * Create 1024 x 1024 bitmap w/calls to AllocRaster * Assign BitMap to NewWindow structure * Call OpenWindow(NewWindow) * Obtain a pointer to Layer from Window->RPort->Layer * Obtain a point to a Layer_Info from Layer->LayerInfo Using proportional gadgets I've created to scroll the layer works great. I just make calls like: ScrollLayer(LayerInfo, Layer, deltaX, deltaY) (can't remember order of args just now...) That all works fine, but when I size and drag the window, portions of my bitmap get cleared to (I think) the background pen color! 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