From 3276fe3ed8ee18580d4519164be1e35f44b859ce Mon Sep 17 00:00:00 2001 From: Richard Wilson Date: Wed, 3 Nov 2004 02:29:01 +0000 Subject: [project @ 2004-11-03 02:29:01 by rjw] Changing screenmodes causes font handles to be refound. svn path=/import/netsurf/; revision=1338 --- riscos/history.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'riscos/history.c') diff --git a/riscos/history.c b/riscos/history.c index bb6adc17f..153d3c629 100644 --- a/riscos/history.c +++ b/riscos/history.c @@ -272,6 +272,15 @@ void ro_gui_history_quit(void) } +/** + * Update resources folowing a mode change + */ +void ro_gui_history_mode_change(void) +{ + font_lose_font(history_font); + history_font = font_find_font("Homerton.Medium", 112, 128, 0, 0, 0, 0); +} + /** * Open history window. */ @@ -415,7 +424,7 @@ void ro_gui_history_redraw_tree(struct history_entry *he, (char *)(header), x0 + he->x * FULL_WIDTH + MARGIN, y0 - he->y * FULL_HEIGHT - FULL_HEIGHT + MARGIN, - tinct_ERROR_DIFFUSE); + tinct_ERROR_DIFFUSE | tinct_BILINEAR_FILTER); } else { unsigned int size; os_factors factors; -- cgit v1.2.3