summaryrefslogtreecommitdiff
path: root/src/gui/itemshortcutcontainer.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2008-04-29 09:10:43 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2008-04-29 09:10:43 +0000
commit567d35731d8cca0e535f23652b8fbe050a629f91 (patch)
tree260e523fd2f0494369bd28c72cc1e7155690d680 /src/gui/itemshortcutcontainer.cpp
parent5943323aff9db6c1405177478564072e9d2214b3 (diff)
downloadmana-567d35731d8cca0e535f23652b8fbe050a629f91.tar.gz
mana-567d35731d8cca0e535f23652b8fbe050a629f91.tar.bz2
mana-567d35731d8cca0e535f23652b8fbe050a629f91.tar.xz
mana-567d35731d8cca0e535f23652b8fbe050a629f91.zip
* Fixed issue with determining whether chat input is focused (method no longer
virtual). * Fixed sometimes rendering with the wrong font. * Fixed warnings about hiding virtual method, Window now always deletes its children (the option not to do so was never used anyway).
Diffstat (limited to 'src/gui/itemshortcutcontainer.cpp')
-rw-r--r--src/gui/itemshortcutcontainer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/itemshortcutcontainer.cpp b/src/gui/itemshortcutcontainer.cpp
index 4c376718..50f45dee 100644
--- a/src/gui/itemshortcutcontainer.cpp
+++ b/src/gui/itemshortcutcontainer.cpp
@@ -76,6 +76,8 @@ ItemShortcutContainer::draw(gcn::Graphics *graphics)
{
Graphics *g = static_cast<Graphics*>(graphics);
+ graphics->setFont(getFont());
+
for (int i = 0; i < mMaxItems; i++)
{
const int itemX = (i % mGridWidth) * mBoxWidth;