summaryrefslogtreecommitdiff
path: root/Applications/PaintBrush/BucketTool.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-06-14 18:51:57 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-06-14 18:51:57 +0200
commit56cbe15033d9bac28733f1bf2fbc6b93cf14ab25 (patch)
tree7b16d9c0d58ac4368f7bc1b82dfa23bb425282b9 /Applications/PaintBrush/BucketTool.cpp
parenta12751695e1c543a71aa896f87dc09c49cb0db5e (diff)
downloadserenity-56cbe15033d9bac28733f1bf2fbc6b93cf14ab25.zip
PaintBrush: Factor out the pen tool into an actual PenTool class.
Also add a Tool base class, and an empty BucketTool subclass which is the next thing to implement.
Diffstat (limited to 'Applications/PaintBrush/BucketTool.cpp')
-rw-r--r--Applications/PaintBrush/BucketTool.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/Applications/PaintBrush/BucketTool.cpp b/Applications/PaintBrush/BucketTool.cpp
new file mode 100644
index 0000000000..b19cf02c6b
--- /dev/null
+++ b/Applications/PaintBrush/BucketTool.cpp
@@ -0,0 +1,15 @@
+#include "BucketTool.h"
+#include <stdio.h>
+
+BucketTool::BucketTool()
+{
+}
+
+BucketTool::~BucketTool()
+{
+}
+
+void BucketTool::on_mousedown(PaintableWidget&, GMouseEvent&)
+{
+ dbgprintf("FIXME: Implement BucketTool::on_mousedown\n");
+}