Duncan Gibson wrote:
> So I've incorporated the fl_draw() call in an old example that I
> posted several years ago. Basically I want something simple like:
> 
>     char buffer[32];
>     sprintf(buffer, "%d", value);
>     fl_draw(buffer, x() + 30, y() + 30);

Hi Duncan!

        Don't forget to set the font ;) eg. fl_font().

        FLTK will crash if the font isn't set before the fl_draw() call.
        

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to