Thank you for your long answer... even if it does not help much...
as the jagg effect still exists when using the scrollbars... as it does 
in my code.

i'll try to explain in more detail what i want to do.
I want to create a "geographic map" widget that allows to show a bitmap 
map in background. The size of the bitmap may be bigger than the 
available area... That's why i'm using a scroll widget in order to 
enable exploring the full picture. That particular point works well.

Now, the compass (which indicates the true North direction on the 
bitmap) is an overlay that i want at a fix position in the display area 
(i dont want it to scroll with the bitmap...).
The fact that the compass is shown or not is controlled by the 
m_ShowCompass boolean, and the m_NorthOffset double value is used to 
represent the direction of the true North.

When is use your code, the behaviour is exactly the same as with mine...
When using the scrollbars, the widget does not remove the old drawings 
before drawing the new one...

Hope this makes my issue understandable...
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to