Extend tool API
- Dominant language
- Go
- Stars
- 26
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
Add in Tool interface:
- Pressed : Mouse pressed
- Dragged : Mouse Dragged
- Released : Mouse Released
Needed for a line tool to update the view while the mouse is moving.
Add in Tool interface:
- Activate : Called when clicked on the icon and from Key Mapping activation
- Deactivate : Tool has lost the focus/usage
Add in Tool interface:
- KeyInterceptor True/False : The tool can manage key bindings when activated
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the Tool interface and its existing implementations in the repository, then review how tools are activated, deactivated, and receive mouse or key events. Add the listed mouse callbacks, lifecycle methods, and key-interception state, and verify that the line tool can update the view while the mouse moves.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- desktop
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100