mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-11 18:20:43 +09:00
PixelPaint: Add a new "Rectangle Select" tool :^)
This patch only adds the tool along with a toolbar icon for it. It doesn't do anything yet.
This commit is contained in:
parent
ab840423a8
commit
4bd905de0e
Notes:
sideshowbarker
2024-07-18 12:14:47 +09:00
Author: https://github.com/awesomekling
Commit: 4bd905de0e
5 changed files with 62 additions and 0 deletions
35
Userland/Applications/PixelPaint/RectangleSelectTool.cpp
Normal file
35
Userland/Applications/PixelPaint/RectangleSelectTool.cpp
Normal file
|
@ -0,0 +1,35 @@
|
|||
/*
|
||||
* Copyright (c) 2021, Andreas Kling <kling@serenityos.org>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#include "RectangleSelectTool.h"
|
||||
|
||||
namespace PixelPaint {
|
||||
|
||||
RectangleSelectTool::RectangleSelectTool()
|
||||
{
|
||||
}
|
||||
|
||||
RectangleSelectTool::~RectangleSelectTool()
|
||||
{
|
||||
}
|
||||
|
||||
void RectangleSelectTool::on_mousedown(Layer&, GUI::MouseEvent&, GUI::MouseEvent&)
|
||||
{
|
||||
}
|
||||
|
||||
void RectangleSelectTool::on_mousemove(Layer&, GUI::MouseEvent&, GUI::MouseEvent&)
|
||||
{
|
||||
}
|
||||
|
||||
void RectangleSelectTool::on_mouseup(Layer&, GUI::MouseEvent&, GUI::MouseEvent&)
|
||||
{
|
||||
}
|
||||
|
||||
void RectangleSelectTool::on_second_paint(Layer const&, GUI::PaintEvent&)
|
||||
{
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue