KDEGames
kgamerendererclient.h
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
virtual void receivePixmap(const QPixmap &pixmap)=0
This method is called when the KGameRenderer has provided a new pixmap for this client (esp.
void setFrame(int frame)
For animated sprites, render another frame.
Definition kgamerendererclient.cpp:77
QRgb rgba() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 31 2025 11:52:44 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 31 2025 11:52:44 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.