Krisjanis Rijnieks
05c7185ba9
Add ofxPiMapper::selectSurface
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
3f1bc1520e
Fix crashing on vertex click after deselect
This was a nasty long-timer bug. A lot of unfortunate crashes before autosave was there. It
usually happened when one was trying to click on the selected surface vertex, failed and
then tried again. The selection widget joints were still hitTested, but as there was no
selection anymore, the app crashed while trying to access a vertex of a non-existing
surface.
9 years ago
Krisjanis Rijnieks
007c80d7a4
Add ofxPiMapper::togglePauseForSurface and getNumSurfaces methods
For toggling video play/pause from code... close #76
9 years ago
Krisjanis Rijnieks
d968e6e14a
Add blank line before EOF
9 years ago
Krisjanis Rijnieks
303a8e736b
Hide cursor on startup
9 years ago
Krisjanis Rijnieks
36b2d1fe7f
Add autosave
9 years ago
Krisjanis Rijnieks
fb6563759f
Rename PROJECTION_MODE to MAPPING_MODE
9 years ago
Krisjanis Rijnieks
1ab7272924
Add ofxPiMapper::setMode
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
fdf39c8f7b
Simplify ofxPiMapper::setNextPreset
9 years ago
Krisjanis Rijnieks
16e2473835
Add Application::setNextPreset on <n> keypress
9 years ago
Krisjanis Rijnieks
59490ad198
Add deselect and select surface in SetActivePresetCmd
9 years ago
Krisjanis Rijnieks
626eebd3e1
Add getSelectedSurfaceIndex
9 years ago
Krisjanis Rijnieks
f9cab42d56
Make setNextPreset use commands
9 years ago
Krisjanis Rijnieks
0649e31256
Add surfaces to the example project composition
9 years ago
Krisjanis Rijnieks
3e6a1d6541
Add simple triangle composition to example-camera
9 years ago
Krisjanis Rijnieks
be3b079847
Make example-camera xcodeproj compile again
9 years ago
Krisjanis Rijnieks
745f8791af
Make example xcodeproj compile again
9 years ago
Krisjanis Rijnieks
1a2070139d
Integrate SetActivePresetCmd into Application
9 years ago
Krisjanis Rijnieks
b6797e77d5
Add SetActivePresetCmd
9 years ago
Krisjanis Rijnieks
7a2fc81c8b
Improve readability of the code
9 years ago
Krisjanis Rijnieks
edb4b682e0
Improve cloneActivePreset()
9 years ago
Krisjanis Rijnieks
c77fb4f3e2
Add eraseActivePreset()
9 years ago
Krisjanis Rijnieks
52725a033e
Add cloneActivePreset()
9 years ago
Krisjanis Rijnieks
d859e64bbf
Add notice about SSH rmote not working now
9 years ago
Krisjanis Rijnieks
5969ab452b
Deselect surface before switching to next preset
9 years ago
Krisjanis Rijnieks
a83cebb89b
Fix returning no value where it should
9 years ago
Krisjanis Rijnieks
49bce71509
Remove comments and some whitespace
9 years ago
Krisjanis Rijnieks
731e979af3
Add mode reporting at the top level of ofxPiMapper
9 years ago
Krisjanis Rijnieks
2d504160d5
Add HexagonSurface as base for CircleSurface
9 years ago
Krisjanis Rijnieks
b583a4c37b
Add ofxPiMapper::setNextPreset
9 years ago
Krisjanis Rijnieks
60fedb1277
Make presets a hidden feature for now
9 years ago
Krisjanis Rijnieks
9a0dfa443a
Add ofxPiMapper::getActivePresetIndex
9 years ago
Krisjanis Rijnieks
4678c76c4f
Add ofxPiMapper::setActivePreset and getNumPresets
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
a96d7c8f7a
Saving and loading presets properly
9 years ago
Krisjanis Rijnieks
17433cdb97
Add loading presets from xml
9 years ago
Krisjanis Rijnieks
071ea03aff
Rename SurfaceManager::clear to clearPresets
To increase readability as it was not clear what clear() does in the context of presets.
Does it clear surfaces or presets or both. Now one can use getCurrentPreset()->clear() if it
exists to clear the surfaces of the current preset.
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
3e7e3eb3ed
Add multiple <surfaces> tag test
9 years ago
Krisjanis Rijnieks
e3f67a3067
Add preset todo in SettingsLoader
9 years ago
Krisjanis Rijnieks
12f0d8abcf
Rename SetApplicationStateCmd to SetApplicationModeCmd
9 years ago
Krisjanis Rijnieks
2504d5fdaa
Refactor TextureMappingMode::draw()
9 years ago
Krisjanis Rijnieks
af13d906bd
Adjust example-camera xcodeproj to last rename
9 years ago
Krisjanis Rijnieks
fc5b28893f
Adjust example xcodeproj to last rename
9 years ago
Krisjanis Rijnieks
a722ef1b2f
Rename application states to modes
9 years ago
Krisjanis Rijnieks
46de58be6c
Fix example-camera xcodeproj
9 years ago