mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:27:46 +00:00
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.
This commit is contained in:
parent
a12751695e
commit
56cbe15033
10 changed files with 185 additions and 33 deletions
15
Applications/PaintBrush/BucketTool.cpp
Normal file
15
Applications/PaintBrush/BucketTool.cpp
Normal file
|
@ -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");
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue