From: | |
Date: | 01 Feb 2001 at 12:56:29 |
Subject: | Re: Can someone look at this code? |
Hello Allan
On 01-Feb-01, Allan Odgaard wrote:
> Hello Jack,
>
>> No, just fat fingers and slow eyes. :/ It should have been
>> SA_SharePens. [...]
>>
>> [...]
>> SA_Colors, colorspecs,
>> SA_SharePens, TRUE, // problem goes away if removed
>
> As I understand it, setting SharePens will only make intuition allocate
> the pens used for the DrawInfo-structure, thus the colours you supply
> with SA_Colors are only stored (i.e. using LoadRGB()) but not locked.
> So if someone opens a window on your screen and calls ObtainBestPen(),
> it'll use your preset colours (and I imagine you have MagicMenu running,
> which'll do this when you press rmb).
Sounds like it could be the case since another way I can make it fail is by
calling a requester generated by Reaction. So, do you know how I go about
locking the pens?
Jack
------------------------ Yahoo! Groups Sponsor ---------------------~-~>
eGroups is now Yahoo! Groups
Click here for more details
http://click.egroups.com/1/11231/0/_/451227/_/981032449/
---------------------------------------------------------------------_->