[Kde-games-devel] KGameRenderer Porting Experience

Aaron J. Seigo aseigo at kde.org
Mon Aug 2 18:22:01 CEST 2010


On August 2, 2010, Parker Coates wrote:
> I just thought of a scenario where my themeChangedAndReady() signal
> won't work. (Again, I'm sure this can be worked around. I'm just
> throwing out potential issues.) In Killbots, the NumericDisplayItem
> class is a KGameRenderedPixmapItem with a custom paint() method that
> draws text on top of the background pixmap. The colour used to draw
> the text is one of the cached properties I was talking about. So if

$0.02: 

text color is a very common thing in themes. not having that in the
base theme class sounds a bit broken, tbh. i wonder if the other such items
that are cached in your implementation are similarly common theme related
items that would, if moved into the base theme class, be used by other
 games.

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F
 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Development Frameworks

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kde-games-devel/attachments/20100802/ad64afe6/attachment.sig 


More information about the kde-games-devel mailing list