diff options
author | Seth Hitefield <sdhitefield@gmail.com> | 2015-06-10 16:04:51 -0400 |
---|---|---|
committer | Sebastian Koslowski <koslowski@kit.edu> | 2015-06-11 09:40:24 +0200 |
commit | 91dd2fce59ba81d4dc22b9dcdc909211cafe9f5f (patch) | |
tree | 51b237a53e69e1c1a06648866b6c1bfae6993cc7 /grc/gui/Colors.py | |
parent | 80272df0bd29c02e7d677062431ba0ae4e07ed60 (diff) |
grc: Added ability to bypass blocks (Suggested by Chris Headley).
Only for blocks that have a single source and sink of the same type.
Feature can be disabled per block using the 'disable_bypass' flag in the block definition.
Diffstat (limited to 'grc/gui/Colors.py')
-rw-r--r-- | grc/gui/Colors.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/grc/gui/Colors.py b/grc/gui/Colors.py index f64106b03f..52c95e8edf 100644 --- a/grc/gui/Colors.py +++ b/grc/gui/Colors.py @@ -38,6 +38,7 @@ try: #block color constants BLOCK_ENABLED_COLOR = get_color('#F1ECFF') BLOCK_DISABLED_COLOR = get_color('#CCCCCC') + BLOCK_BYPASSED_COLOR = get_color('#FFFFE6') #connection color constants CONNECTION_ENABLED_COLOR = get_color('black') CONNECTION_DISABLED_COLOR = get_color('#BBBBBB') |