mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:57:44 +00:00
PaintBrush: Port all the existing toolbox tools to the Layer world :^)
Many tools are not working perfectly right yet, but we'll fix them!
This commit is contained in:
parent
7dd8f1b921
commit
83d24dcb1d
25 changed files with 302 additions and 199 deletions
|
@ -25,6 +25,9 @@
|
|||
*/
|
||||
|
||||
#include "Tool.h"
|
||||
#include "ImageEditor.h"
|
||||
|
||||
namespace PaintBrush {
|
||||
|
||||
Tool::Tool()
|
||||
{
|
||||
|
@ -33,3 +36,10 @@ Tool::Tool()
|
|||
Tool::~Tool()
|
||||
{
|
||||
}
|
||||
|
||||
void Tool::setup(ImageEditor& editor)
|
||||
{
|
||||
m_editor = editor.make_weak_ptr();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue