mirror of
https://github.com/RGBCube/serenity
synced 2025-07-15 03:17:35 +00:00

Also add a Tool base class, and an empty BucketTool subclass which is the next thing to implement.
14 lines
297 B
C++
14 lines
297 B
C++
#pragma once
|
|
|
|
#include "Tool.h"
|
|
|
|
class BucketTool final : public Tool {
|
|
public:
|
|
BucketTool();
|
|
virtual ~BucketTool() override;
|
|
|
|
virtual void on_mousedown(PaintableWidget&, GMouseEvent&) override;
|
|
|
|
private:
|
|
virtual const char* class_name() const override { return "BucketTool"; }
|
|
};
|