diff options
author | Sven Weidauer <sven.weidauer@gmail.com> | 2011-01-24 13:32:35 +0000 |
---|---|---|
committer | Sven Weidauer <sven.weidauer@gmail.com> | 2011-01-24 13:32:35 +0000 |
commit | 840fb0b9aab4b3d3bd4603a945f0d8ca02f5e473 (patch) | |
tree | a13540d69e0dffa1d0eb38024947b37dedf30f31 /desktop/history_core.c | |
parent | 8cc6b55981e808576d32c37f374716015fafe55b (diff) | |
download | netsurf-840fb0b9aab4b3d3bd4603a945f0d8ca02f5e473.tar.gz netsurf-840fb0b9aab4b3d3bd4603a945f0d8ca02f5e473.tar.bz2 |
History colours as constants r=jmb,vince
svn path=/trunk/netsurf/; revision=11478
Diffstat (limited to 'desktop/history_core.c')
-rw-r--r-- | desktop/history_core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/history_core.c b/desktop/history_core.c index 06b2cc797..ee964ad6d 100644 --- a/desktop/history_core.c +++ b/desktop/history_core.c @@ -616,7 +616,7 @@ bool history_redraw_entry(struct history *history, size_t char_offset; int actual_x; struct history_entry *child; - colour c = entry == history->current ? 0xff0000 : 0x333333; + colour c = entry == history->current ? HISTORY_COLOUR_SELECTED : HISTORY_COLOUR_FOREGROUND; int tailsize = 5; int xoffset = x - x0; int yoffset = y - y0; @@ -647,7 +647,7 @@ bool history_redraw_entry(struct history *history, &char_offset, &actual_x)) return false; - fstyle.background = 0xffffff; + fstyle.background = HISTORY_COLOUR_BACKGROUND; fstyle.foreground = c; fstyle.weight = entry == history->current ? 900 : 400; |