libkdegames
kgamerendereditem.cpp
Go to the documentation of this file.
26 KGameRenderedItem::KGameRenderedItem(KGameRenderer* renderer, const QString& spriteKey, QGraphicsItem* parent)
An object that receives pixmaps from a KGameRenderer.
Definition: kgamerendererclient.h:50
KGameRenderedItem(KGameRenderer *renderer, const QString &spriteKey, QGraphicsItem *parent=0)
Creates a new KGameRenderedItem which renders the sprite with the given spriteKey as provided by the ...
Definition: kgamerendereditem.cpp:26
void setCacheMode(CacheMode mode, const QSize &logicalCacheSize)
void setPixmap(const QPixmap &pixmap)
virtual void receivePixmap(const QPixmap &pixmap)
This method is called when the KGameRenderer has provided a new pixmap for this client (esp...
Definition: kgamerendereditem.cpp:39
virtual ~KGameRenderedItem()
Definition: kgamerendereditem.cpp:34
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:18:42 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:18:42 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.