diff options
author | Samuel Mannehed <samuel@cendio.se> | 2019-12-20 14:47:04 +0100 |
---|---|---|
committer | Samuel Mannehed <samuel@cendio.se> | 2019-12-20 14:47:04 +0100 |
commit | 103066e65820ee6d366b6e87bb827f1005e6f3fb (patch) | |
tree | 04d5577eb307e02771792595fc1bad8d54fa4b17 /java | |
parent | d461f7fdb8b01f655260ea2f495ece700f3c9898 (diff) | |
download | tigervnc-103066e65820ee6d366b6e87bb827f1005e6f3fb.tar.gz tigervnc-103066e65820ee6d366b6e87bb827f1005e6f3fb.zip |
Simplify color level descriptions
The number of colors used isn't something the end-users should have to
concern themselves with. I intentionally left the information in the
man-pages.
Diffstat (limited to 'java')
-rw-r--r-- | java/com/tigervnc/vncviewer/OptionsDialog.java | 12 | ||||
-rw-r--r-- | java/com/tigervnc/vncviewer/Parameters.java | 3 |
2 files changed, 5 insertions, 10 deletions
diff --git a/java/com/tigervnc/vncviewer/OptionsDialog.java b/java/com/tigervnc/vncviewer/OptionsDialog.java index 9893fa1a..6b1dc8c4 100644 --- a/java/com/tigervnc/vncviewer/OptionsDialog.java +++ b/java/com/tigervnc/vncviewer/OptionsDialog.java @@ -668,14 +668,10 @@ class OptionsDialog extends Dialog { JPanel colorPanel = new JPanel(new GridLayout(4, 1)); colorPanel.setBorder(BorderFactory.createTitledBorder("Color level")); - fullcolorButton = new GroupedJRadioButton("Full (all available colors)", - colorlevelGroup, colorPanel); - mediumcolorButton = new GroupedJRadioButton("Medium (256 colors)", - colorlevelGroup, colorPanel); - lowcolorButton = new GroupedJRadioButton("Low (64 colors)", - colorlevelGroup, colorPanel); - verylowcolorButton = new GroupedJRadioButton("Very low (8 colors)", - colorlevelGroup, colorPanel); + fullcolorButton = new GroupedJRadioButton("Full", colorlevelGroup, colorPanel); + mediumcolorButton = new GroupedJRadioButton("Medium", colorlevelGroup, colorPanel); + lowcolorButton = new GroupedJRadioButton("Low", colorlevelGroup, colorPanel); + verylowcolorButton = new GroupedJRadioButton("Very low", colorlevelGroup, colorPanel); JPanel encodingPane = new JPanel(new GridLayout(1, 2, 5, 0)); encodingPane.setBorder(BorderFactory.createEmptyBorder(0, 0, 5, 0)); diff --git a/java/com/tigervnc/vncviewer/Parameters.java b/java/com/tigervnc/vncviewer/Parameters.java index 1a5a5ce5..88d68e14 100644 --- a/java/com/tigervnc/vncviewer/Parameters.java +++ b/java/com/tigervnc/vncviewer/Parameters.java @@ -78,8 +78,7 @@ public class Parameters { public static IntParameter lowColorLevel = new IntParameter("LowColorLevel", "Color level to use on slow connections. "+ - "0 = Very Low (8 colors), 1 = Low (64 colors), "+ - "2 = Medium (256 colors)", + "0 = Very Low, 1 = Low, 2 = Medium", 2); public static AliasParameter lowColorLevelAlias |