From 2243e97e0ecfbd39f5786cf2c6d756b235dec3f5 Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Thu, 07 Apr 2011 14:54:05 +0000 Subject: added dictionary for logo commands --- (limited to 'TurtleArt/tapalette.py') diff --git a/TurtleArt/tapalette.py b/TurtleArt/tapalette.py index 48212ae..fbad7c3 100644 --- a/TurtleArt/tapalette.py +++ b/TurtleArt/tapalette.py @@ -26,6 +26,7 @@ expandable_blocks = [] block_names = {} block_primitives = {} default_values = {} +logo_commands = {} special_names = {} # Names for blocks without names for popup help content_blocks = ['number', 'string', 'description', 'audio', 'video', 'journal'] @@ -229,6 +230,9 @@ class Block(): if self._prim_name is not None: block_primitives[self._name] = self._prim_name + if self._logo_command is not None: + logo_commands[self._name] = self._logo_command + if self._default is not None: default_values[self._name] = self._default -- cgit v0.9.1