mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-24 02:03:06 -05:00
502c54e39a
Could do with some more tweaking no doubt, and it'd be nice to have a circular spray, but this is better than nothing.
14 lines
279 B
C++
14 lines
279 B
C++
#pragma once
|
|
|
|
#include "Tool.h"
|
|
|
|
class BucketTool final : public Tool {
|
|
public:
|
|
BucketTool();
|
|
virtual ~BucketTool() override;
|
|
|
|
virtual void on_mousedown(GMouseEvent&) override;
|
|
|
|
private:
|
|
virtual const char* class_name() const override { return "BucketTool"; }
|
|
};
|