From 31bd1df6f9ace7c05e430df1e6e9a6d08c17909b Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sat, 26 Feb 2011 22:24:41 +0000 Subject: Stop mix'n'match p96/gfx.lib drawing, remove ami_clg svn path=/trunk/netsurf/; revision=11832 --- amiga/history_local.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'amiga/history_local.c') diff --git a/amiga/history_local.c b/amiga/history_local.c index 01897fb82..e37a500c6 100755 --- a/amiga/history_local.c +++ b/amiga/history_local.c @@ -40,7 +40,7 @@ #include #include #include "utils/messages.h" -#include "amiga/plotters.h" +#include "graphics/rpattr.h" #include #include @@ -163,7 +163,9 @@ void ami_history_redraw(struct history_window *hw) GetAttr(SCROLLER_Top,hw->objects[OID_VSCROLL],(ULONG *)&ys); glob = &hw->gg; - ami_clg(0xffffff); + + SetRPAttrs(&glob->rp, RPTAG_APenColor, 0xffffffff, TAG_DONE); + RectFill(&glob->rp, 0, 0, bbox->Width - 1, bbox->Height - 1); history_redraw_rectangle(history_current, xs, ys, bbox->Width + xs, bbox->Height + ys, 0, 0); -- cgit v1.2.3