[Kde-games-devel] ksnake patches :)

Henry Malthus henry.malthus at gmail.com
Wed Sep 6 16:08:53 CEST 2006


Hello,

I recently switched back to KDE, figured I'd do some programming to
hopefully help out a little bit.

I've attached 3 patches:

The first one ksnake.patch is a tiny patch to make the progress bar
take up the full width of the window, I'm not sure why it doesn't
currently (there is a 5px gap between window border and the progress
bar)

The second one, kgameprogress.patch is a fix to make
libkdegames/KGameProgress work again, it seems drawContents doesn't
get called in Qt4, so I've switched it to a paintEvent.

And the final patch fixes a wish to have Nokia-style controls for
ksnake, using the '<' and '>' keys for turning the snake:

http://bugs.kde.org/show_bug.cgi?id=55502

I've tested them all - albeit somewhat briefly - and they seem to work fine.

-- 
Henry Malthus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ksnake.patch
Type: text/x-patch
Size: 543 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-games-devel/attachments/20060907/a6c0589f/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kgameprogress.patch
Type: text/x-patch
Size: 2214 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-games-devel/attachments/20060907/a6c0589f/attachment-0001.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 55502-ksnake-wish.patch
Type: text/x-patch
Size: 3019 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-games-devel/attachments/20060907/a6c0589f/attachment-0002.bin 


More information about the kde-games-devel mailing list