Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!ut-sally!husc6!bu-cs!halleys!applix!scott From: scott@applix.UUCP (Scott Evernden) Newsgroups: comp.sys.amiga Subject: Re: SUPER_BITMAP Windows Message-ID: <445@applix.UUCP> Date: Mon, 20-Apr-87 12:53:01 EST Article-I.D.: applix.445 Posted: Mon Apr 20 12:53:01 1987 Date-Received: Tue, 21-Apr-87 01:07:56 EST References: <1013@crash.CTS.COM> Reply-To: scott@applix.UUCP (Scott Evernden) Organization: APPLiX Inc., Westboro MA Lines: 26 In article <1013@crash.CTS.COM> billk@pnet01.CTS.COM (Bill Kelly) writes: >... The problem is that >I am drawing into the bitmap, but the bitmap isn't being displayed on the >screen. Is there any trick to doing this? The window is a BACKDROP, >BORDERLESS, GIMMEZEROZERO, SUPER_BITMAP window in a screen with a depth of >one. My words draw into the bitplane in the BitMap of my window (which is the >only one open on the screen) but nothing (as I said) is being displayed on the >screen. In order to draw into a SuperBitmap window, you need to: 1) draw into the Window's bitmap via its RastPort; the SuperBitmap is updated from the Window's bitmap whenever you do a ScrollLayer or whenever you do a (layer lib) SyncSBitmap. 2) draw into the SuperBitmap (maybe thru a temp RastPort) and then do a (layer lib) CopySBitmap to update the Window layer (and hence the display). So, the short answer is to study the Layers Library CopySBitMap and SyncSBitmap calls. I don't remember if you need to lock your layers around these calls; they may do this for you already. - scott