summaryrefslogtreecommitdiff
path: root/src/gui/window.cpp
diff options
context:
space:
mode:
authorEugenio Favalli <elvenprogrammer@gmail.com>2007-09-10 07:46:51 +0000
committerEugenio Favalli <elvenprogrammer@gmail.com>2007-09-10 07:46:51 +0000
commitce2b0db3129cc4f3f20c322fd6c727ce663838cc (patch)
tree90a79ae61c7f231dd9fbd5dcd99c814b2ad3ab05 /src/gui/window.cpp
parent6635397f7a397bdd430fc062cc9e8c5bd3efed82 (diff)
downloadmana-ce2b0db3129cc4f3f20c322fd6c727ce663838cc.tar.gz
mana-ce2b0db3129cc4f3f20c322fd6c727ce663838cc.tar.bz2
mana-ce2b0db3129cc4f3f20c322fd6c727ce663838cc.tar.xz
mana-ce2b0db3129cc4f3f20c322fd6c727ce663838cc.zip
Added support for True Type Fonts.
Diffstat (limited to 'src/gui/window.cpp')
-rw-r--r--src/gui/window.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/window.cpp b/src/gui/window.cpp
index 3e6e1bac..84f4466c 100644
--- a/src/gui/window.cpp
+++ b/src/gui/window.cpp
@@ -173,6 +173,7 @@ void Window::draw(gcn::Graphics *graphics)
// Draw title
if (getTitleBarHeight())
{
+ graphics->setColor(gcn::Color(0, 0, 0));
graphics->setFont(getFont());
graphics->drawText(getCaption(), 7, 5, gcn::Graphics::LEFT);
}