return descriptor;
}
-SANE_Option_Descriptor _kds_s2000w_option_descriptor_advanced_group()
+SANE_Option_Descriptor _kds_s2000w_option_descriptor_boldness_smoothing_group()
{
kds_s2000w_debug_printf(ALL, "kds_s2000w_option_descriptor_advanced_group");
SANE_Option_Descriptor descriptor = {
- SANE_NAME_ADVANCED,
- SANE_TITLE_ADVANCED,
- SANE_DESC_ADVANCED,
+ "boldness-smoothing",
+ "Boldness / Smoothing Options",
+ "Foreground boldness Options and background smoothing options",
SANE_TYPE_GROUP,
SANE_UNIT_NONE,
0,
descriptor_array[10] = _kds_s2000w_option_descriptor_image_offset_y();
descriptor_array[11] = _kds_s2000w_option_descriptor_image_width();
descriptor_array[12] = _kds_s2000w_option_descriptor_image_height();
- descriptor_array[13] = _kds_s2000w_option_descriptor_advanced_group();
+ descriptor_array[13] = _kds_s2000w_option_descriptor_boldness_smoothing_group();
descriptor_array[14] = _kds_s2000w_option_descriptor_color_balance_red();
descriptor_array[15] = _kds_s2000w_option_descriptor_color_balance_green();
descriptor_array[16] = _kds_s2000w_option_descriptor_color_balance_blue();
{
SANE_Option_Descriptor* option = kds_s2000w_option_descriptors_get(13);
- assert_string_equal(SANE_NAME_ADVANCED, option->name);
- assert_string_equal(SANE_TITLE_ADVANCED, option->title);
- assert_string_equal(SANE_DESC_ADVANCED, option->desc);
+ assert_string_equal("boldness-smoothing", option->name);
+ assert_string_equal("Boldness / Smoothing Options", option->title);
+ assert_string_equal("Foreground boldness Options and background smoothing options", option->desc);
assert_int_equal(SANE_TYPE_GROUP, option->type);
assert_int_equal(SANE_UNIT_NONE, option->unit);
assert_int_equal(0, option->size);