summaryrefslogtreecommitdiff
path: root/riscos/history.c
diff options
context:
space:
mode:
authorRichard Wilson <rjw@netsurf-browser.org>2004-11-03 02:29:01 +0000
committerRichard Wilson <rjw@netsurf-browser.org>2004-11-03 02:29:01 +0000
commit3276fe3ed8ee18580d4519164be1e35f44b859ce (patch)
treea874c2571962ce768838ba2ec1c8856f54f25ee4 /riscos/history.c
parentce0fc3daf7f7548b412bce606e5ed9284e993ac5 (diff)
downloadnetsurf-3276fe3ed8ee18580d4519164be1e35f44b859ce.tar.gz
netsurf-3276fe3ed8ee18580d4519164be1e35f44b859ce.tar.bz2
[project @ 2004-11-03 02:29:01 by rjw]
Changing screenmodes causes font handles to be refound. svn path=/import/netsurf/; revision=1338
Diffstat (limited to 'riscos/history.c')
-rw-r--r--riscos/history.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/riscos/history.c b/riscos/history.c
index bb6adc17f..153d3c629 100644
--- a/riscos/history.c
+++ b/riscos/history.c
@@ -273,6 +273,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;