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