Revision 655212

Go back to digest for 22nd April 2007

Features in Games

Mark A. Taff committed changes in /trunk/KDE/kdegames/libkdegames:

KGameSvgDigits displays a string of digits using SVG themes.

Currently, only the individual digits style works. I need to do a little bit more work in code and svg before the 7 & 14 digit themes work.

I'm not that happy with this directory layout, so please do feel free to improve things if you have more elegant layout. :-)

Note that right now the default size of the digits is HUGE! This is to help me notice rendering artifacts.

TODO:
--7 & 14 digit themes
--copy ctor, assignment operator
--better apidox w/ more examples
--have the test actually test the interface ;-)

File Changes

Added 10 files
  • /trunk/KDE/kdegames/libkdegames
  •   /digits
  •   /digits/CMakeLists.txt
  •   /digits/kgamesvgdigits.cpp
  •   /digits/kgamesvgdigits.h
  •   /digits/README
  •   /digits/themes
  •   /tests/kgamesvgdigitstest.cpp
  •   /tests/kgamesvgdigitstest.h
  •   /tests/kgamesvgdigitstest.svg
  •   /digits/themes/individual-digit-sample.svg
Modified 2 files
  • /trunk/KDE/kdegames/libkdegames
  •   /CMakeLists.txt
  •   /tests/CMakeLists.txt
12 files changed in total