kopia lustrzana https://gitlab.com/sane-project/website
68 wiersze
3.5 KiB
HTML
68 wiersze
3.5 KiB
HTML
<!-- received="Mon Nov 23 15:05:00 1998 PST" -->
|
|
<!-- sent="Mon, 23 Nov 1998 18:04:00 -0500 (EST)" -->
|
|
<!-- name="Chris Pinkham" -->
|
|
<!-- email="cpinkham@billing.infi.net" -->
|
|
<!-- subject="Re: Too many options for xscanimage" -->
|
|
<!-- id="9811232304.AA23077@mulder.looney.infi.net" -->
|
|
<!-- inreplyto="199811232239.OAA05742@panda.mostang.com" -->
|
|
<title>sane-devel: Re: Too many options for xscanimage</title>
|
|
<h1>Re: Too many options for xscanimage</h1>
|
|
<b>Chris Pinkham</b> (<a href="mailto:cpinkham@billing.infi.net"><i>cpinkham@billing.infi.net</i></a>)<br>
|
|
<i>Mon, 23 Nov 1998 18:04:00 -0500 (EST)</i>
|
|
<p>
|
|
<ul>
|
|
<li> <b>Messages sorted by:</b> <a href="date.html#235">[ date ]</a><a href="index.html#235">[ thread ]</a><a href="subject.html#235">[ subject ]</a><a href="author.html#235">[ author ]</a>
|
|
<!-- next="start" -->
|
|
<li> <b>Next message:</b> <a href="0236.html">becka@rz.uni-duesseldorf.de: "Re: Mustek 12000 SP not working"</a>
|
|
<li> <b>Previous message:</b> <a href="0234.html">Volker Beyerle: "microtek 330"</a>
|
|
<li> <b>In reply to:</b> <a href="0232.html">David Mosberger-Tang: "Re: Too many options for xscanimage"</a>
|
|
<!-- nextthread="start" -->
|
|
<!-- reply="end" -->
|
|
</ul>
|
|
<!-- body="start" -->
|
|
<i>> Yes, there already is the "advanced" option concept. If you mark an</i><br>
|
|
<i>> option as advanced, graphical interfaces such as xscanimage will</i><br>
|
|
<p>
|
|
I don't know if it is relevant to the backend that started this discussion,<br>
|
|
but one thing I did recently with the Artec backend was make sure that only<br>
|
|
relevant options are displayed. I think I got the idea from either the<br>
|
|
Microtek or Umax backend.<br>
|
|
<p>
|
|
For example, if on the Artec backend, the 'Negative' option is only valid<br>
|
|
when in non-color mode, that option will only display when the 'Mode'<br>
|
|
option is set to something non-color. This causes the xscanimage to redraw<br>
|
|
itself when I change modes, but it can have a few advantages....<br>
|
|
<p>
|
|
1) helps keep the window small if not all options are relevant.<br>
|
|
2) possibly eliminate bug reports about "option ABC doesn't work when<br>
|
|
I'm in mode XYZ."<br>
|
|
3) helps me remember which options are associated with each other. :-)<br>
|
|
<p>
|
|
For those who might not have done this, it's accomplished by toggling<br>
|
|
SANE_CAP_INACTIVE for a particular option and then setting the<br>
|
|
SANE_INFO_RELOAD_OPTIONS flag. Usually this would be done inside<br>
|
|
sane_control_option() in the SANE_ACTION_SET_VALUE part of the if statement.<br>
|
|
<p>
|
|
Chris<br>
|
|
<p>
|
|
*****************************************************************************<br>
|
|
** Chris Pinkham Linux v2.0.35, Sane v0.74, Gimp v1.0 **<br>
|
|
** <a href="mailto:cpinkham@sh001.infi.net">cpinkham@sh001.infi.net</a> <a href="http://www4.infi.net/~cpinkham/">http://www4.infi.net/~cpinkham/</a> **<br>
|
|
*****************************************************************************<br>
|
|
<p>
|
|
<pre>
|
|
--
|
|
Source code, list archive, and docs: <a href="http://www.mostang.com/sane/">http://www.mostang.com/sane/</a>
|
|
To unsubscribe: echo unsubscribe sane-devel | mail <a href="mailto:majordomo@mostang.com">majordomo@mostang.com</a>
|
|
</pre>
|
|
<!-- body="end" -->
|
|
<p>
|
|
<ul>
|
|
<!-- next="start" -->
|
|
<li> <b>Next message:</b> <a href="0236.html">becka@rz.uni-duesseldorf.de: "Re: Mustek 12000 SP not working"</a>
|
|
<li> <b>Previous message:</b> <a href="0234.html">Volker Beyerle: "microtek 330"</a>
|
|
<li> <b>In reply to:</b> <a href="0232.html">David Mosberger-Tang: "Re: Too many options for xscanimage"</a>
|
|
<!-- nextthread="start" -->
|
|
<!-- reply="end" -->
|
|
</ul>
|