Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tasetup.py
diff options
context:
space:
mode:
authorWalter Bender <walter@walter-laptop.(none)>2009-10-17 15:17:10 (GMT)
committer Walter Bender <walter@walter-laptop.(none)>2009-10-17 15:17:10 (GMT)
commit598ae9a19b6939706b220c0c5ea47bf7a533e1f3 (patch)
treee93001444fda2894dd4f8ebefa1f2fd25981c3dc /tasetup.py
parent84a9eecceca98a9df6f429ecb8d06c749ef292eb (diff)
display polar coordinates
Diffstat (limited to 'tasetup.py')
-rw-r--r--tasetup.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tasetup.py b/tasetup.py
index eac041e..58a8166 100644
--- a/tasetup.py
+++ b/tasetup.py
@@ -279,6 +279,11 @@ def setup_misc(tw):
tw.Cartesian_coordinates_spr.type = 'coordinates'
setlayer(tw.Cartesian_coordinates_spr, 700)
hide(tw.Cartesian_coordinates_spr)
+ tw.polar_coordinates_spr = sprNew(tw, 0, 0, load_image(tw.path, '', \
+ "polar"))
+ tw.polar_coordinates_spr.type = 'coordinates'
+ setlayer(tw.polar_coordinates_spr, 700)
+ hide(tw.polar_coordinates_spr)
# status shapes get positioned at the bottom of the screen
tw.status_shapes = {}
tw.status_shapes['status'] = load_image(tw.path, '', 'status')