summaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
authorRob Kendrick <rjek@netsurf-browser.org>2006-03-19 19:03:07 +0000
committerRob Kendrick <rjek@netsurf-browser.org>2006-03-19 19:03:07 +0000
commit1562dd03cbfe225670820e11c6d85f90b670dc52 (patch)
tree33cc840ced84dd9434987e993f73e5d104b934f4 /render
parent35bb5f96d5daedc961ea887b58bd839b13e8e740 (diff)
downloadnetsurf-1562dd03cbfe225670820e11c6d85f90b670dc52.tar.gz
netsurf-1562dd03cbfe225670820e11c6d85f90b670dc52.tar.bz2
[project @ 2006-03-19 19:03:07 by rjek]
Implemented unfilled disc plotting and GTK disc plotting svn path=/import/netsurf/; revision=2136
Diffstat (limited to 'render')
-rw-r--r--render/html_redraw.c10
1 files changed, 5 insertions, 5 deletions
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;