[Panel-devel] Starting work on background

Sean Harmer sh at theharmers.co.uk
Sat Oct 27 01:42:46 CEST 2007


Hi Aaron,

I've spent the evening looking at the plasma source code as promised and have 
started hacking around with the background drawing code. Please find attached 
a patch that refactors the current background rendering code out of 
Plasma::Containment and into DefaultBackground. I've followed the suggestion 
in the comments and have moved the loading/scaling code into 
defaultBackground::constraintsUpdated().

Is this OK to commit? If this is OK I'll start to look at optimising the 
blitting of regions of SVG's rather than painting the whole thing every time.

Kind regards,

Sean
-------------- next part --------------
A non-text attachment was scrubbed...
Name: move-to-background.patch
Type: text/x-diff
Size: 9980 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20071027/694a1bf7/attachment.bin 


More information about the Panel-devel mailing list