On Sat, Aug 28, 2010 at 12:03 PM, Vincent Torri <[email protected]> wrote: > > Hey, > > Here is my first step with the textgrid object. I have never written an evas > object before so the code is not perfect, even not good in some places, I > think. > > To test it, put evas_object_textgrid.c in evas/src/lib/canvas, then patch > evas with evas_textgrid.diff and compile and run ecore_evas_textgrid.c for > the test. > > Feel free to send remarks, corrections, etc...
Hi Vincent, I don't know if people already commented about this, so here goes mine after a 1minute look at it (no real read of the implementation and associated errors): For performance and easiness of use, the textgrid should work based on spans rather than per cell. It is way more common to change a span of multiple characters using the same properties than a single one, so make it the common case and optimize for it. BR, -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -------------------------------------- MSN: [email protected] Skype: gsbarbieri Mobile: +55 (19) 9225-2202 ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
