From 9b16e31e61e0545d35bf550f55e8b8efdf1bd51f Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Fri, 4 Apr 2008 00:34:20 +0200 Subject: * host/inter: - use the new Drawable. --- host/inter/drawable.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'host/inter/drawable.py') diff --git a/host/inter/drawable.py b/host/inter/drawable.py index f2f0226b..103c1fe7 100644 --- a/host/inter/drawable.py +++ b/host/inter/drawable.py @@ -20,6 +20,9 @@ class Drawable: self.trans_scale = self.trans_matrix.scale def __draw_rectangle (self, p1, p2, **kw): + if 'outline' not in kw: + kw = kw.copy () + kw['outline'] = 'black' p = self.trans_apply (p1, (p2[0], p1[1]), p2, (p1[0], p2[1])) return self.onto.__draw_polygon (*p, **kw) -- cgit v1.2.3