summaryrefslogtreecommitdiff
path: root/amiga/history_local.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2011-02-26 22:24:41 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2011-02-26 22:24:41 +0000
commit31bd1df6f9ace7c05e430df1e6e9a6d08c17909b (patch)
treefd8ec4060288e3f9164ee2dc3b218857d1a6d93f /amiga/history_local.c
parentf8d46be1af8a24a8fbadaf0595c3e30262b18058 (diff)
downloadnetsurf-31bd1df6f9ace7c05e430df1e6e9a6d08c17909b.tar.gz
netsurf-31bd1df6f9ace7c05e430df1e6e9a6d08c17909b.tar.bz2
Stop mix'n'match p96/gfx.lib drawing, remove ami_clg
svn path=/trunk/netsurf/; revision=11832
Diffstat (limited to 'amiga/history_local.c')
-rwxr-xr-xamiga/history_local.c6
1 files changed, 4 insertions, 2 deletions
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 <intuition/icclass.h>
#include <proto/utility.h>
#include "utils/messages.h"
-#include "amiga/plotters.h"
+#include "graphics/rpattr.h"
#include <proto/window.h>
#include <proto/space.h>
@@ -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);