DISTRHO / DPF

DISTRHO Plugin Framework
ISC License
672 stars 97 forks source link

Make knob input with ImageWidgets more flexible #262

Open noisecode3 opened 3 years ago

noisecode3 commented 3 years ago

Make knob input easier and faster to edit by adding right and (maybe) middle mouse button. Functionality that lets the users click and drag a knob in 3 ways. If there could be less instructions that repeats in method ImageKnob::onMotion that would also be good.

  1. normal, left click (if the user press Ctrl after clicking and holding down mouse it result in minimal input like before)
  2. minimal, right click
  3. tiny, right click + Ctrl
falkTX commented 3 years ago

Would be great to document and standardize this within DPF-provided classes. There is a usual way to go about this. we can explain those details on the knob and slider classes.

The PR you have for this helps a little for it.