diff options
author | Walter Bender <walter@walter-laptop.(none)> | 2009-10-17 14:00:32 (GMT) |
---|---|---|
committer | Walter Bender <walter@walter-laptop.(none)> | 2009-10-17 14:00:32 (GMT) |
commit | 5463687e5e8a07a22f2f93e1f03c4982a2c7b22c (patch) | |
tree | ce2506966a8e6d42ecfcfec5809c9f277db8caea /tasetup.py | |
parent | af1cf67fb043e133e57a18f142c0e9d576646cb5 (diff) |
Cartesian coordinates overlay
Diffstat (limited to 'tasetup.py')
-rw-r--r-- | tasetup.py | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -273,6 +273,12 @@ def setup_misc(tw): # media blocks that replace other blocks 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.type = 'coordinates' + setlayer(tw.Cartesian_coordinates_spr, 700) + hide(tw.Cartesian_coordinates_spr) # status shapes get positioned at the bottom of the screen tw.status_shapes = {} tw.status_shapes['status'] = load_image(tw.path, '', 'status') |