On 07.04.2010, at 17:03, w. szukalski wrote:

> 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.

You need to tell the scroll to redraw by calling myScroll->redraw();

It will then rerender the its content at the next occasion.

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

Reply via email to