> If you have a label setup and use measure_label you don't get back the proper 
> values.  The problem is that the alignment option (FL_ALIGN_WRAP being an 
> important one) aren't given to fl_measure, it just assumes if there is a 
> width that it will wrap even if the alignment doesn't have FL_ALIGN_WRAP 
> enable.

Seeing as how I'll probably need to make a new fl_measure that takes an 
alignment parameter, I came accross this in the current fl_measure:

strlcpy(symbol[1], p, sizeof(symbol[1]));

which, unless I'm missing something, seems to not be used anywhere and just a 
big waste of time. ??

In fact, maybe the whole notion of storing the symbol at symptr (symbol[0]) is 
not needed.  symwidth[] looks to be the only thing used in measure?
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to