summaryrefslogtreecommitdiff
path: root/src/gui/browserbox.h
diff options
context:
space:
mode:
authorJosé Ávila <linux@javila.net>2005-07-03 02:52:20 +0000
committerJosé Ávila <linux@javila.net>2005-07-03 02:52:20 +0000
commita3beebb0a5b900d70e44b96e4679621dc9fd95f5 (patch)
tree80e307a7d2c0a0963f3344495cf40bdca3cd3d3c /src/gui/browserbox.h
parent675348d7e62292ed01175b8b001c6a99b207da53 (diff)
downloadmana-client-a3beebb0a5b900d70e44b96e4679621dc9fd95f5.tar.gz
mana-client-a3beebb0a5b900d70e44b96e4679621dc9fd95f5.tar.bz2
mana-client-a3beebb0a5b900d70e44b96e4679621dc9fd95f5.tar.xz
mana-client-a3beebb0a5b900d70e44b96e4679621dc9fd95f5.zip
Fix bug in showing links and user defined colors in chat box
Diffstat (limited to 'src/gui/browserbox.h')
-rw-r--r--src/gui/browserbox.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/browserbox.h b/src/gui/browserbox.h
index 45f5b25f..81771289 100644
--- a/src/gui/browserbox.h
+++ b/src/gui/browserbox.h
@@ -67,6 +67,11 @@ class BrowserBox : public gcn::Widget, public gcn::MouseListener
void setHighlightMode(unsigned int highMode);
/**
+ * Disable links & user defined colors to be used in chat input.
+ */
+ void disableLinksAndUserColors();
+
+ /**
* Adds a text row to the browser.
*/
void addRow(const std::string& row);
@@ -138,6 +143,7 @@ class BrowserBox : public gcn::Widget, public gcn::MouseListener
unsigned int mMode;
unsigned int mHighMode;
bool mOpaque;
+ bool mUseLinksAndUserColors;
int mSelectedLink;
static int instances; /**< Number of Window instances */