On Feb 10, 3:27 pm, Tristam MacDonald <[email protected]> wrote: > I wasn't suggesting 1:1 - you can adjust the slider scale, rather than the > magnitude of mouse movements. > > This is generally easier for the user, because they don't have to rely on > sub-pixel mouse manipulations.
If you adjust the slider scale, there's an unsolved problem, or two. 1) What if you do want to have the "big" scale as well as the "small", needs two scales 2) how do you consistently visualize to the user what he's doing? Sub-pixel slider manipulation does not visualize, it's true. It would not be "hard" in the sense that you can't use it, because of the not 1:1 factor you'd move your mouse more then the sub-pixel distance. However, the slider isn't the end-all visualization in itself. The slider is a visual cue, something saying "hey you can modify this 1 dimensional value by sliding". For instance, if I use lightroom, I don't look at the slider while dragging around brightness etc, I look at the picture, which changes and gives me the visual confirmation that I do change things. If you're looking at the slider, you're not interested if the value is on some miniscule scale left or right of the position you're looking at, you're interested in the big picture (is it 20% or 80%), but if you're dragging a slider (which is when you're not really looking at it) for a very sensitive value, you're interested in moving it by miniscule amounts, without having to resort to numerical input. This is all solvable by showing the mouse cursor, that's true. The crappiest solution would just show the mouse cursor and slide the slider by whatever amount that is not in any way related to the mouse movement. A slightly better approach would be to have the mouse cursor visible, but move in sync with the slider. However, already this would require set_mouse_position, which pyglet lacks. Of course this minimally better approach begs the question, why show the mouse cursor while dragging at all (which is my logical conclusion to this inteface question, you don't) -- You received this message because you are subscribed to the Google Groups "pyglet-users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pyglet-users?hl=en.
