|
From: Joe E. <jen...@fl...> - 2005-02-25 23:10:17
|
Michael Kirkham wrote:
> Would step take an optional argument for the step size?
Yes -- the full synopsis is:
| pathName step ?amount?
| Increments the -value by amount. amount defaults to 1.0 if omitted.
> What's the
> default increment given that the current default range is 0-1? Or would
> you make the default step 1, and change the default range to be 0-100? Or
> add a -stepsize option?
The default -maximum is 100. That's somewhat arbitrary --
1.0 would be more logical from a mathematical point of view --
but 100% will probably be used more often than any other
arbitrary number I can think of.
> > We could just hardcode this -- pick a value and say "indeterminate
> > progress bars complete one cycle each time the value increments by 100"
> > or something like that. But for now I'm inclined to use a "-mode"
> > option.
>
> To do that the cap that forces -from <= -value <= -to will have to be
> lifted.
As currently specified, animation is active if:
(theme supports it) && (-value > 0)
&& (-mode == indeterminate || -value < -maximum)
--Joe English
jen...@fl...
|