Torsten Giebl wrote:
>>      Meanwhile, here's a screenshot of the test program:
>>      http://seriss.com/people/erco/fltk/tmp/Fl_Browser-ansi-test.png
>>
>>      ..and here's a 'diff -Naur' against 1.1.x svn current for
>>      Fl_Browser.cxx that adds my ANSI stuff (without the item_width() fix)
>>      and a separate AnsiMode.H file that it includes:
>>      http://seriss.com/people/erco/fltk/tmp/ansi-patch-03-07-2008.txt
>>      http://seriss.com/people/erco/fltk/tmp/AnsiMode.H
> 
> It looks great.

        I'm thinking that an optimization could be added where a method
        like ansi(yes|no) can be used so that the code would skip all the
        ansi checking if not enabled.

        This would help in situations where tens of thousands of entries
        are in the browser, and ansi isn't needed.

        The '@' stuff that's been in FLTK all along is less an issue,
        because those codes have to be at the start of strings, so it's
        quick to determine.

        I didn't do this in the patch, but it should probably be in the
        final release.
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to