Krisjanis Rijnieks
|
a681bfbd49
|
Add `SurfaceManager` as pointer in `ofxPiMapper` root class
Update the rest of the code to treat `getSurfaceManager()` return value as a pointer.
|
10 years ago |
Krisjanis Rijnieks
|
ac2a2e7834
|
Rename `SurfaceManager::addSurface(...)` to `createSurface` where it creates surface
There has to be a difference between creational and "additional" methods.
|
10 years ago |
Krisjanis Rijnieks
|
0fbfe7174b
|
Remove `std::` prefix everywhere in `src`
|
10 years ago |
Krisjanis Rijnieks
|
95b366ada5
|
Change src code style using ofStyler
|
10 years ago |
Krisjanis Rijnieks
|
8867edb8f2
|
Add AddSurfaceCmd and move surface creation key commands
- from ofxPiMapper to application state machine
|
10 years ago |
Krisjanis Rijnieks
|
04a345b377
|
Create a bridge between the new state system and the old solution
|
10 years ago |
Krisjanis Rijnieks
|
175067dc98
|
Set application state instead of changing gui mode (in progress)
|
10 years ago |
Krisjanis Rijnieks
|
d1d9cd3421
|
Replace #import with #include in CmdManager.h
|
10 years ago |
Krisjanis Rijnieks
|
7e7aa93226
|
Add SelSourceCmd select source undoable command
|
10 years ago |
Krisjanis Rijnieks
|
35593c1612
|
Add MvTexCoordCmd undo command
|
10 years ago |
Krisjanis Rijnieks
|
424a7827c1
|
Add MvAllTexCoordsCmd undo feature
|
10 years ago |
Krisjanis Rijnieks
|
c69ca799b4
|
Add gui mode/state switch undo command
|
10 years ago |
Krisjanis Rijnieks
|
bbd462f551
|
Rename command class names to shorter versions
- Also remove initial undo test code
|
10 years ago |
Krisjanis Rijnieks
|
2f42b0e783
|
Fix crash after RemoveSurfaceCommand undo call
- Surface had to be selected again after putting it back into surfaceManager
|
10 years ago |
Krisjanis Rijnieks
|
ef8d701176
|
Add ofLogNotice on existing command undo calls
|
10 years ago |
Krisjanis Rijnieks
|
ce6588d296
|
Add undo operation with MoveSurfaceVertexCommand
|
10 years ago |
Krisjanis Rijnieks
|
24fe4fdc94
|
Remove MoveSurfaceCommand from command stack via undo if surface not moved
|
10 years ago |
Krisjanis Rijnieks
|
6d011c2e7a
|
Add undo feature with SelectSurfaceCommand
|
10 years ago |
Krisjanis Rijnieks
|
c9a591a4ae
|
Add undo feature with MoveSurfaceCommand
|
10 years ago |
Krisjanis Rijnieks
|
bd69364284
|
Add undoable RemoveSurfaceCommand
|
10 years ago |
Krisjanis Rijnieks
|
7631497f8e
|
Rename executeCommand to exec and add log notice if nothing to undo
|
10 years ago |
Krisjanis Rijnieks
|
2ea46acbb3
|
Add some thoughts in form of comments
|
10 years ago |
Krisjanis Rijnieks
|
df840a293c
|
Add undoable command test
- Add UndoableCommand base class
- Add CommandManager that handles undoing
- Add test to main ofxPiMapper files
|
10 years ago |
Krisjanis Rijnieks
|
798ff75c8f
|
Add Command design pattern simple test
|
10 years ago |