KDEGames
kgamerendererclient.cpp
15KGameRendererClientPrivate::KGameRendererClientPrivate(KGameRenderer *renderer, const QString &spriteKey, KGameRendererClient *parent)
An object that receives pixmaps from a KGameRenderer.
Definition kgamerendererclient.h:42
void setCustomColors(const QHash< QColor, QColor > &customColors)
Defines the custom color replacements for this client.
Definition kgamerendererclient.cpp:121
void setSpriteKey(const QString &spriteKey)
Defines the key of the sprite which is rendered by this client.
Definition kgamerendererclient.cpp:53
QHash< QColor, QColor > customColors() const
Definition kgamerendererclient.cpp:114
void setRenderSize(QSize renderSize)
Defines the size of the pixmap that will be requested from KGameRenderer.
Definition kgamerendererclient.cpp:104
KGameRendererClient(KGameRenderer *renderer, const QString &spriteKey)
Creates a new client which receives pixmaps for the sprite with the given spriteKey as provided by th...
Definition kgamerendererclient.cpp:22
void setFrame(int frame)
For animated sprites, render another frame.
Definition kgamerendererclient.cpp:77
singleShot
Q_D(Todo)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Oct 11 2024 12:12:34 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Oct 11 2024 12:12:34 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.