This works for me; shows the image in a borderless window.
Code based on the buttons.cxx example.
#include <fltk/run.h>
#include <fltk/Window.h>
#include <fltk/SharedImage.h>
int main() {
fltk::register_images();
fltk::Window win(720,486);
win.border(0); // borderless window
win.image(*fltk::SharedImage::get("/var/tmp/foo.jpg"));
win.end();
win.show();
return(fltk::run());
}
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk