On 24.01.2011, at 06:45, james wrote:
>> 
>> Right on, that fixed it! Thanks a lot!
>> 
>> As an explanation, I'm making a an overview of a collection of heightmaps 
>> (for 3d landscapes) and well the optimizations of the Fl_Scroll are kind of 
>> glitchy when scrolling quickly. I noticed this when I was trying to put some 
>> dynamic data in there and it wasn't updating it.
>> 
>> 
> 
> 
> Okay, I totally lied there.

???

Anyway, the coorrect way to solve this here is to call redraw() on your widget 
whenever you want it changed, the override draw() and do there whatever you 
want. That will allow for hover effects and likely solve the scrolling issue 
too. It's the only correct way to draw dynamic data.

_______________________________________________
fltk mailing list
fltk@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to