MacArthur, Ian (SELEX) (UK) wrote:
>> Is there something a sort of compound widget that
>> automatically puts a scroll-bar when the image is
>> large and takes care of the scrolling?
>>
>> If its not there yet, can someone point me on how to build
>> one quickly with existing FLTK lib? I definitely need an
>> OpenGL flavor to it (i.e glut & probably FL_GL_Window)
> 
> In principle, you can just embed your image widget in an Fl_Scroll and
> things should work. Best place to see this might be Greg's tips page -
> try this one for starters, but check the others too for more tips:
> 
> http://www.seriss.com/people/erco/fltk/#FltkScrollingCanvas

        This one is probably what the OP is looking for:
        http://seriss.com/people/erco/fltk/#ScrollableImage
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to