Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/TurtleArt/taconstants.py
diff options
context:
space:
mode:
authorWalter Bender <walter.bender@gmail.com>2011-07-27 23:48:14 (GMT)
committer Walter Bender <walter.bender@gmail.com>2011-07-27 23:48:14 (GMT)
commite5c8c283d0f43e35bc76898f099fb50de252d3b0 (patch)
treeca9e65eac932c6dcdf1deed7154d926ad09c4668 /TurtleArt/taconstants.py
parentd4d6e0b44f551328e92159bdf2cee3f4ba403f9b (diff)
clean up block rescaling code; move more constants inits to plugins
Diffstat (limited to 'TurtleArt/taconstants.py')
-rw-r--r--TurtleArt/taconstants.py21
1 files changed, 9 insertions, 12 deletions
diff --git a/TurtleArt/taconstants.py b/TurtleArt/taconstants.py
index b39c1b7..857801e 100644
--- a/TurtleArt/taconstants.py
+++ b/TurtleArt/taconstants.py
@@ -103,15 +103,6 @@ COLLAPSIBLE = ['sandwichbottom', 'sandwichcollapsed']
OLD_DOCK = ['and', 'or', 'plus', 'minus', 'division', 'product', 'remainder']
#
-# These blocks get a special skin
-#
-BLOCKS_WITH_SKIN = ['journal', 'audio', 'description', 'nop', 'userdefined',
- 'video', 'userdefined2args', 'userdefined3args', 'camera']
-
-PYTHON_SKIN = ['nop', 'userdefined', 'userdefined2args', 'userdefined3args']
-
-
-#
# Blocks that can interchange strings and numbers for their arguments
#
STRING_OR_NUMBER_ARGS = ['plus2', 'equal2', 'less2', 'greater2', 'box',
@@ -125,12 +116,15 @@ STRING_OR_NUMBER_ARGS = ['plus2', 'equal2', 'less2', 'greater2', 'box',
CONTENT_ARGS = ['show', 'showaligned', 'push', 'storein', 'storeinbox1',
'storeinbox2']
-PREFIX_DICTIONARY = {'journal': '#smedia_', 'description': '#sdescr_',
- 'audio': '#saudio_', 'video': '#svideo_'}
+PREFIX_DICTIONARY = {}
#
-# Status blocks
+# These blocks get a special skin
#
+BLOCKS_WITH_SKIN = []
+
+PYTHON_SKIN = []
+
SKIN_PATHS = ['images']
MEDIA_SHAPES = []
@@ -139,6 +133,9 @@ NO_IMPORT = []
EXPAND_SKIN = {}
+#
+# Status blocks
+#
OVERLAY_SHAPES = ['Cartesian', 'Cartesian_labeled', 'polar', 'metric']
STATUS_SHAPES = ['status', 'info', 'nostack', 'dupstack', 'noinput',