src/editmodes/linePathMode.h

Sun, 07 Sep 2014 04:15:54 +0300

author
Teemu Piippo <crimsondusk64@gmail.com>
date
Sun, 07 Sep 2014 04:15:54 +0300
changeset 884
d820588bf4f1
parent 876
f040f0fb3795
child 1000
c064cc048f14
permissions
-rw-r--r--

- fixed: missing WIN32 keyword in cmakelists caused the command prompt to show up when ldforge was executed

#pragma once
#include "abstractEditMode.h"

class LinePathMode : public AbstractDrawMode
{
	DEFINE_CLASS (LinePathMode, AbstractDrawMode)

public:
	LinePathMode (GLRenderer* renderer);

	void render (QPainter& painter) const override;
	EditModeType type() const override { return EditModeType::LinePath; }
	bool mouseReleased (MouseEventData const& data) override;
	bool preAddVertex (Vertex const& pos) override;
	bool keyReleased (QKeyEvent*) override;
	void endDraw();
};

mercurial