summaryrefslogtreecommitdiff
path: root/src/particle/particle.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-22 14:21:27 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-22 14:21:27 +0300
commit48646db55005a0da079bd2c945875dc8225e2f86 (patch)
tree4d7b18cb201682cbb32f1f1677a0935a8e7928a4 /src/particle/particle.h
parent9c12fcdfe590f34543fcecc2691b625c408f1746 (diff)
downloadmanaplus-48646db55005a0da079bd2c945875dc8225e2f86.tar.gz
manaplus-48646db55005a0da079bd2c945875dc8225e2f86.tar.bz2
manaplus-48646db55005a0da079bd2c945875dc8225e2f86.tar.xz
manaplus-48646db55005a0da079bd2c945875dc8225e2f86.zip
Move color into gui dir.
Diffstat (limited to 'src/particle/particle.h')
-rw-r--r--src/particle/particle.h13
1 files changed, 4 insertions, 9 deletions
diff --git a/src/particle/particle.h b/src/particle/particle.h
index f69770513..491232b17 100644
--- a/src/particle/particle.h
+++ b/src/particle/particle.h
@@ -30,16 +30,11 @@
#include <list>
#include <string>
+class Color;
+class Font;
class Particle;
class ParticleEmitter;
-namespace gcn
-{
- class Color;
-}
-
-class Font;
-
typedef std::list<Particle *> Particles;
typedef Particles::iterator ParticleIterator;
typedef Particles::const_iterator ParticleConstIterator;
@@ -136,7 +131,7 @@ class Particle : public Actor
*/
Particle *addTextSplashEffect(const std::string &text,
const int x, const int y,
- const gcn::Color *const color,
+ const Color *const color,
Font *const font,
const bool outline = false);
@@ -145,7 +140,7 @@ class Particle : public Actor
*/
Particle *addTextRiseFadeOutEffect(const std::string &text,
const int x, const int y,
- const gcn::Color *const color,
+ const Color *const color,
Font *const font,
const bool outline = false);