summaryrefslogtreecommitdiff
path: root/DevTools/HackStudio/WidgetTool.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-11-10 22:40:58 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-11-10 22:40:58 +0100
commitc8637e0206f6162a67663a08646c4fc128d147ef (patch)
tree6d4cd53fcdd6803997d00b1d32b14bf66f2d90ac /DevTools/HackStudio/WidgetTool.cpp
parent567769eb2feedd4b2ec7eb90b65b76b8f0d30bda (diff)
downloadserenity-c8637e0206f6162a67663a08646c4fc128d147ef.zip
HackStudio: Allow moving the selected widgets using the arrow keys
This is a nice complement to moving widgets with the mouse. :^)
Diffstat (limited to 'DevTools/HackStudio/WidgetTool.cpp')
-rw-r--r--DevTools/HackStudio/WidgetTool.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/DevTools/HackStudio/WidgetTool.cpp b/DevTools/HackStudio/WidgetTool.cpp
index 032e3688df..04198b241a 100644
--- a/DevTools/HackStudio/WidgetTool.cpp
+++ b/DevTools/HackStudio/WidgetTool.cpp
@@ -18,3 +18,9 @@ void WidgetTool::on_mousemove(GMouseEvent& event)
(void)event;
dbg() << "WidgetTool::on_mousemove";
}
+
+void WidgetTool::on_keydown(GKeyEvent& event)
+{
+ (void)event;
+ dbg() << "WidgetTool::on_keydown";
+}