kopia lustrzana https://gitlab.com/sane-project/backends
2004-05-05 Matthew Duggan <stauff1@users.sourceforge.net>
* include/sane/saneopts.h: Added SANE_VALUE_SCAN_MODE_* strings. * backend/canon_pp.c: Used them.merge-requests/1/head
rodzic
57c0a1f384
commit
db931572ef
|
@ -1,3 +1,8 @@
|
|||
2004-05-05 Matthew Duggan <stauff1@users.sourceforge.net>
|
||||
|
||||
* include/sane/saneopts.h: Added SANE_VALUE_SCAN_MODE_* strings.
|
||||
* backend/canon_pp.c: Used them.
|
||||
|
||||
2004-05-01 Jochen Eisinger <jochen@penguin-breeder.org>
|
||||
|
||||
* tools/hotplug/libsane.usbmap: removed empty lines, latest
|
||||
|
|
|
@ -114,7 +114,11 @@ static SANE_Bool force_nibble = SANE_FALSE;
|
|||
/* Constants */
|
||||
|
||||
/* Colour Modes */
|
||||
static const SANE_String_Const cmodes[] = { "Greyscale", "Colour", NULL };
|
||||
static const SANE_String_Const cmodes[] = {
|
||||
SANE_VALUE_SCAN_MODE_GRAY,
|
||||
SANE_VALUE_SCAN_MODE_COLOR,
|
||||
NULL };
|
||||
|
||||
/* bit depths */
|
||||
static const SANE_String_Const depths[] = { "8", "12", NULL };
|
||||
/* resolutions */
|
||||
|
|
|
@ -384,4 +384,10 @@ SANE_I18N("Define lamp density for scan")
|
|||
#define SANE_DESC_SELECT_LAMP_DENSITY \
|
||||
SANE_I18N("Enable selection of lamp density")
|
||||
|
||||
/* Typical values for stringlists (to keep the backends consistent) */
|
||||
|
||||
#define SANE_VALUE_SCAN_MODE_COLOR SANE_I18N("Color")
|
||||
#define SANE_VALUE_SCAN_MODE_GRAY SANE_I18N("Gray")
|
||||
#define SANE_VALUE_SCAN_MODE_LINEART SANE_I18N("Lineart")
|
||||
|
||||
#endif /* saneopts_h */
|
||||
|
|
Ładowanie…
Reference in New Issue