diff options
author | Ira Rice <irarice@gmail.com> | 2008-12-29 14:02:01 -0700 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2008-12-29 14:06:41 -0700 |
commit | a5c8eae057746618443c788fcaa04221d8ad7ba4 (patch) | |
tree | ab104a2dd1f931730eef50365434b8ac0896ca8b /src/gui/window.cpp | |
parent | 6b680b60af9084767fd50737df763a89ca2c2919 (diff) | |
download | mana-a5c8eae057746618443c788fcaa04221d8ad7ba4.tar.gz mana-a5c8eae057746618443c788fcaa04221d8ad7ba4.tar.bz2 mana-a5c8eae057746618443c788fcaa04221d8ad7ba4.tar.xz mana-a5c8eae057746618443c788fcaa04221d8ad7ba4.zip |
Added support for True Type Fonts using GUIChan's inbuilt SDLTrueType
class.
NOTE: This commit adds a brand new dependency (SDL_TTF). Make sure to
install it, regenerate your config files, reconfigure, and then install
before attempting to compile.
Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/gui/window.cpp')
-rw-r--r-- | src/gui/window.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/window.cpp b/src/gui/window.cpp index cdace3ae..dee5832a 100644 --- a/src/gui/window.cpp +++ b/src/gui/window.cpp @@ -177,6 +177,7 @@ void Window::draw(gcn::Graphics *graphics) // Draw title if (mShowTitle) { + g->setColor(gcn::Color(0, 0, 0)); g->setFont(getFont()); g->drawText(getCaption(), 7, 5, gcn::Graphics::LEFT); } |