]> gitweb.hhaalo.de Git - sane-kds-s2000w-net.git/commitdiff
rename some options
authorBastian Dehn <hhaalo@arcor.de>
Sat, 27 Jan 2024 20:08:37 +0000 (21:08 +0100)
committerBastian Dehn <hhaalo@arcor.de>
Sat, 27 Jan 2024 20:08:37 +0000 (21:08 +0100)
src/kds_s2000w_net.c

index c96fabd16c68d8abe0099bae7657a3e0bb397a03..e9f07a703a6e68c545ee8dde28722e8beea3d261 100644 (file)
@@ -216,9 +216,9 @@ const SANE_Option_Descriptor* _sane_kds_s2000w_net_get_option_descriptor(
                        option_descriptors[option].constraint.string_list = constraint_colormode;
                        break;
                case 4:
-                       option_descriptors[option].name = "skipblankpages";
-                       option_descriptors[option].title = "skipblankpages";
-                       option_descriptors[option].desc = "skipblankpages";
+                       option_descriptors[option].name = "skip-blank-pages";
+                       option_descriptors[option].title = "Blank Image Deletion Mode";
+                       option_descriptors[option].desc = "Blank Image Deletion Mode";
                        option_descriptors[option].cap = SANE_CAP_SOFT_DETECT | SANE_CAP_SOFT_SELECT;
                        option_descriptors[option].constraint_type = SANE_CONSTRAINT_NONE;
                        option_descriptors[option].constraint.string_list = NULL;
@@ -328,7 +328,7 @@ const SANE_Option_Descriptor* _sane_kds_s2000w_net_get_option_descriptor(
                        option_descriptors[option].constraint.range = constraint_color_balance_green;
                        break;
                case 14:
-                       option_descriptors[option].name = "colorbalanceblue";
+                       option_descriptors[option].name = "color-balance-blue";
                        option_descriptors[option].title = "colorbalanceblue";
                        option_descriptors[option].desc = "colorbalanceblue";
                        option_descriptors[option].cap = SANE_CAP_SOFT_DETECT | SANE_CAP_SOFT_SELECT;
@@ -339,9 +339,9 @@ const SANE_Option_Descriptor* _sane_kds_s2000w_net_get_option_descriptor(
                        option_descriptors[option].constraint.range = constraint_color_balance_blue;
                        break;
                case 15:
-                       option_descriptors[option].name = "foregroundboldnessmode";
-                       option_descriptors[option].title = "foregroundboldnessmode";
-                       option_descriptors[option].desc = "foregroundboldnessmode";
+                       option_descriptors[option].name = "foreground-boldness-mode";
+                       option_descriptors[option].title = "Foreground Boldness Mode";
+                       option_descriptors[option].desc = "Foreground Boldness Mode";
                        option_descriptors[option].cap = SANE_CAP_SOFT_DETECT | SANE_CAP_SOFT_SELECT;
                        option_descriptors[option].constraint_type = SANE_CONSTRAINT_STRING_LIST;
                        constraint_foreground_boldness_mode[0] = "None";
@@ -351,9 +351,9 @@ const SANE_Option_Descriptor* _sane_kds_s2000w_net_get_option_descriptor(
                        option_descriptors[option].constraint.string_list = constraint_foreground_boldness_mode;
                        break;
                case 16:
-                       option_descriptors[option].name = "foregroundboldnessaggressiveness";
-                       option_descriptors[option].title = "foregroundboldnessaggressiveness";
-                       option_descriptors[option].desc = "foregroundboldnessaggressiveness";
+                       option_descriptors[option].name = "foreground-boldness-aggressiveness";
+                       option_descriptors[option].title = "Foreground Boldness Mode";
+                       option_descriptors[option].desc = "Foreground Boldness Mode";
                        option_descriptors[option].cap = SANE_CAP_SOFT_DETECT | SANE_CAP_SOFT_SELECT;
                        option_descriptors[option].constraint_type = SANE_CONSTRAINT_RANGE;
                        constraint_foreground_boldness_aggressiveness->min = -10;
@@ -362,9 +362,9 @@ const SANE_Option_Descriptor* _sane_kds_s2000w_net_get_option_descriptor(
                        option_descriptors[option].constraint.range = constraint_foreground_boldness_aggressiveness;
                        break;
                case 17:
-                       option_descriptors[option].name = "backgroundsmoothingmode";
-                       option_descriptors[option].title = "backgroundsmoothingmode";
-                       option_descriptors[option].desc = "backgroundsmoothingmode";
+                       option_descriptors[option].name = "background-smoothing-mode";
+                       option_descriptors[option].title = "Background Smoothing Mode";
+                       option_descriptors[option].desc = "Background Smoothing Mode";
                        option_descriptors[option].cap = SANE_CAP_SOFT_DETECT | SANE_CAP_SOFT_SELECT;
                        option_descriptors[option].constraint_type = SANE_CONSTRAINT_STRING_LIST;
                        constraint_background_smoothing_mode[0] = "None";
@@ -374,9 +374,9 @@ const SANE_Option_Descriptor* _sane_kds_s2000w_net_get_option_descriptor(
                        option_descriptors[option].constraint.string_list = constraint_background_smoothing_mode;
                        break;
                case 18:
-                       option_descriptors[option].name = "backgroundsmoothingaggressiveness";
-                       option_descriptors[option].title = "backgroundsmoothingaggressiveness";
-                       option_descriptors[option].desc = "backgroundsmoothingaggressiveness";
+                       option_descriptors[option].name = "background-smoothing-aggressiveness";
+                       option_descriptors[option].title = "Background Smoothing Aggressivenes";
+                       option_descriptors[option].desc = "Background Smoothing Aggressivenes";
                        option_descriptors[option].cap = SANE_CAP_SOFT_DETECT | SANE_CAP_SOFT_SELECT;
                        option_descriptors[option].constraint_type = SANE_CONSTRAINT_RANGE;
                        constraint_background_smoothing_aggressivness->min = -10;
@@ -385,7 +385,7 @@ const SANE_Option_Descriptor* _sane_kds_s2000w_net_get_option_descriptor(
                        option_descriptors[option].constraint.range = constraint_background_smoothing_aggressivness;
                        break;
                case 19:
-                       option_descriptors[option].name = "binarizationmode";
+                       option_descriptors[option].name = "binarization-mode";
                        option_descriptors[option].title = "binarizationmode";
                        option_descriptors[option].desc = "binarizationmode";
                        option_descriptors[option].cap = SANE_CAP_SOFT_DETECT;