Krisjanis Rijnieks
1a1928259f
Rename setActivePreset to setPreset
9 years ago
Krisjanis Rijnieks
900adab1e6
Fix switching to mapping mode instead of presentation
After creating Application::set..Mode methods there was a mistake on <1> keypress.
9 years ago
Krisjanis Rijnieks
e413e073a8
Remove fullscreen toggle on <f> keypress
If one needs it, it can be integrated on the ofApp level,
9 years ago
Krisjanis Rijnieks
303a8e736b
Hide cursor on startup
9 years ago
Krisjanis Rijnieks
36b2d1fe7f
Add autosave
9 years ago
Krisjanis Rijnieks
8455ac9a17
Move Application mode switching to methods
This gives the possibility to call CommandManager managed calls from the ofxPiMapper class.
9 years ago
Krisjanis Rijnieks
16e2473835
Add Application::setNextPreset on <n> keypress
9 years ago
Krisjanis Rijnieks
1a2070139d
Integrate SetActivePresetCmd into Application
9 years ago
Krisjanis Rijnieks
dfd9dc8c14
Use only one settings file (ofxpimapper.xml)
Create it if it is not there.
9 years ago
Krisjanis Rijnieks
7febe46958
Create presets through SettingsLoader
9 years ago
Krisjanis Rijnieks
5076b39c89
Make SurfaceStack not a singleton
9 years ago
Krisjanis Rijnieks
12f0d8abcf
Rename SetApplicationStateCmd to SetApplicationModeCmd
9 years ago
Krisjanis Rijnieks
a722ef1b2f
Rename application states to modes
9 years ago
Krisjanis Rijnieks
b3b5ba13fe
Remove SurfaceManagerGui
9 years ago
Krisjanis Rijnieks
f3ef6e8134
Clean up after ProjectionEditorWidget move
9 years ago
Krisjanis Rijnieks
43e62ae9a9
Simplify SetApplicationStateCmd, remove SurfaceManagerGui parts
9 years ago
Krisjanis Rijnieks
f064ba810c
Improve Application::setup(), setup all states
9 years ago
Krisjanis Rijnieks
038758ce33
Fix ScaleWidget not capturing new surface after duplicate
9 years ago
Krisjanis Rijnieks
0d429016f4
Integrate ClearSurfacesCmd into Application
9 years ago
Krisjanis Rijnieks
81885d72df
Improve ClearSurfaceCmd with surface deselection
9 years ago
Krisjanis Rijnieks
5f20529efb
Add pure virtual `ApplicationBaseState::onGuiEvent` method
9 years ago
Krisjanis Rijnieks
7f67ec6621
Capture GuiEvent in Application
9 years ago
Krisjanis Rijnieks
ebf121e1ce
Add work in progress `GuiWidgetEvent`
9 years ago
Krisjanis Rijnieks
9b7069a7d7
Change SSH delete shortcut `-` to `\`
9 years ago
Krisjanis Rijnieks
8c723d6746
Add `registerFboSource` overload method with pointer
9 years ago
Krisjanis Rijnieks
b3ccb800d7
Do not configure console listener when no SSH connection
9 years ago
Krisjanis Rijnieks
a8c51ba6ee
Disable terminal listener to see if it solves TAB issue
9 years ago
Krisjanis Rijnieks
2ef49511ca
Add switch to mode 3 on mouse click
When in presentation mode, switch to projection mapping mode automatically when mouse is clicked.
9 years ago
Krisjanis Rijnieks
88312e8442
Add `-` as replacement for `BACKSPACE` if controlling via SSH
9 years ago
Krisjanis Rijnieks
b86dbe272a
Add saving to last loaded xml settings file
9 years ago
Krisjanis Rijnieks
9a073b255a
Remove gui test event
9 years ago
Krisjanis Rijnieks
eda4f8ad1f
Handle `backgroundPressedEvent` properly in the `Application`
9 years ago
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