summaryrefslogtreecommitdiff
path: root/Applications/PaintBrush/BucketTool.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-05-12 23:44:46 +0200
committerAndreas Kling <kling@serenityos.org>2020-05-12 23:44:46 +0200
commit83d24dcb1d4d921c4d1c9f85ca97808b2a463b32 (patch)
tree6b2d88a0584d6dc4cccf718f3751f892a203f394 /Applications/PaintBrush/BucketTool.h
parent7dd8f1b921c5c63c21415a6ded179134a18e1ae2 (diff)
downloadserenity-83d24dcb1d4d921c4d1c9f85ca97808b2a463b32.zip
PaintBrush: Port all the existing toolbox tools to the Layer world :^)
Many tools are not working perfectly right yet, but we'll fix them!
Diffstat (limited to 'Applications/PaintBrush/BucketTool.h')
-rw-r--r--Applications/PaintBrush/BucketTool.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/Applications/PaintBrush/BucketTool.h b/Applications/PaintBrush/BucketTool.h
index fb52e9624e..8749025d1e 100644
--- a/Applications/PaintBrush/BucketTool.h
+++ b/Applications/PaintBrush/BucketTool.h
@@ -28,13 +28,17 @@
#include "Tool.h"
+namespace PaintBrush {
+
class BucketTool final : public Tool {
public:
BucketTool();
virtual ~BucketTool() override;
- virtual void on_mousedown(GUI::MouseEvent&) override;
+ virtual void on_mousedown(Layer&, GUI::MouseEvent&) override;
private:
virtual const char* class_name() const override { return "BucketTool"; }
};
+
+}