From 840fb0b9aab4b3d3bd4603a945f0d8ca02f5e473 Mon Sep 17 00:00:00 2001 From: Sven Weidauer Date: Mon, 24 Jan 2011 13:32:35 +0000 Subject: History colours as constants r=jmb,vince svn path=/trunk/netsurf/; revision=11478 --- desktop/history_core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'desktop/history_core.c') 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; -- cgit v1.2.3