> I'm going to try and post a summary of the code.

OK - that was probably longer than I expected, and is incomplete so
there is no way I can compile and test it.
Did you look at the How-to here?

http://www.fltk.org/articles.php?L468


That includes a crude worked example of loading, displaying and
modifying an image file. Seems that should be relevant to your case.

Anyway - some comments:

>         fl_register_images();
>         Fl::args(argc,argv,i,arg);


I would never call these from within the class constructor.

They should be called once, from main(), at startup. And certainly
*before* you start to instantiate any fltk objects.
...and that's about it, actually. From what you posted, I can't see
anything that looks heinously wrong, so I don't know why it is not
working for you.

********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************

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

Reply via email to