summaryrefslogtreecommitdiff
path: root/src/gui/browserbox.h
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2006-02-16 14:38:51 +0000
committerBjörn Steinbrink <B.Steinbrink@gmx.de>2006-02-16 14:38:51 +0000
commit2ce07c27bbd6bd500d043527a0d892e3d32c36d8 (patch)
tree4e91d3945c0968f15dffa0045a5c9c1a01e2e324 /src/gui/browserbox.h
parentac08acd4b4029a2519c81eecf938e1c03b51233c (diff)
downloadmana-2ce07c27bbd6bd500d043527a0d892e3d32c36d8.tar.gz
mana-2ce07c27bbd6bd500d043527a0d892e3d32c36d8.tar.bz2
mana-2ce07c27bbd6bd500d043527a0d892e3d32c36d8.tar.xz
mana-2ce07c27bbd6bd500d043527a0d892e3d32c36d8.zip
Use Widget::mFont instead of browserFont for drawing, fixes the "gui needs to be valid real early" issue.
Diffstat (limited to 'src/gui/browserbox.h')
-rw-r--r--src/gui/browserbox.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/browserbox.h b/src/gui/browserbox.h
index ccef76e5..2897ee96 100644
--- a/src/gui/browserbox.h
+++ b/src/gui/browserbox.h
@@ -152,8 +152,10 @@ class BrowserBox : public gcn::Widget, public gcn::MouseListener
bool mUseLinksAndUserColors;
int mSelectedLink;
+#ifdef USE_OPENGL
static int instances; /**< Number of Window instances */
static gcn::ImageFont* browserFont;
+#endif
};
#endif