summaryrefslogtreecommitdiff
path: root/host/inter/drawable.py
diff options
context:
space:
mode:
authorNicolas Schodet2008-04-04 00:34:20 +0200
committerNicolas Schodet2008-04-04 00:34:20 +0200
commit9b16e31e61e0545d35bf550f55e8b8efdf1bd51f (patch)
tree75a9f9af3e8ff39a0ee4d352af3ed01db16451d0 /host/inter/drawable.py
parent53db3573797d0df57dd95b326343c11a03daf6a4 (diff)
* host/inter:
- use the new Drawable.
Diffstat (limited to 'host/inter/drawable.py')
-rw-r--r--host/inter/drawable.py3
1 files changed, 3 insertions, 0 deletions
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)