[Kde-games-devel] Unify pixmap caching across card games
Andreas Pakulat
apaku at gmx.de
Tue Jan 8 17:58:53 CET 2008
On 06.01.08 11:57:05, Andreas Pakulat wrote:
> Hi,
>
> I've started to work on unifying the pixmap caching across card games,
> currently that involves kpat and lskat which are in kdegames presently.
>
> I'm planning to use KPixmapCache behind the scenes instead of any custom
> caching method for the pre-rendered SVG's. For this to work well across
> all card games I've created a new class CardCache in libkdegames and I'd
> like to have a discussion about the API.
>
> The attached file contains the header of this class including api dox,
> so please have a look and send your comments.
Another update on the files, this time I include the whole bunch, i.e.
header and implementation. I'm currently thinking about making loadTheme
not cancel the last call to it, but instead do that only if the LoadInfo
is the same. If a different loadinfo or theme is used it'll schedule
another thread.
Andreas
--
Tuesday is the Wednesday of the rest of your life.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cardcache.cpp
Type: text/x-c++src
Size: 13776 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-games-devel/attachments/20080108/b700d9cc/attachment-0003.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cardcache.h
Type: text/x-chdr
Size: 5665 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-games-devel/attachments/20080108/b700d9cc/attachment-0004.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cardcache_p.h
Type: text/x-chdr
Size: 1579 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-games-devel/attachments/20080108/b700d9cc/attachment-0005.bin
More information about the kde-games-devel
mailing list