I use fltk-1.3.x-r7339, linux, X11R7 . My application draws an image
into a 'class Canvas: public Fl_Group' that - for a large image -
has scrollbars. I use

   rgb->draw(clip_x - scroll_x, clip_y - scroll_y);

to draw an RGB image.

If the image is large, the scrollbars are shown. The scrollbars move.
But the image does not SEEM to move.

When I overlay the FLTK window with another window and then make the
FLTK window the top window again: then and only then the image is
shown to have moved. Fl_Image.cxx now sees the GraphicsExpose event.

I have made a lot of changes, have used fl_scroll(); no change was
able to move the image when the scrollbar moves. Fl_Image.cxx always
returns with a width of 0.

fltk-2.0 simply moves the contents of the Canvas. But fltk-1.3 is
stubborn.

What do I make wrong?

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

Reply via email to