5 #include <iink/Engine.h>
6 #include <iink/ToolController.h>
14 class ContentSelection;
110 virtual GestureAction onJoin(std::shared_ptr<Editor> editor,
PointerTool tool,
const String& gestureStrokeId, std::shared_ptr<ContentSelection> before, std::shared_ptr<ContentSelection> after) = 0;
Definition: IGestureHandler.h:37
virtual ~IGestureHandler()=default
virtual GestureAction onUnderline(std::shared_ptr< Editor > editor, PointerTool tool, const String &gestureStrokeId, std::shared_ptr< ContentSelection > selection)=0
virtual GestureAction onTap(std::shared_ptr< Editor > editor, PointerTool tool, const String &gestureStrokeId, float x, float y)=0
virtual GestureAction onStrikethrough(std::shared_ptr< Editor > editor, PointerTool tool, const String &gestureStrokeId, std::shared_ptr< ContentSelection > selection)=0
virtual GestureAction onLongPress(std::shared_ptr< Editor > editor, PointerTool tool, const String &gestureStrokeId, float x, float y)=0
virtual GestureAction onScratch(std::shared_ptr< Editor > editor, PointerTool tool, const String &gestureStrokeId, std::shared_ptr< ContentSelection > selection)=0
virtual GestureAction onDoubleTap(std::shared_ptr< Editor > editor, PointerTool tool, const std::vector< String > &gestureStrokeIds, float x, float y)=0
virtual GestureAction onJoin(std::shared_ptr< Editor > editor, PointerTool tool, const String &gestureStrokeId, std::shared_ptr< ContentSelection > before, std::shared_ptr< ContentSelection > after)=0
virtual GestureAction onSurround(std::shared_ptr< Editor > editor, PointerTool tool, const String &gestureStrokeId, std::shared_ptr< ContentSelection > selection)=0
virtual GestureAction onInsert(std::shared_ptr< Editor > editor, PointerTool tool, const String &gestureStrokeId, std::shared_ptr< ContentSelection > before, std::shared_ptr< ContentSelection > after)=0
GestureAction
Definition: IGestureHandler.h:22
PointerTool
Definition: ToolController.h:15
Definition: Configuration.h:11