[Kde-games-devel] SVG and MainWindow resize handling
Andreas Pakulat
apaku at gmx.de
Sat Jan 19 13:52:35 CET 2008
On 19.01.08 21:37:25, Ian Wadham wrote:
> On Sat, 19 Jan 2008 07:22 pm, Andreas Pakulat wrote:
> > On 19.01.08 14:18:30, Ian Wadham wrote:
> > > I think the approach can be used in any KDE 4 game and probably in
> > > other apps that require substantial graphics processing during startup.
> > > I think it will also work if the main window library code gets changed,
> > > though I see no signs of that happening in the TechBase TODO lists.
> > > Any comments or feedback?
> >
> > a) Great Work.
> >
> Thanks Andreas ... :-)
>
> > b) Where's the patch or branch?
> >
> It's rev 762565 of kdegames/kgoldrunner on trunk. Previous rev
> of KGoldrunner was 762169. Rev 762565 involved small changes to
> the three main classes (6 files): main widget, canvas and game.
Thanks, I'll have a look later tonight.
Unrelated question: Do the svg games already use KPixmapCache for
caching the rendered svg's? IMHO that could speed up re-resizing the
app, i.e. if you change from maximization to "normal" size and back, as
in that case it would only reload a QPixmap instead of rerendering the
svg.
Andreas
--
You shall be rewarded for a dastardly deed.
More information about the kde-games-devel
mailing list