From 21d85f8726ad4a15702005247e5241a2056cbbc8 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Sat, 18 Apr 2009 21:44:45 +0200 Subject: 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. --- src/gui/widgets/browserbox.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/gui/widgets/browserbox.h') 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 */ }; /** -- cgit v1.2.3-70-g09d2