summaryrefslogtreecommitdiffstats
path: root/pokemod/Sprite.cpp
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2008-08-27 04:26:53 +0000
committerBen Boeckel <MathStuf@gmail.com>2008-08-27 04:26:53 +0000
commit1fe11fc794783370d8a03a93979b27508278b113 (patch)
tree3cadc4423a209b203f5d37e6756cb87ca99c3876 /pokemod/Sprite.cpp
parent31601349dff4b78a03bda0912d8d79b43eae42b0 (diff)
downloadsigen-1fe11fc794783370d8a03a93979b27508278b113.tar.gz
sigen-1fe11fc794783370d8a03a93979b27508278b113.tar.xz
sigen-1fe11fc794783370d8a03a93979b27508278b113.zip
[FIX] Fixed method in SoundWrapper to be more accurate
[FIX] QImage is now used internally instead of QPixmap [FIX] Template specialization moved to header file for Object (makes MinGW happy) git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@246 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'pokemod/Sprite.cpp')
-rw-r--r--pokemod/Sprite.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/pokemod/Sprite.cpp b/pokemod/Sprite.cpp
index 3ca64fc5..2000bf86 100644
--- a/pokemod/Sprite.cpp
+++ b/pokemod/Sprite.cpp
@@ -80,7 +80,7 @@ void Pokemod::Sprite::setName(const QString& name)
CHECK(name);
}
-void Pokemod::Sprite::setSprite(const QPixmap& sprite)
+void Pokemod::Sprite::setSprite(const QImage& sprite)
{
m_sprite = sprite;
emit(changed());
@@ -91,7 +91,7 @@ QString Pokemod::Sprite::name() const
return m_name;
}
-QPixmap Pokemod::Sprite::sprite() const
+QImage Pokemod::Sprite::sprite() const
{
return m_sprite;
}