the x and y values default to 0 so they are not needed.  I agree with the w / h code.  
I
apologise if my post was a bit hasty.

sorry.

Robert Rainwater wrote:

> On 6/8/2001, 12:18:43 PM EST, Michael wrote about "[Dynapi-Dev] Layer Background 
>colors":
>
> > I noticed that someone just updated the CVS with some code that removes
> > the bgimage / color of a layer before it is recycled.
>
> > Has anyone got any example of a method that will allow a layer to be
> > made transparent after it has had the bgimage / color set?
>
> > Each time that I have tried this, it has always resulted in a buggy
> > display that I explained in a previous post.
>
> > Also, the setting of the objects x, y, w, h to null will have ne effect
> > as these are numeric values and as such are not references to other
> > objects that may result in memory leaks.
> > --
> It wasn't done for memory reasons.  If recreating a recycled layer,
> without given a size or location, the previous values would be used in
> specificCreate.  The wrong clip values were being set in
> specificCreate because of the tests for this.h and this.w.
>
> --
> Robert Rainwater
>
> _______________________________________________
> Dynapi-Dev mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/dynapi-dev

--
Michael Pemberton
[EMAIL PROTECTED]
ICQ: 12107010




_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-dev

Reply via email to