diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-06-14 18:51:57 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-06-14 18:51:57 +0200 |
commit | 56cbe15033d9bac28733f1bf2fbc6b93cf14ab25 (patch) | |
tree | 7b16d9c0d58ac4368f7bc1b82dfa23bb425282b9 /Applications/PaintBrush/BucketTool.cpp | |
parent | a12751695e1c543a71aa896f87dc09c49cb0db5e (diff) | |
download | serenity-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.cpp | 15 |
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"); +} |