HandTool class
#include <Jazz2/Editor/Tools/TileTools.h>
Moves the view.
Base classes
- class EditorTool
- Tool used in the view of the level editor.
Constructors, destructors, conversion operators
Public functions
- auto GetType() const -> EditorToolType override
- Returns the type.
- void OnPointerDown(const ToolPointer& pointer) override
- Called when the pointer is pressed over the view.
- void OnPointerMove(const ToolPointer& pointer) override
- Called when the pointer moves over the view, pressed or not.
- void OnPointerUp(const ToolPointer& pointer) override
- Called when the pointer is released.
- void Cancel() override
- Cancels what the tool is doing.
- auto IsBusy() const -> bool override
- Returns
trueif the tool is in the middle of something. - auto GetHint() const -> StringView override
- Returns a hint of how the tool is used.