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
Krisjanis Rijnieks
324b2378cf
First step towards transforming TextureEditor into widget
9 years ago
Krisjanis Rijnieks
d603d332d3
Remove deconstructors from ProjectionEditor and TextureEditor
9 years ago
Krisjanis Rijnieks
f60e83a1b5
Remove useless SourcesEditor code
9 years ago
Krisjanis Rijnieks
a0050722d3
Clean SourceEditor from old comments and whitespace
9 years ago
Krisjanis Rijnieks
44c29daf37
Do not create MediaServer in SourcesEditor contructor
9 years ago
Krisjanis Rijnieks
e947c13525
Remove alternative constructor for SourcesEditor
9 years ago
Krisjanis Rijnieks
5ded9fa70d
Remove SourcesEditor::register/unregisterAppEvents()
9 years ago
Krisjanis Rijnieks
f064ba810c
Improve Application::setup(), setup all states
9 years ago
Krisjanis Rijnieks
6cd213a1a4
Clean up ProjectionEditor from old comments
9 years ago
Krisjanis Rijnieks
d5a1249b20
Remove ProjectionEditor::register/unregisterMouseEvents()
9 years ago
Krisjanis Rijnieks
782717215d
Call ProjectionEditor::update() from ProjectionMappingState
9 years ago
Krisjanis Rijnieks
d0164813be
Remove keyPressed() and keyReleased() from TextureEditor
9 years ago
Krisjanis Rijnieks
af90cfea9d
Add arrow key detection to TextureMappingState
9 years ago
Krisjanis Rijnieks
3b202bd270
Remove TextureEditor::enable() disable() etc...
9 years ago
Krisjanis Rijnieks
5df8202ad6
Make TextureEditingState responsible for TextureEditor key events
9 years ago
Krisjanis Rijnieks
5d89e84088
Clean up SurfaceManagerGui even more
9 years ago
Krisjanis Rijnieks
c8ef25857d
Remove TextureEditor::register and unregisterAppEvents()
9 years ago
Krisjanis Rijnieks
027e763c61
Call TextureEditor::update() from TextureMappingState
9 years ago
Krisjanis Rijnieks
fca7b4e5a9
Remove SurfaceManagerGui::mousePressed()
9 years ago
Krisjanis Rijnieks
06241f438d
Add TextureMappingState::mousePressed() code from SurfaceManagerGui
9 years ago
Krisjanis Rijnieks
8e984d7c15
Remove ProjectionMappingState::mousePressed() code from SurfaceManagerGui
9 years ago
Krisjanis Rijnieks
d65e498623
Move related mousePressed() part to ProjectionMappingState::mousePressed()
9 years ago
Krisjanis Rijnieks
0d6d12c894
Clean up TextureMappingState a bit
9 years ago
Krisjanis Rijnieks
5f562fb012
Remove SurfaceManagerGui::mouseDragged()
9 years ago
Krisjanis Rijnieks
bffb98e558
Move mouseDragged texture mapping part to TextureMappingState
9 years ago
Krisjanis Rijnieks
a4939f3a34
Clean up SurfaceMangerGui::mouseDragged()
9 years ago
Krisjanis Rijnieks
0a15a972f9
Move projection editor mouseDragged part to ProjectionMappingState
9 years ago