Files
lmms/include
Johannes Lorenz c6a1abe150 Fix #5194: Fix knobs moving too fast (#5360)
This PR fixes issues on systems where `QCursor::setPos()` has no effect
or is not reliable. These issues included knobs moving to fast on some
operating systems. Affected widgets are `Knob` and `LcdSpinBox`.

With this PR, on all operating systems, the `setPos` calls are removed and
the cursor is not hidden anymore, so the mouse keeps moving normally
when changing values of one of the widgets.

As now the previous pointer position keeps moving (instead of being reset
to the original position using `QCursor::setPos`), the mathematics that
translate pointer pixel distance to `Knob`/`LcdSpinBox` value increase
have to be changed:

* The `Knob` transition function is now linear and uses a new factor.
* `LcdSpinBox` now uses float values and saves the current float remainder
  (this is actually a separate issue revealed by this fix), leading to a fluent,
  non hanging movement.
2020-05-24 13:35:16 +02:00
..
2018-07-05 20:16:01 +09:00
2017-06-12 13:57:08 -04:00
2017-12-11 10:46:19 -05:00
2018-07-05 20:16:01 +09:00
2017-09-14 08:09:54 +09:00
2018-07-27 15:48:58 +09:00
2017-03-16 11:35:18 +00:00
2008-07-22 11:36:50 +00:00
2019-02-22 17:51:51 +01:00
2019-12-26 18:23:52 +01:00
2017-10-16 14:46:25 -04:00
2017-03-16 11:35:18 +00:00
2019-10-18 16:52:38 +02:00
2019-03-14 09:44:48 +09:00