aboutsummaryrefslogtreecommitdiff
path: root/dw/view.hh
diff options
context:
space:
mode:
authorcorvid <corvid@lavabit.com>2011-08-04 07:13:13 +0000
committercorvid <corvid@lavabit.com>2011-08-04 07:13:13 +0000
commitbc05ad05cb92d0b67c6354c2ffe96b4957257242 (patch)
tree693ba73943b0e42feccd994c608328ccbe6ae920 /dw/view.hh
parentb0b6145de9007ec837a90121c1af5bc86d5e9dfd (diff)
rm my FLTK2-era points array optimisation for drawPolygon()
(I had made it use that less-clear int[][2] interface because fltk2 let you add all of the vertices in one call.) It feels good to change that nasty-looking pointArray in Polygon::draw().
Diffstat (limited to 'dw/view.hh')
-rw-r--r--dw/view.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/dw/view.hh b/dw/view.hh
index 0c8011c7..f0afdcb5 100644
--- a/dw/view.hh
+++ b/dw/view.hh
@@ -173,7 +173,7 @@ public:
int angle1, int angle2) = 0;
virtual void drawPolygon (style::Color *color,
style::Color::Shading shading,
- bool filled, bool convex, int points[][2],
+ bool filled, bool convex, Point *points,
int npoints) = 0;
virtual void drawText (style::Font *font,
style::Color *color,