> I tried to make an image browser with Fl_Scroll and Fl_Button.
> 
> My code : http://nopaste.info/2b8b92cf0c.html
> 
> When i choose a directory, i call the loadDirectory function
> 
> gui->window is the Fl_Double_Window
> 
> 
> My problem : the Fl_Scroll isn't redrawn when i click on the 
> scrollbar. I have to iconify the application to get redrawn.
> 
> I tried to add a callback on change, but the callback isn't called.
> 
> Do you have any idea?

Maybe start by looking at the demos in the test folder, and at:

http://www.seriss.com/people/erco/fltk/#ScrollableImage 

Also the other examples there (on Greg's page) can be very useful.









SELEX Sensors and Airborne Systems Limited
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 
3EL
A company registered in England & Wales.  Company no. 02426132
********************************************************************
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