Article View: comp.sys.amiga.tech
Article #1573Finding active screen
From: Chris
Date: Mon, 09 Oct 1989 02:27
Date: Mon, 09 Oct 1989 02:27
15 lines
1058 bytes
1058 bytes
How does one go about finding the active BitMap? The method I am using now is:
move.l GraphicsLibrary,a6 ;link to Graphics Library
move.l 34(a6),a1 ;Pointer to View
move.l (a1),a1 ;Pointer to ViewPort
move.l 36(a1),a1 ;Pointer to RasInfo
move.l 4(a1),BitMapPointer ;Pointer to Bitmap
It finds the active BitMap only if there is one screen open, otherwise it
tends to find the wrong BitMap. I have a feeling that somewhere along the line
there is a list of screens I have to search through somewhere. Is there any
easy way to find just the BitMap of the ACTIVE screen?
Christopher Conrad
CJC105 at psuvm
Technical Details
Message-ID:
<89281.222710CJC105@PSUVM.BITNET>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!psuvax1!psuvm!cjc105Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!psuvax1!psuvm!cjc105 From: CJC105@PSUVM.BITNET (Chris) Newsgroups: comp.sys.amiga.tech Subject: Finding active screen Message-ID: <89281.222710CJC105@PSUVM.BITNET> Date: 9 Oct 89 02:27:10 GMT Organization: Penn State University Lines: 15