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>2013-01-18 13:46:59 (GMT)
committer Walter Bender <walter.bender@gmail.com>2013-01-18 13:46:59 (GMT)
commit2e318550e82fd206c7487565632af52ae27696e5 (patch)
tree6c6d3b8c863b4dae36dc0fad407ed743e9b4e2db /TurtleArt/taconstants.py
parent0bc8c883d287b64df35d6553ab43e7d11f7160d4 (diff)
use _ for color constant values
Diffstat (limited to 'TurtleArt/taconstants.py')
-rw-r--r--TurtleArt/taconstants.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/TurtleArt/taconstants.py b/TurtleArt/taconstants.py
index 5b6c326..1fb979a 100644
--- a/TurtleArt/taconstants.py
+++ b/TurtleArt/taconstants.py
@@ -80,17 +80,17 @@ UNKNOWN = 'unknown'
CONSTANTS = {'leftpos': None, 'toppos': None, 'rightpos': None,
'bottompos': None, 'width': None, 'height': None,
- 'black': 'black', 'white': 'white', 'red': 'red',
- 'orange': 'orange', 'yellow': 'yellow', 'green': 'green',
- 'cyan': 'cyan', 'blue': 'blue', 'purple': 'purple',
+ 'black': '_black', 'white': '_white', 'red': '_red',
+ 'orange': '_orange', 'yellow': '_yellow', 'green': '_green',
+ 'cyan': '_cyan', 'blue': '_blue', 'purple': '_purple',
'titlex': None, 'titley': None, 'leftx': None,
'topy': None, 'rightx': None, 'bottomy': None}
-COLORDICT = {'black': [None, 0, 0], 'white': [None, 100, 0],
- 'red': [0, 50, 100], 'orange': [10, 50, 100],
- 'yellow': [20, 50, 100], 'green': [40, 50, 100],
- 'cyan': [50, 50, 100], 'blue': [70, 50, 100],
- 'purple': [90, 50, 100]}
+COLORDICT = {'_black': [None, 0, 0], '_white': [None, 100, 0],
+ '_red': [0, 50, 100], '_orange': [10, 50, 100],
+ '_yellow': [20, 50, 100], '_green': [40, 50, 100],
+ '_cyan': [50, 50, 100], '_blue': [70, 50, 100],
+ '_purple': [90, 50, 100]}
# Blocks that are expandable