Already done, patch already there, static member already exists for libs that want to support it.
> I would not do this, as it will make it impossible to link unrelated > fltk-using code together as this would have to be a static value. Or we > have to waste space to put the value on every widget. > > The user should be able to turn on the "don't interpret @" flag on the > widgets they need it for. > > If they actually want @-commands to work with their strings, it seems > they must be modifying them to add these commands. They should be able > to double the @ signs in the original string at the same time. > > On 12/08/2011 01:22 AM, MacArthur, Ian (SELEX GALILEO, UK) wrote: > > > >> In fltk2 a flag was added to the widget and to the arguments > >> to the draw > >> functions that disabled all interpretation of '@'. > > > > I think that's in fltk-1 also. > > > >> There was also an @ command (I forget which) > >> which disabled interpretation for the rest of the label. > > > > I think it was "@.", at least it is in fltk-1 > > > > I think what the OP wants is a way to (globally) change the "@" symbol > > to "some other symbol", to make it easier to use @ as a symbol in its > > own right. > > > > This is non-trivial though since we have the @ value hard-coded in a few > > places... _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
