From f4c32488acf610b92aef7ed368d06cc634e46be5 Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Tue, 26 Jan 2010 17:45:49 +0000 Subject: converting to overlay_shapes --- diff --git a/TurtleArtActivity.py b/TurtleArtActivity.py index d5b5ed2..18e6f82 100644 --- a/TurtleArtActivity.py +++ b/TurtleArtActivity.py @@ -418,18 +418,18 @@ class TurtleArtActivity(activity.Activity): """ def _do_cartesian_cb(self, button): if self.tw.cartesian is True: - self.tw.cartesian_coordinates_spr.hide() + self.tw.overlay_shapes[0].hide() self.tw.cartesian = False else: - self.tw.cartesian_coordinates_spr.set_layer(OVERLAY_LAYER) + self.tw.overlay_shapes[0].set_layer(OVERLAY_LAYER) self.tw.cartesian = True def _do_polar_cb(self, button): if self.tw.polar is True: - self.tw.polar_coordinates_spr.hide() + self.tw.overlay_shapes[1].hide() self.tw.polar = False else: - self.tw.polar_coordinates_spr.set_layer(OVERLAY_LAYER) + self.tw.overlay_shapes[1].set_layer(OVERLAY_LAYER) self.tw.polar = True """ -- cgit v0.9.1