summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
Diffstat (limited to 'desktop')
-rw-r--r--desktop/history_core.c5
-rw-r--r--desktop/plot_style.c3
2 files changed, 5 insertions, 3 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))
diff --git a/desktop/plot_style.c b/desktop/plot_style.c
index 94e52ca00..504609e65 100644
--- a/desktop/plot_style.c
+++ b/desktop/plot_style.c
@@ -134,13 +134,14 @@ plot_style_t *plot_style_stroke_lightwbasec = &plot_style_stroke_lightwbasec_sta
static plot_style_t plot_style_stroke_history_static = {
.stroke_type = PLOT_OP_TYPE_SOLID,
.stroke_colour = 0x333333,
+ .stroke_width = 2,
};
plot_style_t *plot_style_stroke_history = &plot_style_stroke_history_static;
/* Generic font style */
static const plot_font_style_t plot_style_font_static = {
.family = PLOT_FONT_FAMILY_SANS_SERIF,
- .size = 10 * FONT_SIZE_SCALE,
+ .size = 8 * FONT_SIZE_SCALE,
.weight = 400,
.flags = FONTF_NONE,
.background = 0xffffff,