From 1562dd03cbfe225670820e11c6d85f90b670dc52 Mon Sep 17 00:00:00 2001 From: Rob Kendrick Date: Sun, 19 Mar 2006 19:03:07 +0000 Subject: [project @ 2006-03-19 19:03:07 by rjek] Implemented unfilled disc plotting and GTK disc plotting svn path=/import/netsurf/; revision=2136 --- render/html_redraw.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'render/html_redraw.c') diff --git a/render/html_redraw.c b/render/html_redraw.c index fe0c456a6..8468d645d 100644 --- a/render/html_redraw.c +++ b/render/html_redraw.c @@ -927,15 +927,15 @@ bool html_redraw_checkbox(int x, int y, int width, int height, bool html_redraw_radio(int x, int y, int width, int height, bool selected) { + if (!plot.disc(x + width * 0.5, y + height * 0.5, + width * 0.5 - 1, 0xffffff, TRUE)) + return false; if (!plot.disc(x + width * 0.5, y + height * 0.5, - width * 0.5 - 1, 0x000000)) - return false; - if (!plot.disc(x + width * 0.5, y + height * 0.5, - width * 0.4 - 1, 0xffffff)) + width * 0.5 - 1, 0x000000, FALSE)) return false; if (selected) if (!plot.disc(x + width * 0.5, y + height * 0.5, - width * 0.3 - 1, 0x0000ff)) + width * 0.4 - 1, 0x0000ff, TRUE)) return false; return true; -- cgit v1.2.3