summaryrefslogtreecommitdiff
path: root/src/gui/browserbox.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-06-19 20:20:10 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-06-19 20:20:10 +0000
commit9db14810dd0387f1fa63a4e3bba9b05947bd5d9f (patch)
tree24d38c81819003aaebc631d13828db29ecf591d6 /src/gui/browserbox.h
parentcc8d54427a4c4ebfdd403219403c381df27647dd (diff)
downloadmana-9db14810dd0387f1fa63a4e3bba9b05947bd5d9f.tar.gz
mana-9db14810dd0387f1fa63a4e3bba9b05947bd5d9f.tar.bz2
mana-9db14810dd0387f1fa63a4e3bba9b05947bd5d9f.tar.xz
mana-9db14810dd0387f1fa63a4e3bba9b05947bd5d9f.zip
Prevent deleting guiFont twice in non-OpenGL mode.
Diffstat (limited to 'src/gui/browserbox.h')
-rw-r--r--src/gui/browserbox.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/browserbox.h b/src/gui/browserbox.h
index 8ac5a54c..45f5b25f 100644
--- a/src/gui/browserbox.h
+++ b/src/gui/browserbox.h
@@ -65,17 +65,17 @@ class BrowserBox : public gcn::Widget, public gcn::MouseListener
* Sets the Highlight mode for links.
*/
void setHighlightMode(unsigned int highMode);
-
+
/**
* Adds a text row to the browser.
*/
void addRow(const std::string& row);
-
+
/**
* Remove all rows.
*/
void clearRows();
-
+
/**
* Handles mouse actions.
*/
@@ -131,7 +131,7 @@ class BrowserBox : public gcn::Widget, public gcn::MouseListener
BOTH
};
- private:
+ private:
std::vector<std::string> mTextRows;
std::vector<BROWSER_LINK> mLinks;
LinkHandler *mLinkHandler;
@@ -139,7 +139,7 @@ class BrowserBox : public gcn::Widget, public gcn::MouseListener
unsigned int mHighMode;
bool mOpaque;
int mSelectedLink;
-
+
static int instances; /**< Number of Window instances */
static gcn::ImageFont* browserFont;
};