Krisjanis Rijnieks
007c80d7a4
Add ofxPiMapper::togglePauseForSurface and getNumSurfaces methods
For toggling video play/pause from code... close #76
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
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
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
a722ef1b2f
Rename application states to modes
9 years ago
Krisjanis Rijnieks
b3b5ba13fe
Remove SurfaceManagerGui
9 years ago
Krisjanis Rijnieks
207ac39b99
Clean up SurfaceManagerGui
9 years ago
Krisjanis Rijnieks
fc0055cad7
Integrate the SourcesEditorWidget into Application
9 years ago
Krisjanis Rijnieks
e7fb328313
Move SourcesEditorWidget to Gui/Widgets
9 years ago
Krisjanis Rijnieks
3644c25f95
Rename SourcesEditor to SourcesEditorWidget
9 years ago
Krisjanis Rijnieks
f3ef6e8134
Clean up after ProjectionEditorWidget move
9 years ago
Krisjanis Rijnieks
432cf61cd3
Add setup related calls to ProjectionMappingState::setup()
9 years ago
Krisjanis Rijnieks
198b4456c5
Change owner of ProjectionEditorWidget to Gui
9 years ago
Krisjanis Rijnieks
5c37c56ecb
Rename ProjectionEditor to ProjectionEditorWidget
9 years ago
Krisjanis Rijnieks
ed1dd32fa2
Clean up old code related to TextureEditingWidget old paths
9 years ago
Krisjanis Rijnieks
43e62ae9a9
Simplify SetApplicationStateCmd, remove SurfaceManagerGui parts
9 years ago
Krisjanis Rijnieks
42e8a8590f
Make Gui the owner of TextureEditorWidget
9 years ago
Krisjanis Rijnieks
4cd2d0926a
Fix TextureMappingState::draw(), surfaces moving along with the texture
9 years ago