I did some prototypes using engrave to load edcs and then doing my own layout calculations.
This already exists in engrave (albeit in a fashion that needs a lot of work) take a look at engrave_canvas. It was originally meant to handle this kind of editing work on an edc, it's just no where near functional. (I have had it drawing stuff on screen before and I think I was dragging it around, can't remember)
What I was thinking about is something like how the Flash editor works; you edit on a stage, and you Export to test the movie. The layouting in the editor is done by a stripped down version of _edje_calc() and when you export it compiles the .edc and lets you preview the final .edj
Yup, the editor would just run engraves edj output function then call edje on the resulting file.
The problem I encountered though was that engrave is only loading the very simple edcs, add a few macros and it fails. I didn't know it was out of date.
Engrave should _not_ be failing on macros. It should be running everything through cpp before starting the parse, and if it isn't it's a bug. It will fail on redact files as it just won't understand them and it will fail on things like textblock or smooth I think. Things that have been added in the last while.
dan ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel