From 20d4f00a4b94d5968e81b20b9d18e310b2cdfac0 Mon Sep 17 00:00:00 2001 From: "T. van der Zwan" Date: Fri, 13 Dec 2013 22:54:28 +0100 Subject: [PATCH] Set default indices for transform to '*' Former-commit-id: 7a6e5ef61a2a54cf9ba52ba5777394c5ae5dfadd --- deploy/HyperCon.jar.REMOVED.git-id | 2 +- .../src/org/hyperion/hypercon/gui/ColorTransformPanel.java | 2 +- .../src/org/hyperion/hypercon/spec/TransformConfig.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/deploy/HyperCon.jar.REMOVED.git-id b/deploy/HyperCon.jar.REMOVED.git-id index db70e979..0ae7510f 100644 --- a/deploy/HyperCon.jar.REMOVED.git-id +++ b/deploy/HyperCon.jar.REMOVED.git-id @@ -1 +1 @@ -a7a90d7ac31f76d56191446cd28fa7088e47199b \ No newline at end of file +0e33a5994203b58676a56efa2addf362a276c219 \ No newline at end of file diff --git a/src/config-tool/ConfigTool/src/org/hyperion/hypercon/gui/ColorTransformPanel.java b/src/config-tool/ConfigTool/src/org/hyperion/hypercon/gui/ColorTransformPanel.java index 31e5bc73..e3c011f1 100644 --- a/src/config-tool/ConfigTool/src/org/hyperion/hypercon/gui/ColorTransformPanel.java +++ b/src/config-tool/ConfigTool/src/org/hyperion/hypercon/gui/ColorTransformPanel.java @@ -101,7 +101,7 @@ public class ColorTransformPanel extends JPanel { mIndexPanel.add(mIndexLabel, BorderLayout.WEST); mIndexField = new JTextField(mColorConfig.mLedIndexString); - mIndexField.setToolTipText("Comma seperated indices or index ranges (eg '1-10, 13, 14, 17-19')"); + mIndexField.setToolTipText("Comma seperated indices or index ranges (eg '1-10, 13, 14, 17-19'); Special case '*', which means all leds"); mIndexField.getDocument().addDocumentListener(mDocumentListener); mIndexPanel.add(mIndexField, BorderLayout.CENTER); } diff --git a/src/config-tool/ConfigTool/src/org/hyperion/hypercon/spec/TransformConfig.java b/src/config-tool/ConfigTool/src/org/hyperion/hypercon/spec/TransformConfig.java index 2c0c0f5b..9e42a4bc 100644 --- a/src/config-tool/ConfigTool/src/org/hyperion/hypercon/spec/TransformConfig.java +++ b/src/config-tool/ConfigTool/src/org/hyperion/hypercon/spec/TransformConfig.java @@ -7,7 +7,7 @@ public class TransformConfig { public String mId = "default"; /** The indices to which this transform applies */ - public String mLedIndexString = "0-49"; + public String mLedIndexString = "*"; /** The saturation gain (in HSV space) */ public double mSaturationGain = 1.0;