From 9a943be14da51d26431aeab283d310412e0c6aca Mon Sep 17 00:00:00 2001 From: Krisjanis Rijnieks Date: Fri, 5 Feb 2016 18:07:12 +0100 Subject: [PATCH] Add `SelNextVertexCmd` placeholder files --- src/Commands/SelNextVertexCmd.cpp | 21 +++++++++++++++++++++ src/Commands/SelNextVertexCmd.h | 26 ++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 src/Commands/SelNextVertexCmd.cpp create mode 100644 src/Commands/SelNextVertexCmd.h 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 +