diff --git a/src/Commands/SelNextVertexCmd.cpp b/src/Commands/SelNextVertexCmd.cpp new file mode 100644 index 0000000..bbd55fe --- /dev/null +++ b/src/Commands/SelNextVertexCmd.cpp @@ -0,0 +1,21 @@ +#include "SelNextVertexCmd.h" + +namespace ofx { +namespace piMapper { + +SelNextVertexCmd::SelNextVertexCmd(BaseSurface * s){ + _surface = s; +} + +void SelNextVertexCmd::exec(){ + +} + +void SelNextVertexCmd::undo(){ + ofLogNotice("SelNextVertexCmd", "undo"); + +} + +} // namespace piMapper +} // namespace ofx + diff --git a/src/Commands/SelNextVertexCmd.h b/src/Commands/SelNextVertexCmd.h new file mode 100644 index 0000000..847f647 --- /dev/null +++ b/src/Commands/SelNextVertexCmd.h @@ -0,0 +1,26 @@ +#pragma once + +#include "BaseCmd.h" +#include "BaseSurface.h" + +class ofxPiMapper; + +namespace ofx { +namespace piMapper { + +class SelNextVertexCmd : public BaseUndoCmd { + + public: + SelNextVertexCmd(BaseSurface * s); + void exec(); + void undo(); + + private: + BaseSurface * _surface; + int _prevVertexIndex; + +}; + +} // namespace piMapper +} // namespace ofx +