summaryrefslogtreecommitdiff
path: root/desktop/history_core.c
diff options
context:
space:
mode:
authorRob Kendrick <rjek@netsurf-browser.org>2010-12-05 17:03:37 +0000
committerRob Kendrick <rjek@netsurf-browser.org>2010-12-05 17:03:37 +0000
commit35daa32e80713e0162bc296d56ec846ae0342ffd (patch)
tree05ee63d2807501796265b3b2437d5d294fbc9b73 /desktop/history_core.c
parentbd39b8f0d7671dc66feec0a714a916de61f31ee3 (diff)
downloadnetsurf-35daa32e80713e0162bc296d56ec846ae0342ffd.tar.gz
netsurf-35daa32e80713e0162bc296d56ec846ae0342ffd.tar.bz2
Change styles used for plotting local history to make it more obvious what the current page is, along with other minor improvements.
svn path=/trunk/netsurf/; revision=11008
Diffstat (limited to 'desktop/history_core.c')
-rw-r--r--desktop/history_core.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/desktop/history_core.c b/desktop/history_core.c
index 7b7f72a38..06b2cc797 100644
--- a/desktop/history_core.c
+++ b/desktop/history_core.c
@@ -616,14 +616,14 @@ bool history_redraw_entry(struct history *history,
size_t char_offset;
int actual_x;
struct history_entry *child;
- colour c = entry == history->current ? 0x0000ff : 0x333333;
+ colour c = entry == history->current ? 0xff0000 : 0x333333;
int tailsize = 5;
int xoffset = x - x0;
int yoffset = y - y0;
plot_style_t pstyle_history_rect = {
.stroke_type = PLOT_OP_TYPE_SOLID,
.stroke_colour = c,
- .stroke_width = entry == history->current ? 2 : 1,
+ .stroke_width = entry == history->current ? 3 : 1,
};
plot_font_style_t fstyle = *plot_style_font;
@@ -649,6 +649,7 @@ bool history_redraw_entry(struct history *history,
fstyle.background = 0xffffff;
fstyle.foreground = c;
+ fstyle.weight = entry == history->current ? 900 : 400;
if (!plot.text(entry->x + xoffset, entry->y + HEIGHT + 12 + yoffset,
entry->page.title, char_offset, &fstyle))