mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-01 14:18:15 +00:00
HackStudio: Introduce a Tool class with subs CursorTool and WidgetTool
These will be used to draw out new widgets on a FormWidget, or in the case of CursorTool, to select and manipulate existing widgets.
This commit is contained in:
20
DevTools/HackStudio/WidgetTool.cpp
Normal file
20
DevTools/HackStudio/WidgetTool.cpp
Normal file
@@ -0,0 +1,20 @@
|
||||
#include "WidgetTool.h"
|
||||
#include <AK/LogStream.h>
|
||||
|
||||
void WidgetTool::on_mousedown(GMouseEvent& event)
|
||||
{
|
||||
(void)event;
|
||||
dbg() << "WidgetTool::on_mousedown";
|
||||
}
|
||||
|
||||
void WidgetTool::on_mouseup(GMouseEvent& event)
|
||||
{
|
||||
(void)event;
|
||||
dbg() << "WidgetTool::on_mouseup";
|
||||
}
|
||||
|
||||
void WidgetTool::on_mousemove(GMouseEvent& event)
|
||||
{
|
||||
(void)event;
|
||||
dbg() << "WidgetTool::on_mousemove";
|
||||
}
|
||||
Reference in New Issue
Block a user