From fbd858c9cce8837dcc940a43ca28ad46402a38d5 Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Sat, 05 Mar 2011 16:28:24 +0000 Subject: added camera block to 'blocks with skin' --- (limited to 'TurtleArt/taconstants.py') diff --git a/TurtleArt/taconstants.py b/TurtleArt/taconstants.py index 7138f84..c05cdff 100644 --- a/TurtleArt/taconstants.py +++ b/TurtleArt/taconstants.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -#Copyright (c) 2010, Walter Bender +#Copyright (c) 2010-11 Walter Bender #Permission is hereby granted, free of charge, to any person obtaining a copy #of this software and associated documentation files (the "Software"), to deal @@ -75,49 +75,6 @@ XO15 = 'xo1.5' UNKNOWN = 'unknown' # -# Block-style definitions -# - -BLOCK_STYLES = {'basic-style-head': [], - 'basic-style-head-1arg': [], - 'basic-style-tail': [], - 'basic-style': [], - 'basic-style-extended-vertical': [], - 'invisible': [], - 'basic-style-extended': [], - 'basic-style-1arg': [], - 'basic-style-var-arg': [], - 'bullet-style': [], - 'basic-style-2arg': [], - 'box-style': [], - 'box-style-media': [], - 'number-style': [], - 'number-style-var-arg': [], - 'number-style-block': [], - 'number-style-porch': [], - 'number-style-1arg': [], - 'number-style-1strarg': [], - 'compare-style': [], - 'compare-porch-style': [], - 'boolean-style': [], - 'not-style': [], - 'flow-style': [], - 'flow-style-tail': [], - 'flow-style-1arg': [], - 'flow-style-boolean': [], - 'flow-style-while': [], - 'flow-style-else': [], - 'collapsible-top': [], - 'collapsible-top-no-arm': [], - 'collapsible-top-no-label': [], - 'collapsible-top-no-arm-no-label': [], - 'collapsible-bottom': [], - 'portfolio-style-2x2': [], - 'portfolio-style-1x1': [], - 'portfolio-style-2x1': [], - 'portfolio-style-1x2': []} - -# # Blocks that are expandable # EXPANDABLE_STYLE = ['boolean-style', 'compare-porch-style', 'compare-style', @@ -142,7 +99,7 @@ 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'] + 'video', 'userdefined2args', 'userdefined3args', 'camera'] PYTHON_SKIN = ['nop', 'userdefined', 'userdefined2args', 'userdefined3args'] -- cgit v0.9.1