Add mouse click effect capability for screen recording
Added a mouse click effect feature for screen recording. This will enable people to see when click is performed in video.
This PR covers the following feature requests #6785 #5570 #4097 #6799
Example of feature in action
https://github.com/user-attachments/assets/54db845f-b5fd-448d-8e63-dc7979c226ba
Review comments todo:
- [x] run effect (form) outside Task.Run to avoid a need for explicit execution on main UI thread (Form.Invoke(...))
- [x] don't use underscore variables
- [x] right button support
- [ ] add support for customizable color, size, fade time (make it as standalone tool)
- [x] format code
- [ ] fade animation
- [x] fix rider changes in settings form
Design wise, something like this would be great.
https://www.vecteezy.com/video/8079876-pointer-hand-cursor-clicking-technology-and-internet-icons-animation-on-green-screen-background-mouse-click-symbol-with-spark-on-green-screen
But let me not interfere with this to much! Your PR looks already very nice without my comment.
Thanks, have been wanting this!
@nicknijenhuis a nice effect, I think this could be achieved with a combination of timer(s) and GDI+. If there is enough interest for it, I could spend some time implementing it at later point in separate PR as I would like to avoid scope creeping this PR otherwise it won't be finished soon.