[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-games-devel
Subject:    Re: [Kde-games-devel] bug ? in libkdegames
From:       Albert Astals Cid <aacid () kde ! org>
Date:       2007-05-15 20:35:44
Message-ID: 200705152235.46105.aacid () kde ! org
[Download RAW message or body]

A Dimarts 15 Maig 2007, Paolo Capriotti va escriure:
> On 5/15/07, Anarky <anarky@ifrance.com> wrote:
> >  - since KGameCanvasGroup doesn't reimplement this method, the default
> > KGameCanvasItem's version is called
>
> KGameCanvasGroup does override paintInternal, that's why paint should
> never be called. Did kbattleship actually execute that assertion?

Not really

paintInternal(QPainter* p, const QRect& prect, const QRegion& preg,
QPoint delta, double cumulative_opacity);

should be 

paintInternal(QPainter* p, const QRect& prect, const QRegion& preg,
const QPoint &delta, double cumulative_opacity);

to match KGameCanvasItem declaration, but changing that makes the 
KGameCanvasGroup function not compile as it calls += over delta.

Can you fix that?

Albert


>
> Paolo
> _______________________________________________
> kde-games-devel mailing list
> kde-games-devel@kde.org
> https://mail.kde.org/mailman/listinfo/kde-games-devel


_______________________________________________
kde-games-devel mailing list
kde-games-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-games-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic