> A global option to disable '@' processing
On a slightly related tangent, one of the few things I've had
to actually /modify/ fltk for to support my commercial app is
adding ANSI escape sequences (eg. \033[xxx) to control per-character
foreground and background color attributes in Fl_Browser.
I think I posted an STR for this, or at very least a patch
on one of the newsgroups.
IMHO the vt100 escape sequences are both flexible and well
documented. And with a few extensions, one can access full
24 bit RGB color information (as well as color map colors)
using this technique. (ie. \033[1X for color map color 1
vs. \033[#ff885500X to get R/G/B color ff/88/55 in fltk's
RGB color format), where 'X' is some unused ANSI control code.
Similarly, font selection and font size could be selected
within a line. (I think I included that too in my patch,
not sure.)
ANSI might be an interesting alternative for in-line
color/font/etc selection of general labels (and not
just Fl_Browser), itself being something that could
be enabled/disabled with a flag.
Anyway, just tossing that out there, in case it aides
in forward planning.
With such a feature, I could see then just being able
to disable @ and enable ANSI as a way around getting
what I need without worrying about the '@' character.
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev