Hey Adam,

2009/5/7 Koen Deforche <[email protected]>:
> The current painting API (which kind of copies of Qt's) should be
> extended to provide this functionality, since I agree with you that it
> may make sense in some cases.
>
> It would be implemented as an option to WPaintedWidget that indicates
> that the current contents should not be erased before painting (more).
> This is what you would be looking for?

I've implemented this, and sits in the latest git:

The method update(PaintUpdate) will not cause a paint update instead
of full repaint. Inside the paintEvent(), you should check the paint
device's paintFlags() to see if you should only paint an update or
repaint the whole widget (when JavaScript is not available, you will
always need to repaint everything).

Regards,
koen

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to