Tools v2 #12
No reviewers
Labels
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: enrico/stiletto#12
Loading…
Reference in New Issue
No description provided.
Delete Branch "tools_v2"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This integrates the tools branch experimentation inside the master branch.
The UI currently sucks, but it is good enough. No support for tool parameters modification yet.
In the next commit I'll hook up CanvasToolCtx so that it allows the current drawing functionality.
After merging, I'll take care of rebasing the eraser branch work on top for this.
Tools v2to [WIP] Tools v2After having dubbled a bit with implementing the CanvasToolCtx, I came to the conclusion that a tool context is like a widget.
In the future I would like to experiment to that a CanvasToolCtx implements druid::Widget.
With the current design, CanvasToolState would be an aggregate of all the possible states of all possible tools, which is undesirable.
Nonetheless, I would merge this and improve the design at a latter stage.
[WIP] Tools v2to Tools v2