diff options
author | Douglas Boffey <DougABoffey@netscape.net> | 2008-09-04 16:56:10 +0000 |
---|---|---|
committer | Douglas Boffey <DougABoffey@netscape.net> | 2008-09-04 16:56:10 +0000 |
commit | 7946cd875877870e7cab002cba099d21cf9fc063 (patch) | |
tree | 38dd4c1c4a766edda7b3156e2bc1af08dbd94a6a /src/gui/browserbox.h | |
parent | 27e8d20ad8b5590995d1d4af3563f8956f180373 (diff) | |
download | mana-client-7946cd875877870e7cab002cba099d21cf9fc063.tar.gz mana-client-7946cd875877870e7cab002cba099d21cf9fc063.tar.bz2 mana-client-7946cd875877870e7cab002cba099d21cf9fc063.tar.xz mana-client-7946cd875877870e7cab002cba099d21cf9fc063.zip |
Added code to change text colouring
Diffstat (limited to 'src/gui/browserbox.h')
-rw-r--r-- | src/gui/browserbox.h | 27 |
1 files changed, 5 insertions, 22 deletions
diff --git a/src/gui/browserbox.h b/src/gui/browserbox.h index 636fe5a0..c671d835 100644 --- a/src/gui/browserbox.h +++ b/src/gui/browserbox.h @@ -113,30 +113,13 @@ class BrowserBox : public gcn::Widget, public gcn::MouseListener }; /** - * BrowserBox colors. - * - * 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. + * Some colours used in the browser box */ + enum { - BLACK = 0x000000, /**< Color 0 */ - RED = 0xff0000, /**< Color 1 */ - GREEN = 0x1fa052, /**< Color 2 */ - BLUE = 0x0000ff, /**< Color 3 */ - ORANGE = 0xe0980e, /**< Color 4 */ - YELLOW = 0xf1dc27, /**< Color 5 */ - PINK = 0xff00d8, /**< Color 6 */ - 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 */ + BLACK = 0x000000, + BGCOLOR = 0xffffff, + HIGHLIGHT = 0xcacaca }; /** |