summaryrefslogtreecommitdiff
path: root/src/gui/sdlfont.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-22 14:18:43 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-22 15:54:34 +0300
commit87b21ba61d7a8c322d658bd6b8d9f75b9e711263 (patch)
treeab46b6ed6506365093c3e2a71bcbe985a7cc5b28 /src/gui/sdlfont.h
parent9f2cf7c95cfce3f735b43bfedc9f87be929e7c35 (diff)
downloadplus-87b21ba61d7a8c322d658bd6b8d9f75b9e711263.tar.gz
plus-87b21ba61d7a8c322d658bd6b8d9f75b9e711263.tar.bz2
plus-87b21ba61d7a8c322d658bd6b8d9f75b9e711263.tar.xz
plus-87b21ba61d7a8c322d658bd6b8d9f75b9e711263.zip
load fonts in separate function.
Diffstat (limited to 'src/gui/sdlfont.h')
-rw-r--r--src/gui/sdlfont.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/sdlfont.h b/src/gui/sdlfont.h
index 8bab3e3f1..eedc4c6e0 100644
--- a/src/gui/sdlfont.h
+++ b/src/gui/sdlfont.h
@@ -149,6 +149,8 @@ class SDLFont final : public gcn::Font
static bool mSoftMode;
private:
+ static TTF_Font *openFont(const char *const name, const int size);
+
TTF_Font *mFont;
unsigned mCreateCounter;
unsigned mDeleteCounter;