On 17 Apr 2009, at 17:56, Nordwolf wrote: > To create label, just use an Fl_Box with a label string. To prevent > the > @ sign from being treated specially, use a double @@. Example: > > FL_Box* box = new Fl_Box(20, 20, 100, 25, "foo@@bar.com"); > > If you wanted to represent an email address in the label.
Also, note that if you are using fl_draw() to render the label string yourself, you can pass it a parameter that controls whether or not it attempts '@' interpretation or not, so it is possible to simply turn off the '@' symbol stuff altogether. I think Greg has a worked example of doing that, maybe here: http://www.seriss.com/people/erco/fltk/#DisableSymbols -- Ian _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

