From: Robert R. <rra...@ya...> - 2001-02-25 09:09:33
|
As much as I liked DynAPI 1, I don't want to go back to those days :) I think the widget model as it is now, is much more extensible than by not using any type of inheriting. -- // Robert Rainwater On 2/25/2001, 3:48:41 AM EST, Pascal wrote about "[Dynapi-Dev] a few hours for only 2 lines of code.. damn!": > man, now your gonna get it :) > leave the inheriting model alone! > serious though, currently widgets really inherit from the dynlayer, so that > all dynlayer methods are available without any extra code (or memory) > if you make it a property of the widget, all these things are gone and you > would need to call the dynlayer property to access dynlayer functionality > (sizing,moveto) which should be simple widget methods. > I think there has been already ALOT of discussion about this (see archives > :) and I for one am against any widget model changes (always have been, > always will :) > Pascal Bestebroer > pa...@dy... > http://www.dynamic-core.net >> -----Oorspronkelijk bericht----- >> Van: dyn...@li... >> [mailto:dyn...@li...]Namens Eytan Heidingsfeld >> Verzonden: zaterdag 24 februari 2001 23:02 >> Aan: dyn...@li... >> Onderwerp: RE: [Dynapi-Dev] a few hours for only 2 lines of code.. damn! >> >> >> The only thing I still want to change is the way that all widgets inherit >> from DynLayer. Why don't we just make them have a dynlayer object >> then it is >> easier to free mem. (Taking care of DynLayer is a hassle but the object >> isn't). >> 8an >> >> >> _______________________________________________ >> Dynapi-Dev mailing list >> Dyn...@li... >> http://lists.sourceforge.net/lists/listinfo/dynapi-dev >> > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/lists/listinfo/dynapi-dev ---------------------- DynAPI Snapshots: http://dynapi.sourceforge.net/snapshot/ DynAPI Homepage: http://dynapi.sourceforge.net/ |