diff options
author | Walter Bender <walter@walter-laptop.(none)> | 2010-01-30 20:36:57 (GMT) |
---|---|---|
committer | Walter Bender <walter@walter-laptop.(none)> | 2010-01-30 20:36:57 (GMT) |
commit | 840418d256e37736aba2c58ad49d936d7eddac73 (patch) | |
tree | e11c21e427eacd607527b581a4c62cc3f3725bc8 /constants.py | |
parent | 4744cb84201c2c04d37a7abb392fa5136f7a20ef (diff) |
adding portfolio blocks back in...
Diffstat (limited to 'constants.py')
-rw-r--r-- | constants.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/constants.py b/constants.py index 938a32a..116392b 100644 --- a/constants.py +++ b/constants.py @@ -52,7 +52,7 @@ PALETTES = [['forward', 'back', 'clean', 'left', 'right', 'show', ['kbinput', 'push', 'printheap', 'keyboard', 'pop', 'clearheap', 'myfunc', 'nop', 'leftpos', 'toppos', 'width', 'rightpos', 'bottompos', 'height', 'turtle', 'print'], - ['journal', 'audio', 'description', 'hideblocks'], + ['journal', 'audio', 'description', 'hideblocks', 'template7'], ['restore']] # @@ -105,6 +105,7 @@ FLOW_STYLE = ['forever', 'hspace'] FLOW_STYLE_1ARG = ['repeat'] FLOW_STYLE_BOOLEAN = ['if'] FLOW_STYLE_ELSE = ['ifelse'] +PORTFOLIO_STYLE = ['template7'] # # blocks that contain media @@ -195,6 +196,7 @@ BLOCK_NAMES = { 'storeinbox1':[_('store in box 1')], 'storeinbox2':[_('store in box 2')], 'string':[_('text')], + 'template7':[' '], 'textsize':[_('text size')], 'toppos':[_('top')], 'turtle':[_('turtle')], @@ -285,6 +287,7 @@ PRIMITIVES = { 'storein':'storeinbox', 'storeinbox1':'storeinbox1', 'storeinbox2':'storeinbox2', + 'template7':'tp7', 'textsize':'textsize', 'toppos':'toppos', 'turtle':'turtle', @@ -330,6 +333,7 @@ DEFAULTS = { 'storeinbox2':[100], 'storein':[_('my box'),100], 'string':[_('text')], + 'template7':[_('Title'), 'None', 'None', 'None', 'None'], 'turtle':[1], 'wait':[1]} |