FL_BROWSER ANSI PATCH FOR FLTK 1.1.X
FLTK PATCHES
------------
So here's (1) the updated patch against fltk-1.1.x-svn current for
Fl_Browser.cxx, and (2) the AnsiMode.H file that needs to be dropped
in the fltk src dir (same dir as Fl_Browser.cxx):
1. fltk 1.3.x: ansi-patch-1.3.x--r10037.cxx <-- NEW
fltk 1.1.x: ansi-patch-03-09-2008.txt <-- OLD
2. fltk 1.3.x: AnsiMode.H <-- NEW
2. fltk 1.1.x: AnsiMode.H <-- OLD
ANSI TEST PROGRAM
-----------------
Here's the ansi "test" c++ program that exercises the above
modifications, and a screenshot:
browser-ansi-test.cxx
FAKE NTSC COLOR BARS TEST PROGRAM
---------------------------------
Just for lolz, here's ye olde NTSC colorbars drawn in with
the patched widget using only ANSI sequences, and screenshot:
ansi-fake-colorbars.cxx
CAVEATS
-------
Known problems:
o Italics not yet supported (but bold, underline, intensity are)
o item_width() doesn't calculate "bold" correctly