/*
 * Xournal++
 *
 * [Header description]
 *
 * @author Xournal++ Team
 * https://github.com/xournalpp/xournalpp
 *
 * @license GNU GPLv2 or later
 */

#pragma once

#include <XournalType.h>
#include "PenInputHandler.h"

class InputContext;

class TouchDrawingInputHandler : public PenInputHandler
{
private:
	XOJ_TYPE_ATTRIB;

	GdkEventSequence* currentSequence = nullptr;
public:
	explicit TouchDrawingInputHandler(InputContext* inputContext);
	~TouchDrawingInputHandler() override;

	bool handleImpl(InputEvent* event) override;
protected:
	bool changeTool(InputEvent* event) override;
};


