summaryrefslogtreecommitdiff
path: root/src/text.h
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2008-10-23 12:08:44 +0000
committerIra Rice <irarice@gmail.com>2008-10-23 12:08:44 +0000
commit5b70e7729229317acfd1b8f79e8eb1b90870827b (patch)
tree1a5e5c2ef5390a2ec48324ffe351d5eb425863e8 /src/text.h
parent7a88c394584cb02cec8d1d7eb70ac2020e033d41 (diff)
downloadmana-client-5b70e7729229317acfd1b8f79e8eb1b90870827b.tar.gz
mana-client-5b70e7729229317acfd1b8f79e8eb1b90870827b.tar.bz2
mana-client-5b70e7729229317acfd1b8f79e8eb1b90870827b.tar.xz
mana-client-5b70e7729229317acfd1b8f79e8eb1b90870827b.zip
Removed a few compiler warnings.
Diffstat (limited to 'src/text.h')
-rw-r--r--src/text.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/text.h b/src/text.h
index 67454e30..0de495e0 100644
--- a/src/text.h
+++ b/src/text.h
@@ -57,7 +57,7 @@ class Text
virtual void
draw(Graphics *graphics, int xOff, int yOff);
- private:
+ protected:
int mX; /**< Actual x-value of left of text written */
int mY; /**< Actual y-value of top of text written */
@@ -78,6 +78,11 @@ class FlashText : public Text
gcn::Color colour);
/**
+ * Remove the text from the screen
+ */
+ ~FlashText();
+
+ /**
* Flash the text for so many refreshes
*/
void flash(int time) {mTime = time; }