Tools v2 #12

Merged
enrico merged 1 commits from tools_v2 into master 2021-12-02 02:54:39 +01:00
Owner

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.

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.
enrico changed title from Tools v2 to [WIP] Tools v2 2020-11-25 01:17:56 +01:00
enrico requested review from Franciman 2020-11-25 01:21:46 +01:00
Author
Owner

After 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.

After 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.
enrico changed title from [WIP] Tools v2 to Tools v2 2020-11-28 21:46:37 +01:00
enrico merged commit 3c6f161a54 into master 2020-12-02 19:33:56 +01:00
Sign in to join this conversation.
No description provided.