summaryrefslogtreecommitdiff
path: root/src/text.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-15 20:31:52 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-15 20:31:52 +0300
commit29f929794c7519b049de0be3af635f05d7e83be6 (patch)
tree5627bfcb7f19a349f065c207476c871bc5c3aa40 /src/text.h
parent41d545176ffad2fb33158ca3415d2a0a983fffdb (diff)
downloadplus-29f929794c7519b049de0be3af635f05d7e83be6.tar.gz
plus-29f929794c7519b049de0be3af635f05d7e83be6.tar.bz2
plus-29f929794c7519b049de0be3af635f05d7e83be6.tar.xz
plus-29f929794c7519b049de0be3af635f05d7e83be6.zip
move some methods from base/graphics into render/graphics.
Remove base/graphcs.
Diffstat (limited to 'src/text.h')
-rw-r--r--src/text.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/text.h b/src/text.h
index ed980e588..b21ca51a7 100644
--- a/src/text.h
+++ b/src/text.h
@@ -30,6 +30,11 @@
#include "localconsts.h"
+namespace gcn
+{
+ class Font;
+}
+
class Text
{
friend class TextManager;
@@ -39,7 +44,7 @@ class Text
* Constructor creates a text object to display on the screen.
*/
Text(const std::string &text, const int x, const int y,
- const gcn::Graphics::Alignment alignment,
+ const Graphics::Alignment alignment,
const gcn::Color *const color, const bool isSpeech = false,
gcn::Font *const font = nullptr);
@@ -90,7 +95,7 @@ class FlashText final : public Text
{
public:
FlashText(const std::string &text, const int x, const int y,
- const gcn::Graphics::Alignment alignment,
+ const Graphics::Alignment alignment,
const gcn::Color *const color,
gcn::Font *const font = nullptr);