summaryrefslogtreecommitdiff
path: root/src/graphics.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2010-02-08 16:31:46 -0700
committerJared Adams <jaxad0127@gmail.com>2010-02-08 16:31:46 -0700
commit401f9598674216edb373c647596ea92a63bc65b2 (patch)
tree02f57b51f9e0642227ed2c3f4696524443ff7086 /src/graphics.h
parent308302f858d24d2cc1b1601b100324e2baa50765 (diff)
downloadmana-401f9598674216edb373c647596ea92a63bc65b2.tar.gz
mana-401f9598674216edb373c647596ea92a63bc65b2.tar.bz2
mana-401f9598674216edb373c647596ea92a63bc65b2.tar.xz
mana-401f9598674216edb373c647596ea92a63bc65b2.zip
Fix finding width of bold text
Diffstat (limited to 'src/graphics.h')
-rw-r--r--src/graphics.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/graphics.h b/src/graphics.h
index 3adc0ebc..8bacfb9c 100644
--- a/src/graphics.h
+++ b/src/graphics.h
@@ -193,6 +193,8 @@ class Graphics : public gcn::SDLGraphics
*/
virtual SDL_Surface *getScreenshot();
+ gcn::Font *getFont() { return mFont; }
+
protected:
SDL_Surface *mScreen;
int mWidth;