[mythtv] Next release // website stuff?

Joseph A. Caputo jcaputo1 at comcast.net
Fri Dec 5 11:27:01 EST 2003


On Thursday 04 December 2003 17:38, Bruce Markey wrote:
> Isaac Richards wrote:
> > On Thursday 04 December 2003 09:40 am, Joseph A. Caputo wrote:
> >>How 'bout I add a boolean flag to the MythSpinBox class that
> >> controls whether or not this behavior is enabled.  Default would
> >> be the current behavior, like so:
> >>
> >>Default (flag false)
> >>	Left/Right = dec/inc by stepsize
> >>	Prior/Next = no-op
> >>
> >>modified behavior (flag true):
> >>	Left/Right = dec/inc by 1
> >>	Prior/Next = dec/inc by stepsize
> >>
> >>if no stepsize set, default to 10
> >>
> >>What say ye?
> >
> > Sounds reasonable to me.
>
> Second that =). I'd like to test this on every spinbox to
> make sure some other odd case isn't overlooked just before
> a release.
>
> One suggestion. On the Default behavior, maybe Prior/Next
> should be stepsize also. That way, if the user uses them out
> of habit, they still work even though they do the same thing
> as the Left/Right keys.

Good idea... I'm compiling it now.  If the new flag (sstep) is true, I'm 
also setting the lineStep size to 10 in the constructor... no sense in 
having PgUp/Down and Left/Right both only go by one.  Any existing code 
that sets the lineStep to an explicit value (including 1) should still 
work properly.

-JAC



More information about the mythtv-dev mailing list