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 16:23:03 (GMT)
committer Walter Bender <walter@walter-laptop.(none)>2009-10-17 16:23:03 (GMT)
commit91e4e726536ead93dea2749c535480048043bc15 (patch)
treeb1f3c3d4e06dc4f7b653dce489003f3749442d3c /tasetup.py
parent598ae9a19b6939706b220c0c5ea47bf7a533e1f3 (diff)
adjusting coord. graphics
Diffstat (limited to 'tasetup.py')
-rw-r--r--tasetup.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/tasetup.py b/tasetup.py
index 58a8166..c19f4f4 100644
--- a/tasetup.py
+++ b/tasetup.py
@@ -274,15 +274,15 @@ def setup_misc(tw):
tw.media_shapes['pythonloaded'] = \
load_image(tw.path_lang, 'sensors', 'nop-loaded')
# coordinare systems
- tw.Cartesian_coordinates_spr = sprNew(tw, 0, 0, load_image(tw.path, '', \
- "Cartesian"))
+ tw.Cartesian_coordinates_spr = sprNew(tw, tw.width/2-600, tw.height/2-450, \
+ load_image(tw.path, '', "Cartesian"))
tw.Cartesian_coordinates_spr.type = 'coordinates'
- setlayer(tw.Cartesian_coordinates_spr, 700)
+ setlayer(tw.Cartesian_coordinates_spr, 610)
hide(tw.Cartesian_coordinates_spr)
- tw.polar_coordinates_spr = sprNew(tw, 0, 0, load_image(tw.path, '', \
- "polar"))
+ tw.polar_coordinates_spr = sprNew(tw, tw.width/2-600, tw.height/2-450, \
+ load_image(tw.path, '', "polar"))
tw.polar_coordinates_spr.type = 'coordinates'
- setlayer(tw.polar_coordinates_spr, 700)
+ setlayer(tw.polar_coordinates_spr, 610)
hide(tw.polar_coordinates_spr)
# status shapes get positioned at the bottom of the screen
tw.status_shapes = {}