Hi
Happy New Year to all of you.
I am one of the maintainers of pyFltk, the Python bindings for fltk. We
have been struggling for some time with the signature of
Fl_Valuator::format(), which does not lend itself very nicely for
wrapping into other languages. Besides, as the comments in
Fl_Valuator.cxx explain, the signature is basically incomplete because
the buffer length is missing.
As it seems that for fltk1.5 some newer C++ concepts are being
supported, I have tried to create a patch for fltk1.5 by adding a new
method with the following signature:
const std::string format_str();
to replace the current:
int format(char*);
The idea being that Fl_Valuator::format() could be deprecated first and
then removed at a later point.
If you want to have a closer look, the patch can be found here:
https://github.com/AndreasHeld62/fltk/tree/format_patch
If this is something that would be acceptable to the core developers, I
would be happy to create a pull request.
Best regards
Andreas