extra code (size is also an issue with javascript)

to be rude: these things have all been discussed many times in the last
year.. and we (including Dan back then) decided that this was just the most
straight forward way of doing the inheriting (and widgets SHOULD inherit
from dynlayer for should be obvious reasons)

The way you want to do this is just adding work arounds for something that
can be done using build in Javascript ideas. There was one WidgetObject once
that did it in the same way as you'r suggesting (all widgets inherited from
this object and it had a set of functions that simple call the correct
dynlayer function)  but this is alot of overhead and extra code, making
things slower, use more memory, and bigger...

Pascal Bestebroer
[EMAIL PROTECTED]
http://www.dynamic-core.net

> A wrapper function would be added to myWidget that would look like this:
> myWidget.prototype.moveTo = function(x,y){
>     this.dynlayer.moveto(x,y);
> }
>
> 8an


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

Reply via email to