src/editmodes/selectmode.h

Fri, 04 Jul 2014 23:43:39 +0300

author
Santeri Piippo <crimsondusk64@gmail.com>
date
Fri, 04 Jul 2014 23:43:39 +0300
changeset 825
f7649c9bfd9a
parent 824
6add2126e7ff
child 827
82469b40567e
permissions
-rw-r--r--

- more work on edit modes

#include "abstracteditmode.h"

class SelectMode : public AbstractSelectMode
{
	QPoint _rangeStart;
	bool _rangepick;
	bool _addpick;

	DEFINE_CLASS (SelectMode, AbstractSelectMode)

public:
	SelectMode (GLRenderer* renderer);

	virtual bool mouseReleased (MouseEventData const& data) override;
	virtual bool mouseDoubleClicked (QMouseEvent* ev);
	virtual EditModeType type() const override;
};

mercurial