Krisjanis Rijnieks
5dc8c9dc36
Integrate projection mapping gui surface and joint events
Now the mouse pressed events from surfaces and joints in projection mapping mode are generating commands in the application layer
9 years ago
Krisjanis Rijnieks
f7b1d74c2b
Add `/` key as an alternative to shift key
Because the terminal listener is not able to detect shift keys. `/` works like a toggle - press once to simulate shift-down, press again to simulate shift-up.
9 years ago
Krisjanis Rijnieks
a856c7421b
Optimize terminal listener A, B, C, D checks with a switch statement
9 years ago
Krisjanis Rijnieks
92e4d55c56
Add A, B, C, D checks to `Application::onCharacterReceived`
9 years ago
Krisjanis Rijnieks
4ceb87f014
Add `TerminalListener` to `Application`
9 years ago
Krisjanis Rijnieks
c9a2d066da
Create a test case with `GuiEvent` in `Application`
9 years ago
Krisjanis Rijnieks
2cf81a1eac
Add shift key handling in `Application`
9 years ago
Krisjanis Rijnieks
dd508088e8
Adapt to new `GridWarpSurface` related interface
Additionally remove destructors as they caused SIGABRT errors when shutting down the application
9 years ago
Krisjanis Rijnieks
0d6106b22a
Move all essential application parts to `Application` class
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
873edcfa60
Add `SurfaceManagerGui` as pointer in `ofxPiMapper` class
Update the rest of the code to treat it as a pointer.
10 years ago
Krisjanis Rijnieks
2e311e89b0
Add `_cmdManager` as a pointer to `ofxPiMapper` root class
- Change the getter to return pointer as well.
- Update code elsewhere to call methods on `CmdManager` as if it was a pointer.
10 years ago
Krisjanis Rijnieks
2aa24ad581
Use the new `Info` class instead of inline code
10 years ago
Krisjanis Rijnieks
95b366ada5
Change src code style using ofStyler
10 years ago
Krisjanis Rijnieks
502f76b4a9
Move keyboard input mappings completely to application state system
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
05396890eb
Move state change keyboard mappings to Application to handle
10 years ago
Krisjanis Rijnieks
2306be1c5d
Rename MainView to Application and not just that
- Rename ViewState to ApplicationBaseState
- Rename all ..ViewState's to just ..State's
- Adjust ofxPiMapper main class so app compiles
10 years ago