diff options
Diffstat (limited to 'src/text.h')
-rw-r--r-- | src/text.h | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -24,7 +24,6 @@ #define TEXT_H #include "graphics.h" -#include "guichanfwd.h" #include <guichan/color.hpp> @@ -40,7 +39,8 @@ class Text */ Text(const std::string &text, int x, int y, gcn::Graphics::Alignment alignment, - const gcn::Color *color, bool isSpeech = false); + const gcn::Color *color, bool isSpeech = false, + gcn::Font *font = 0); /** * Destructor. The text is removed from the screen. @@ -84,7 +84,8 @@ class FlashText : public Text public: FlashText(const std::string &text, int x, int y, gcn::Graphics::Alignment alignment, - const gcn::Color* color); + const gcn::Color* color, + gcn::Font *font = 0); /** * Remove the text from the screen |