diff options
Diffstat (limited to 'DevTools/HackStudio/CursorTool.h')
-rw-r--r-- | DevTools/HackStudio/CursorTool.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/DevTools/HackStudio/CursorTool.h b/DevTools/HackStudio/CursorTool.h new file mode 100644 index 0000000000..2b9cbcc3bc --- /dev/null +++ b/DevTools/HackStudio/CursorTool.h @@ -0,0 +1,18 @@ +#pragma once + +#include "Tool.h" + +class CursorTool final : public Tool { +public: + explicit CursorTool(FormEditorWidget& editor) + : Tool(editor) + { + } + virtual ~CursorTool() override {} + +private: + virtual const char* class_name() const override { return "CursorTool"; } + virtual void on_mousedown(GMouseEvent&) override; + virtual void on_mouseup(GMouseEvent&) override; + virtual void on_mousemove(GMouseEvent&) override; +}; |