C (11/257)

From:
Date:01 Feb 2001 at 16:58:12
Subject:Re: Can someone look at this code?

Hello Jack,

>> 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())
> 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?

Either use graphics.library/ObtainPen or don't set SA_SharePens.

The best is of course to use ObtainBestPen for all your colours to get
optimal pen sharing.

Kind regards Allan

------------------------ Yahoo! Groups Sponsor ---------------------~-~>
eGroups is now Yahoo! Groups
Click here for more details
http://click.egroups.com/1/11231/0/_/451227/_/981043764/
---------------------------------------------------------------------_->