summaryrefslogtreecommitdiff
path: root/src/particle/textparticle.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-16 22:17:22 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-16 22:17:22 +0300
commit6e6c5b2ba399e0ed364ada843c4c759ee54de219 (patch)
tree562e6a840c856ba8c4d35c6806020289c65d54d2 /src/particle/textparticle.h
parent82ac4641828ec7387863bb18cf4493190c4cc68f (diff)
downloadmanaplus-6e6c5b2ba399e0ed364ada843c4c759ee54de219.tar.gz
manaplus-6e6c5b2ba399e0ed364ada843c4c759ee54de219.tar.bz2
manaplus-6e6c5b2ba399e0ed364ada843c4c759ee54de219.tar.xz
manaplus-6e6c5b2ba399e0ed364ada843c4c759ee54de219.zip
combine font classes in one.
Diffstat (limited to 'src/particle/textparticle.h')
-rw-r--r--src/particle/textparticle.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/particle/textparticle.h b/src/particle/textparticle.h
index eb8a160e1..0d598508d 100644
--- a/src/particle/textparticle.h
+++ b/src/particle/textparticle.h
@@ -33,7 +33,7 @@ class TextParticle final : public Particle
*/
TextParticle(const std::string &text,
const gcn::Color *const color,
- gcn::Font *const font, const bool outline = false);
+ Font *const font, const bool outline = false);
A_DELETE_COPY(TextParticle)
@@ -53,7 +53,7 @@ class TextParticle final : public Particle
private:
std::string mText; /**< Text of the particle. */
- gcn::Font *mTextFont; /**< Font used for drawing the text. */
+ Font *mTextFont; /**< Font used for drawing the text. */
const gcn::Color *mColor; /**< Color used for drawing the text. */
int mTextWidth;
bool mOutline; /**< Make the text better readable */