1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 05:07:34 +00:00

PaintBrush: Add a color picker tool.

This commit is contained in:
Andreas Kling 2019-06-22 12:05:35 +02:00
parent 41613e4303
commit 25fd847ef2
8 changed files with 71 additions and 2 deletions

View file

@ -0,0 +1,15 @@
#pragma once
#include "Tool.h"
class PickerTool final : public Tool {
public:
PickerTool();
virtual ~PickerTool() override;
virtual void on_mousedown(GMouseEvent&) override;
private:
virtual const char* class_name() const override { return "PickerTool"; }
};