🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #11366

Intuition

#11366
From: Usenet file owner
Date: Tue, 07 Feb 1989 21:53
14 lines
1060 bytes
I have a superbitmap window. An assembly lang. routine is operating
directly on the bits of the bitmap. Now and then I copy
the bitmap into the window with CopySBitMap ( I'm not sure about the
routine name but its the one that updates the layer to match the bitmap)
I discovered that it is necessary to LockLayer(mywindowslayer)
and then catch MENUVERIFY|SIZEVERIFY. 
Heren lies the problem: How do I know when the MenuEvent is
done and I can LockLayer safely?(ie. without deadlocking Intuition)
problem two: I want the window dragable, how do I DRAGVERIFY?

anyhelp would be apppreciated.

Is it necessary to surround the assemblylang routine with
LockLayer/UnlockLayer?
Technical Details
Message-ID: <1744@cps3xx.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!eecae!cps3xx!usenet

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!eecae!cps3xx!usenet
From: usenet@cps3xx.UUCP (Usenet file owner)
Newsgroups: comp.sys.amiga.tech
Subject: Intuition
Keywords: layers , superbitmap
Message-ID: <1744@cps3xx.UUCP>
Date: 7 Feb 89 21:53:06 GMT
Reply-To: porkka@frith.egr.msu.edu ()
Distribution: na
Organization: Michigan State University
Lines: 14