[ubuntu-art] Humanity for Quadrapassel
Chris Tooley
euxneks at gmail.com
Fri Jan 8 03:24:31 GMT 2010
>>> On Thu, Jan 7, 2010 at 7:40 AM, Kenneth Wimer <kwwii at ubuntu.com> wrote:
>>> > On Thursday 07 January 2010 04:32:50 pm Merk wrote:
>>> >> The only thing that maybe looks relevant is "renderer.cpp", but that's
>>> >> so
>>> >> much code I can't make heads or tails of it.
>>> >> I guess I was foolish to think that since the background was an easily
>>> >> replaceable file, that the blocks would be too.
>>> >> It feels like I wasted my time on it, since I have no idea how to apply
>>> >> it,
>>> >> and documentation is awful.
Ah, Also found it browseable online...
In any case, relevant code for those who are interested:
http://git.gnome.org/browse/gnome-games/tree/quadrapassel/renderer.cpp#n103
basically, the renderer is hard coding the look and feel in terms of
cairo objects. You won't be able to style them with external SVG
unless someone writes a styling engine. At least, that's what it looks
like to me. :)
Next step would be to talk to the gnome-game maintainers to see if
they want to enable skinning of cairo game objects in their code, or,
at least, in quadrapassel, but I would assume that skinning on all
apps would be a more useful and interesting endeavour.
Hope this helps!
-Chris
More information about the ubuntu-art
mailing list