[PATCH] Fifteen puzzle sizing change (and other fixes)

Anthony Bryant antjbryant at gmail.com
Mon Sep 8 03:01:26 CEST 2008


Finally got around to learning enough C++ and Qt to implement the svg
changes.

There is one difference from the suggestions though...
I didn't completely abandon the pixmap support, as I'm not sure how to split
a user-selected image into elements in a Plasma::Svg
Basically what it does now is use a Plasma::Svg for drawing pieces in
identical mode, and swap to a pixmap for custom images.
I made sure it actually resizes the whole puzzle and updates the images on
the pieces instead of doing a scale() transform, so there shouldn't be any
chance of ugliness as it scales.

I hope someone has time to look though this, as it is quite a large patch,
and possibly commit it for me.

Thanks,
Anthony.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/plasma-devel/attachments/20080908/68ada21e/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Fifteen.diff
Type: text/x-diff
Size: 12129 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20080908/68ada21e/attachment.bin 


More information about the Plasma-devel mailing list