2 changed files with 47 additions and 0 deletions
@ -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
|
|||
|
@ -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
|
|||
|
Loading…
Reference in new issue