On 12/10/11 14:44, Ian MacArthur wrote:
> On 10 Dec 2011, at 21:38, Matthias Melcher wrote:
>> Let's follow Obi Wan Kenobis suggestion and use the source, Luke.
>> In the code below, you will see that we had an option to enable
>> and disable the @ prefix all along, using the label type
>> FL_NORMAL_LABEL or FL_SYMBOL_LABEL.
Sounds good .. I feel a new cheat page addition coming on.
Thing is, it doesn't work for Fl_Browser (another widget
that uses @'s even more extensively)
>> Now all we have to do is make those two different values again,
>> and all labels will now have their own flag for @ handling.
>> Even better, we can add another 248 label types, for example
>> one for VT100 interpretation, and even one for HTML encoded labels.
>>
>> Cool?
>
> Yes. Cool.
Yep, happy about that!
Still would like a global though, so that it affects
widgets, menus, Fl_Browser, and all other use of @
in text printing.
Perhaps there's a nice meta-solution for the whole kaboodle;
Fl::xxx() and Fl::option() has been proposed, and either would
work for me.
Perhaps an Fl::labeltype() that sets the default label type.
(I think we've been thinking about stuff like this for controlling
the default font, font size, etc)
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev