kopia lustrzana https://gitlab.com/sane-project/backends
Added a Misc option group to hold misc features
I felt that the ehancements group was doing double duity for image tuning and other more hardware related options. This new group takes ownership of those. I'm not happy with the name, but that can always be changed.merge-requests/1/head
rodzic
d48f749cae
commit
42cdb00aa1
|
@ -6504,6 +6504,14 @@ init_options (Avision_Scanner* s)
|
|||
s->opt[OPT_IR].cap |= SANE_CAP_INACTIVE;
|
||||
}
|
||||
|
||||
/* "MISC" group: */
|
||||
s->opt[OPT_MISC_GROUP].title = SANE_TITLE_SCAN_MODE;
|
||||
s->opt[OPT_MISC_GROUP].desc = ""; /* for groups only title and type are valid */
|
||||
s->opt[OPT_MISC_GROUP].type = SANE_TYPE_GROUP;
|
||||
s->opt[OPT_MISC_GROUP].cap = 0;
|
||||
s->opt[OPT_MISC_GROUP].size = 0;
|
||||
s->opt[OPT_MISC_GROUP].constraint_type = SANE_CONSTRAINT_NONE;
|
||||
|
||||
/* film holder control */
|
||||
if (dev->scanner_type != AV_FILM)
|
||||
s->opt[OPT_FRAME].cap |= SANE_CAP_INACTIVE;
|
||||
|
|
|
@ -285,6 +285,7 @@ enum Avision_Option
|
|||
OPT_IR, /* infra-red */
|
||||
OPT_MULTISAMPLE, /* multi-sample */
|
||||
|
||||
OPT_MISC_GROUP,
|
||||
OPT_FRAME, /* Film holder control */
|
||||
|
||||
OPT_POWER_SAVE_TIME, /* set power save time to the scanner */
|
||||
|
|
Ładowanie…
Reference in New Issue