Skip to content
  • Stefan Majewsky's avatar
    Add the KgTheme framework. · 00d5b401
    Stefan Majewsky authored
    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.
    
    svn path=/trunk/KDE/kdegames/knetwalk/; revision=1289083
    00d5b401