On Sun, Aug 3, 2008 at 11:49 AM, Raoul <[EMAIL PROTECTED]> wrote: > But, I think there are more important issues with edje at this time. Writing > edc using macros are a real pain and a waste of time. Macros are hard to > write, hard to debug, hard to maintain and unreadable. We need a better way > to write generic object (edje script only?). > Edje is also missing some more complex objects like lists. For now, any lists > have to be done in the C side, it "freezes" a bit the theming capabilities. > Having the possibilitie to extend edje by exporting a smart-object (list or > any super-cool-smart-object) with its properties and capabilities to edje > would be awsome. > > For example, in the application code, you tell edje to load a LIST > smart-object with some properties, and then edje can use it like a standard > parts in the edc. In the part definition, you can change the properties of > the LIST, like enable/disable kinetic scrolling, horizontal/vertical > scrolling, ... > > Such a feature could really help designers to be more productive in writing > edc, and give them much more power. > > As I said, for now writing edc is a painfull task.
Well, Cedric, Raster, DaveMDS and others discussed exactly that. As raster already said, most of this can be done by script-only objects, but some can be done with exporting more objects to Edje and this is part of Dresb's GSoC. As I'm the mentor of dresb's gsoc, I'll explain a bit, he can explain what's done and what he'll be able to present. Here it goes: - provide a simple library with some smart objects, something in the lines of esmart, but not using edje at all. This library will provide, at least, layouts (horizontal, vertical, grid and flow) and mvc-lists (scalable to thousands of items, complexity is based on visible area). - expose these objects as edje parts, this is easy, what is hard and needs some think is how to map/add objects to layouts and implement row renderers for mvc-lists. I have some suggestions, raster has others, but we can do that even with embryo as we have now. What lua, js or improved embryo could help is to create new objects from scratch, like script only layouts. -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -------------------------------------- MSN: [EMAIL PROTECTED] Skype: gsbarbieri Mobile: +55 (19) 9225-2202 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel