In a PhAB created application, the main window contains a PtRaw. Redraw is
done correctly with the callback, but when I want to animate the widget
using timer it doesn’t draw in the correct area.
I created a function to update the widget I want to do a total redraw of the
widget, in which I call
PtCalcCanvas
PtDamageExtent
PtSuperClassDraw
and then PtClipAdd, draw and PtClipRemove
The whole PtDraw widget has moved up and overdraws the menu as well as the
button bar! The ptCalcCanvas returns the same values in each case.
In a PhAB created application, the main window contains a PtRaw. Redraw is
done correctly with the callback, but when I want to animate the widget
using timer it doesn’t draw in the correct area.
I created a function to update the widget I want to do a total redraw of
the
widget, in which I call
PtCalcCanvas
PtDamageExtent
PtSuperClassDraw
and then PtClipAdd, draw and PtClipRemove
The whole PtDraw widget has moved up and overdraws the menu as well as the
button bar! The ptCalcCanvas returns the same values in each case.