On Sun, 5 Sep 2010, Gustavo Sverzut Barbieri wrote:

> 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.

I'll try to do that optimization later. There is already a function 
that sets a text and not a char. Anyway, see

http://trac.enlightenment.org/e/ticket/582

for a patch + code.

Vincent

------------------------------------------------------------------------------
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

Reply via email to