1
Fork 0
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:
Andreas Kling 2020-05-12 23:44:46 +02:00
parent 7dd8f1b921
commit 83d24dcb1d
25 changed files with 302 additions and 199 deletions

View file

@ -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();
}
}