From cbaf94d94b1821d242163294ff765446816654a3 Mon Sep 17 00:00:00 2001 From: Bastian Dehn Date: Sat, 27 Jan 2024 20:58:47 +0100 Subject: [PATCH] Revert "gamma description option well known" This reverts commit 6d976e7622b9e811e43b359ddb7b1f760b4b13cb. --- src/kds_s2000w_net.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/kds_s2000w_net.c b/src/kds_s2000w_net.c index 975b9f8..c96fabd 100644 --- a/src/kds_s2000w_net.c +++ b/src/kds_s2000w_net.c @@ -295,9 +295,9 @@ const SANE_Option_Descriptor* _sane_kds_s2000w_net_get_option_descriptor( option_descriptors[option].constraint.string_list = constraint_color_balance_mode; break; case 11: - option_descriptors[option].name = SANE_NAME_GAMMA_VECTOR; - option_descriptors[option].title = SANE_TITLE_GAMMA_VECTOR; - option_descriptors[option].desc = SANE_DESC_GAMMA_VECTOR; + option_descriptors[option].name = "colorbalanceaggressiveness"; + option_descriptors[option].title = "colorbalanceaggressiveness"; + option_descriptors[option].desc = "colorbalanceaggressiveness"; option_descriptors[option].cap = SANE_CAP_SOFT_DETECT | SANE_CAP_SOFT_SELECT; option_descriptors[option].constraint_type = SANE_CONSTRAINT_RANGE; constraint_color_balance_aggressiveness->min = -2; @@ -306,9 +306,9 @@ const SANE_Option_Descriptor* _sane_kds_s2000w_net_get_option_descriptor( option_descriptors[option].constraint.range = constraint_color_balance_aggressiveness; break; case 12: - option_descriptors[option].name = SANE_NAME_GAMMA_VECTOR_R; - option_descriptors[option].title = SANE_TITLE_GAMMA_VECTOR_R; - option_descriptors[option].desc = SANE_DESC_GAMMA_VECTOR_R; + option_descriptors[option].name = "colorbalancered"; + option_descriptors[option].title = "colorbalancered"; + option_descriptors[option].desc = "colorbalancered"; option_descriptors[option].cap = SANE_CAP_SOFT_DETECT | SANE_CAP_SOFT_SELECT; option_descriptors[option].constraint_type = SANE_CONSTRAINT_RANGE; constraint_color_balance_red->min = -50; @@ -317,9 +317,9 @@ const SANE_Option_Descriptor* _sane_kds_s2000w_net_get_option_descriptor( option_descriptors[option].constraint.range = constraint_color_balance_red; break; case 13: - option_descriptors[option].name = SANE_NAME_GAMMA_VECTOR_G; - option_descriptors[option].title = SANE_TITLE_GAMMA_VECTOR_G; - option_descriptors[option].desc = SANE_DESC_GAMMA_VECTOR_G; + option_descriptors[option].name = "colorbalancegreen"; + option_descriptors[option].title = "colorbalancegreen"; + option_descriptors[option].desc = "colorbalancegreen"; option_descriptors[option].cap = SANE_CAP_SOFT_DETECT | SANE_CAP_SOFT_SELECT; option_descriptors[option].constraint_type = SANE_CONSTRAINT_RANGE; constraint_color_balance_green->min = -50; @@ -328,9 +328,9 @@ 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 = SANE_NAME_GAMMA_VECTOR_B; - option_descriptors[option].title = SANE_TITLE_GAMMA_VECTOR_B; - option_descriptors[option].desc = SANE_DESC_GAMMA_VECTOR_B; + option_descriptors[option].name = "colorbalanceblue"; + option_descriptors[option].title = "colorbalanceblue"; + option_descriptors[option].desc = "colorbalanceblue"; option_descriptors[option].cap = SANE_CAP_SOFT_DETECT | SANE_CAP_SOFT_SELECT; option_descriptors[option].constraint_type = SANE_CONSTRAINT_RANGE; constraint_color_balance_blue->min = -50; -- 2.39.5