summaryrefslogtreecommitdiff
path: root/dw/fltkviewbase.cc
diff options
context:
space:
mode:
authorcorvid <corvid@lavabit.com>2011-08-22 00:44:42 +0000
committercorvid <corvid@lavabit.com>2011-08-22 00:44:42 +0000
commit8a82b2a742cb2798a44eae4223c5b6d149d51038 (patch)
tree0eb6dc074dde0fe095bff2d12908420aa0ae6f8e /dw/fltkviewbase.cc
parent525cc5778af3446e87f428bf63c7c3b7ecc8b856 (diff)
use the angle args in drawArc
Diffstat (limited to 'dw/fltkviewbase.cc')
-rw-r--r--dw/fltkviewbase.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/dw/fltkviewbase.cc b/dw/fltkviewbase.cc
index a9cd6bcc..70f271fb 100644
--- a/dw/fltkviewbase.cc
+++ b/dw/fltkviewbase.cc
@@ -471,9 +471,9 @@ void FltkViewBase::drawArc (core::style::Color *color,
int x = translateCanvasXToViewX (centerX) - width / 2;
int y = translateCanvasYToViewY (centerY) - height / 2;
- fl_arc(x, y, width, height, 0.0, 360.0);
+ fl_arc(x, y, width, height, angle1, angle2);
if (filled)
- fl_pie(x, y, width, height, 0.0, 360.0);
+ fl_pie(x, y, width, height, angle1, angle2);
}
void FltkViewBase::drawPolygon (core::style::Color *color,