diff options
author | Philipp Sehmisch <tmw@crushnet.org> | 2007-05-23 21:45:43 +0000 |
---|---|---|
committer | Philipp Sehmisch <tmw@crushnet.org> | 2007-05-23 21:45:43 +0000 |
commit | 993c98c3813b2ad7caf3dcd9761b4c9a17de39b6 (patch) | |
tree | 08cad1b1c2e129f17da0e905248b7768173cc1f4 /src/textparticle.h | |
parent | 114e76641ccde78fcb9f4ca2fcf7c9a909e176ba (diff) | |
download | mana-993c98c3813b2ad7caf3dcd9761b4c9a17de39b6.tar.gz mana-993c98c3813b2ad7caf3dcd9761b4c9a17de39b6.tar.bz2 mana-993c98c3813b2ad7caf3dcd9761b4c9a17de39b6.tar.xz mana-993c98c3813b2ad7caf3dcd9761b4c9a17de39b6.zip |
The color values of text particles are now stored in 3 integers instead of a Guichan color structure.
Diffstat (limited to 'src/textparticle.h')
-rw-r--r-- | src/textparticle.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/textparticle.h b/src/textparticle.h index 3f3ca0ec..75e1f8b1 100644 --- a/src/textparticle.h +++ b/src/textparticle.h @@ -34,7 +34,7 @@ class TextParticle : public Particle { public: TextParticle(Map *map, const std::string &text, gcn::Font *font, - gcn::Color color); + int colorR, int colorG, int colorB); /** * Draws the particle image */ @@ -45,9 +45,9 @@ class TextParticle : public Particle virtual int getPixelY() const { return (int)(mPosY + mPosZ); } private: - std::string mText; /** Text of the particle */ - gcn::Font *mTextFont; /** Font used for drawing the text */ - gcn::Color mTextColor; /** Color used for drawing the text */ + std::string mText; /**< Text of the particle */ + gcn::Font *mTextFont; /**< Font used for drawing the text */ + int mColorR, mColorG, mColorB; /**< Color used for drawing the text */ }; #endif |