summaryrefslogtreecommitdiff
path: root/src/gui/widgets/browserbox.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-18 21:44:45 +0200
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-18 21:44:45 +0200
commit21d85f8726ad4a15702005247e5241a2056cbbc8 (patch)
treef3417662c15710e0b25e8289a58123d1ed2c31bb /src/gui/widgets/browserbox.h
parenta0f7bc231d9c348ba86248dd8d0adfddbce453f7 (diff)
downloadmana-21d85f8726ad4a15702005247e5241a2056cbbc8.tar.gz
mana-21d85f8726ad4a15702005247e5241a2056cbbc8.tar.bz2
mana-21d85f8726ad4a15702005247e5241a2056cbbc8.tar.xz
mana-21d85f8726ad4a15702005247e5241a2056cbbc8.zip
Restored support for build-in colors to BrowserBox
Now the BrowserBox can again display 9 build-in (non configurable) colors, used for example in the client news and the help window.
Diffstat (limited to 'src/gui/widgets/browserbox.h')
-rw-r--r--src/gui/widgets/browserbox.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gui/widgets/browserbox.h b/src/gui/widgets/browserbox.h
index 090c03e1..42af5b11 100644
--- a/src/gui/widgets/browserbox.h
+++ b/src/gui/widgets/browserbox.h
@@ -113,13 +113,11 @@ class BrowserBox : public gcn::Widget, public gcn::MouseListener
* NOTES (by Javila):
* - color values is "0x" prefix followed by HTML color style.
* - we can add up to 10 different colors: [0..9].
- * - we need a link and a highlighted link colors.
* - not all colors will be fine with all backgrounds due transparent
* windows and widgets. So, I think it's better keep BrowserBox
* opaque (white background) by default.
*/
enum {
- BLACK = 0x000000, /**< Color 0 */
RED = 0xff0000, /**< Color 1 */
GREEN = 0x009000, /**< Color 2 */
BLUE = 0x0000ff, /**< Color 3 */
@@ -129,9 +127,6 @@ class BrowserBox : public gcn::Widget, public gcn::MouseListener
PURPLE = 0x8415e2, /**< Color 7 */
GRAY = 0x919191, /**< Color 8 */
BROWN = 0x8e4c17, /**< Color 9 */
- BGCOLOR = 0xffffff, /**< Bg color for opacity */
- LINK = 0xe50d0d, /**< Color L */
- HIGHLIGHT = 0xcacaca /**< Bg color for highlighted link */
};
/**