From: | |
Date: | 01 Feb 2001 at 12:24:09 |
Subject: | Re: Can someone look at this code? |
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).
Kind regards Allan
------------------------ Yahoo! Groups Sponsor ---------------------~-~>
eGroups is now Yahoo! Groups
Click here for more details
http://click.egroups.com/1/11231/0/_/451227/_/981028566/
---------------------------------------------------------------------_->