From a9fb111c6227d4258d48ea62414071cc9225b9a4 Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Sat, 05 Mar 2011 16:20:05 +0000 Subject: moved palette-related data out of taconstants into tapalette --- (limited to 'TurtleArt/taconstants.py') diff --git a/TurtleArt/taconstants.py b/TurtleArt/taconstants.py index 53e628a..7138f84 100644 --- a/TurtleArt/taconstants.py +++ b/TurtleArt/taconstants.py @@ -35,14 +35,6 @@ TAB_LAYER = 710 STATUS_LAYER = 900 TOP_LAYER = 1000 -# -# Block-palette categories -# - -PALETTE_NAMES = [] -PALETTES = [] -COLORS = [] - # Special-case some block colors BOX_COLORS = {'red': ["#FF0000", "#A00000"], 'orange': ["#FFD000", "#AA8000"], @@ -133,8 +125,6 @@ EXPANDABLE_STYLE = ['boolean-style', 'compare-porch-style', 'compare-style', EXPANDABLE = ['vspace', 'hspace', 'identity2'] -EXPANDABLE_BLOCKS = [] - EXPANDABLE_ARGS = ['list', 'myfunc1arg', 'myfunc2arg', 'myfunc3arg', 'userdefined', 'userdefined2args', 'userdefined3args'] @@ -149,12 +139,6 @@ COLLAPSIBLE = ['sandwichbottom', 'sandwichcollapsed'] OLD_DOCK = ['and', 'or', 'plus', 'minus', 'division', 'product', 'remainder'] # -# Blocks that contain media -# -CONTENT_BLOCKS = ['number', 'string', 'description', 'audio', 'video', - 'journal'] - -# # These blocks get a special skin # BLOCKS_WITH_SKIN = ['journal', 'audio', 'description', 'nop', 'userdefined', @@ -172,21 +156,6 @@ CONSTANTS = {'leftpos': None, 'toppos': None, 'rightpos': None, 'topy': None, 'rightx': None, 'bottomy': None} # -# Block-name dictionary used for labels -# -BLOCK_NAMES = {} - -# -# Logo primitives -# -PRIMITIVES = {} - -# -# block default values -# -DEFAULTS = {} - -# # Blocks that can interchange strings and numbers for their arguments # STRING_OR_NUMBER_ARGS = ['plus2', 'equal2', 'less2', 'greater2', 'box', @@ -262,11 +231,6 @@ TEMPLATES = {'t1x1': (0.5, 0.5, 0.0625, 0.125, 1.05, 0), 'insertimage': (0.333, 0.333)} # -# Names for blocks without names for popup help -# -SPECIAL_NAMES = {} - -# # Help messages # HELP_STRINGS = { -- cgit v0.9.1