From 5463687e5e8a07a22f2f93e1f03c4982a2c7b22c Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Sat, 17 Oct 2009 14:00:32 +0000 Subject: Cartesian coordinates overlay --- (limited to 'tasetup.py') diff --git a/tasetup.py b/tasetup.py index 77c5be9..eac041e 100644 --- a/tasetup.py +++ b/tasetup.py @@ -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') -- cgit v0.9.1