Krisjanis Rijnieks
|
9a943be14d
|
Add `SelNextVertexCmd` placeholder files
|
9 years ago |
Krisjanis Rijnieks
|
ae10d52ba0
|
Add `SelPrevSurfaceCmd`
|
9 years ago |
Krisjanis Rijnieks
|
3d2f92ecbf
|
Add `SelNextSurfaceCmd`
|
9 years ago |
Krisjanis Rijnieks
|
a5dfe02181
|
Remove `ProjectionEditor` include
|
9 years ago |
Krisjanis Rijnieks
|
e64472462b
|
Remove projection editor parameter from `SelSurfaceCmd`
|
9 years ago |
Krisjanis Rijnieks
|
72b0053e88
|
Adjust `GridWarpSurface` commands to not go less than 2 rows and cols
|
9 years ago |
Krisjanis Rijnieks
|
025eed2d95
|
Adjust `GridWarpSurface` related commands not to require projection editor
|
9 years ago |
Krisjanis Rijnieks
|
7fb4a1f53f
|
Add grid row and col command todos for next iteration
|
9 years ago |
Krisjanis Rijnieks
|
dd7080a60c
|
Add `RmGridColCmd`
|
9 years ago |
Krisjanis Rijnieks
|
40e8bf2d0c
|
Add `AddGridColCmd`
|
9 years ago |
Krisjanis Rijnieks
|
1d58a9b7a6
|
Add `RmGridRowCmd`
|
9 years ago |
Krisjanis Rijnieks
|
e5329d31b6
|
Add `AddGridRowCmd`
|
9 years ago |
Krisjanis Rijnieks
|
0ccdbe6839
|
Add `setGrid...` methods and fix `setTexCoords` for `GridWarpSurface`
|
9 years ago |
Krisjanis Rijnieks
|
0d6106b22a
|
Move all essential application parts to `Application` class
|
10 years ago |
Krisjanis Rijnieks
|
f2fae8a239
|
Add `TogglePerspectiveCmd`
|
10 years ago |
Krisjanis Rijnieks
|
77340cd9e4
|
Make use of `SurfaceFactory` in `AddSurfaceCmd`
|
10 years ago |
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 |