mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-23 08:00:20 +00:00
92df9d464a
Use the newly added cursors for ZoomTool and PickerTool
22 lines
437 B
C++
22 lines
437 B
C++
/*
|
|
* Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "Tool.h"
|
|
|
|
namespace PixelPaint {
|
|
|
|
class PickerTool final : public Tool {
|
|
public:
|
|
PickerTool();
|
|
virtual ~PickerTool() override;
|
|
|
|
virtual void on_mousedown(Layer*, MouseEvent&) override;
|
|
virtual Gfx::StandardCursor cursor() override { return Gfx::StandardCursor::Eyedropper; }
|
|
};
|
|
|
|
}
|