diff options
| author | Ben Boeckel <MathStuf@gmail.com> | 2008-08-27 04:26:53 +0000 |
|---|---|---|
| committer | Ben Boeckel <MathStuf@gmail.com> | 2008-08-27 04:26:53 +0000 |
| commit | 1fe11fc794783370d8a03a93979b27508278b113 (patch) | |
| tree | 3cadc4423a209b203f5d37e6756cb87ca99c3876 /pokemod/Sprite.cpp | |
| parent | 31601349dff4b78a03bda0912d8d79b43eae42b0 (diff) | |
| download | sigen-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.cpp | 4 |
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; } |
