Krisjanis Rijnieks
038c408919
Add passing mouse events instead of registering to them
9 years ago
Krisjanis Rijnieks
1a1928259f
Rename setActivePreset to setPreset
9 years ago
Krisjanis Rijnieks
626eebd3e1
Add getSelectedSurfaceIndex
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
a83cebb89b
Fix returning no value where it should
9 years ago
Krisjanis Rijnieks
49bce71509
Remove comments and some whitespace
9 years ago
Krisjanis Rijnieks
2d504160d5
Add HexagonSurface as base for CircleSurface
9 years ago
Krisjanis Rijnieks
4678c76c4f
Add ofxPiMapper::setActivePreset and getNumPresets
9 years ago
Krisjanis Rijnieks
a96d7c8f7a
Saving and loading presets properly
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
e3f67a3067
Add preset todo in SettingsLoader
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
3644c25f95
Rename SourcesEditor to SourcesEditorWidget
9 years ago
Krisjanis Rijnieks
f3ef6e8134
Clean up after ProjectionEditorWidget move
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
42e8a8590f
Make Gui the owner of TextureEditorWidget
9 years ago
Krisjanis Rijnieks
324b2378cf
First step towards transforming TextureEditor into widget
9 years ago
Krisjanis Rijnieks
3b202bd270
Remove TextureEditor::enable() disable() etc...
9 years ago
Krisjanis Rijnieks
5d89e84088
Clean up SurfaceManagerGui even more
9 years ago
Krisjanis Rijnieks
fca7b4e5a9
Remove SurfaceManagerGui::mousePressed()
9 years ago
Krisjanis Rijnieks
8e984d7c15
Remove ProjectionMappingState::mousePressed() code from SurfaceManagerGui
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
Krisjanis Rijnieks
976dbd9ad4
Remove SurfaceManagerGui::mouseReleased()
9 years ago
Krisjanis Rijnieks
74c07b6234
Move mouseReleased from SurfaceManagerGui to states
To ProjectionMappingState
To TextureMappingState
9 years ago
Krisjanis Rijnieks
92e9d66e9c
Clean up SurfaceManagerGui::mouseReleased()
9 years ago
Krisjanis Rijnieks
2f8cf9de78
Remove SurfaceManagerGui::draw() method
9 years ago
Krisjanis Rijnieks
4adf3eb2e2
Draw SourcesEditor directly from SourceSelectionState
9 years ago
Krisjanis Rijnieks
aeae570b73
Move projection editor draw to ProjectionMappingState
9 years ago
Krisjanis Rijnieks
8b41c8227f
Simplify SurfaceManagerGui, remove desctructor
9 years ago
Krisjanis Rijnieks
2e3be30953
Clean up SurfaceManagerGui
With the intention to remove it completely in a step-by-step manner.
9 years ago
Krisjanis Rijnieks
0f0aa49e37
Improve texture mapping mode code
9 years ago
Krisjanis Rijnieks
038758ce33
Fix ScaleWidget not capturing new surface after duplicate
9 years ago
Krisjanis Rijnieks
fa71960821
Fix not being able to drag vertices in projection mapping mode
9 years ago
Krisjanis Rijnieks
fe7933d1b4
Add texture translate working with crop smooth
This commit is based on a number of other broken features. Work in progress.
9 years ago
Krisjanis Rijnieks
1dafb81faa
Remove ofSetColor from surface draw() calls
9 years ago
Krisjanis Rijnieks
c4f9cf5005
Remove surfaceManager->draw() from SurfaceManagerGui::draw()
9 years ago
Krisjanis Rijnieks
fabb81531f
Remove SurfaceManagerGui::drawSelectedSurfaceTextureHighlight() method
9 years ago
Krisjanis Rijnieks
5efee9111c
Integrate SurfaceHighlightWidget into Application
9 years ago
Krisjanis Rijnieks
5f5cc00ff0
Draw selected triangle surface highlight as a ofPolyline
9 years ago