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