[Plib-devel] [RFC] changing slider behavior
Brought to you by:
sjbaker
From: Melchior F. <mf...@us...> - 2009-01-20 20:04:28
|
Sliders (puSlider, puaScrollbox) work in a very unconventional way now. The reference point for moving the slider handle is always in the middle of the handle (A)... +---+------------+=============+--------------+---+ | < | | B A | | > | +---+------------+=============+--------------+---+ bgnd handle bgnd If you click anywhere on the slider, the handle jumps there, in a way that the handle is centered under the mouse. If you grab the handle at 'B', then the slider will first jump to the left, and can only then get adjusted. That's weird and unlike any slider behavior in one of today's GUIs (that I know). If the handle was at one end, then you have to move the mouse first until you reach the center point, before the slider even starts moving! Weird and unexpected! In any other GUI it's like this (as you probably know): You can grab the slider at any point and start moving. No jumps at all. If you click on the background left and right of the slider, then it makes a big jump ("page_step"), and on the arrow buttons (if available) it makes a small step ("line_step"). I'd like to change puSlider/puaScrollbar to this behavior (and puaList, puaLargeInput etc. would inherit it). Actually, the patch for that is already finished and waits for submission. Does anyone have an objection to this change? If not, should the old style be available as an alternative? As default? m. |