[PATCH] Fifteen puzzle sizing change (and other fixes)
Aaron J. Seigo
aseigo at kde.org
Mon Sep 15 18:07:10 CEST 2008
On Monday 15 September 2008, Anthony Bryant wrote:
> I found another bug in the puzzle: double (or triple) clicking on a piece
ok, the patch is now committed; i also went through and made the "split
pixmap" version use an svg instead of a bitmap. now you can create an svg
where each tile has the id of piece_# where # is 0..15 and it works. you can
even put the image in the theme, though right now the configuration dialog
doesn't particular honor that. this meant i could get rid of all the pixmaps
hanging about.
i also simplified the code substantially in places. now the board responds to
resizeEvents which triggers an update of the pieces; piece updating is now
done all in just one method (updatePieces). as there is no longer any pixmap
handling, it's all just setting bools and sizes. nice and easy. =)
thanks for the patch and your patience in getting it merged. usually it
doesn't take that long (promise =)
--
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43
KDE core developer sponsored by Trolltech
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20080915/12cea869/attachment.sig
More information about the Plasma-devel
mailing list