Scripting - Tools: Add a method to capure mouseWheel up/down
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 12.9k
- Forks
- 2k
- Avg merge
- 4h 27m
- Merged PRs (30d)
- 8
Description
Right now tools have a function mouseMoved(x,y,modifiers) that we can use to capture movement. We also have a method for mouseButton-Press. I think it would be really nice if we could have a similar method for mouse wheel up/down. For example I wrote a tool that can place an object that uses a ellipse as shape. Using mouse wheel up/down I want to pre-define the radius before actually placing the object.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the existing mouseMoved(x,y,modifiers) and mouseButton-Press callbacks used by tools. Determine where scripted tool mouse events are exposed, then add wheel up/down handling so a tool can adjust a value before placing an object; done means a scripting tool can receive both wheel directions reliably.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100