Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/TurtleArt/taconstants.py
diff options
context:
space:
mode:
Diffstat (limited to 'TurtleArt/taconstants.py')
-rw-r--r--TurtleArt/taconstants.py42
1 files changed, 19 insertions, 23 deletions
diff --git a/TurtleArt/taconstants.py b/TurtleArt/taconstants.py
index 30920d6..2bb9049 100644
--- a/TurtleArt/taconstants.py
+++ b/TurtleArt/taconstants.py
@@ -72,6 +72,7 @@ SHOW_WHITE = "#F0F0F0"
DEFAULT_SCALE = 33
XO1 = 'xo1'
XO15 = 'xo1.5'
+XO175 = 'xo1.75'
UNKNOWN = 'unknown'
CONSTANTS = {'leftpos': None, 'toppos': None, 'rightpos': None,
@@ -85,13 +86,12 @@ CONSTANTS = {'leftpos': None, 'toppos': None, 'rightpos': None,
#
EXPANDABLE_STYLE = ['boolean-style', 'compare-porch-style', 'compare-style',
'number-style-porch', 'number-style', 'basic-style-2arg',
- 'number-style-block']
+ 'number-style-block', 'box-style-media']
EXPANDABLE = ['vspace', 'hspace', 'identity2']
-EXPANDABLE_ARGS = ['list', 'myfunc1arg', 'myfunc2arg',
- 'myfunc3arg', 'userdefined', 'userdefined2args',
- 'userdefined3args']
+EXPANDABLE_ARGS = ['list', 'myfunc1arg', 'myfunc2arg', 'myfunc3arg',
+ 'userdefined', 'userdefined2args', 'userdefined3args']
#
# Blocks that are 'collapsible'
#
@@ -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,21 +116,26 @@ 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 = []
-MEDIA_SHAPES = ['audiooff', 'audioon', 'audiosmall',
- 'videooff', 'videoon', 'videosmall',
- 'cameraoff', 'camerasmall',
- 'journaloff', 'journalon', 'journalsmall',
- 'descriptionoff', 'descriptionon', 'descriptionsmall',
- 'pythonoff', 'pythonon', 'pythonsmall',
- 'list', '1x1', '1x1a', '2x1', '1x2', '2x2']
+PYTHON_SKIN = []
+SKIN_PATHS = ['images']
+
+MEDIA_SHAPES = []
+
+NO_IMPORT = []
+
+EXPAND_SKIN = {}
+
+#
+# Status blocks
+#
OVERLAY_SHAPES = ['Cartesian', 'Cartesian_labeled', 'polar', 'metric']
STATUS_SHAPES = ['status', 'info', 'nostack', 'dupstack', 'noinput',