Revision 1289083(Back to digest)
Features in Games
Add the KgTheme framework.
The KGameRenderer API is adjusted to use a KgThemeProvider instead
of KGameTheme. To ensure that everything still compiles, games using
KGameRenderer are ported to KgTheme immediately.
Some comments about how the games were ported:
* KAtomic, Kolf, Kollision and KReversi don't install .desktop files for
their themes anymore. They are not really needed since there is only
one theme per game, but KGameRenderer previously required a .desktop
file for KGameTheme. KgTheme works with hardcoded SVG paths, too.
* I found that Granatier abuses the KGameRenderer framework in a quite
interesting way to add support for a fallback theme. The proper
solution is to integrate this functionality in KGameRenderer. This
commit does a very direct port to KgTheme only.