Krisjanis Rijnieks
26326733cc
Make it work with openFrameworks master branch
8 years ago
Krisjanis Rijnieks
9966ecf83a
Update code to use Vec3 and Vec2 everywhere
8 years ago
Krisjanis Rijnieks
5e23b21eb2
Add Vec2 adapter class, Vec3 still to finish
8 years ago
Theodoros Papatheodorou
18d50a70d7
added fbo accessor functions to FboSource, surrounded calls to setup() and reset() with calls to begin/end fbo drawing
8 years ago
Theodoros Papatheodorou
398da86acf
added virtual function reset() in baseSource that can be overridden in Source classes to reset source variables on re-entry, if needed
8 years ago
Krisjanis Rijnieks
ef52cf893b
Add SurfaceManager::removeSurface(index)
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
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
038758ce33
Fix ScaleWidget not capturing new surface after duplicate
9 years ago
Krisjanis Rijnieks
20efd8ebc6
Make `SurfaceStack` a singleton and adjust `SurfaceManager`
9 years ago
Krisjanis Rijnieks
1cb3367113
Fix create surface undo
9 years ago
Krisjanis Rijnieks
4d5266f755
Clean up, rm `duplicateSurface` method from `CommandManager`
9 years ago
Krisjanis Rijnieks
b5d0fbfc03
Add `duplicateSurface()` method to `SurfaceManager`
9 years ago
Krisjanis Rijnieks
fd734328c7
Move all surfaces with the keyboard arrows if no surface selected
9 years ago
Krisjanis Rijnieks
ede1f4fd18
Add `surfaceUnselectedevent to `SurfaceManager`
9 years ago
Krisjanis Rijnieks
14aa1aedfe
Add `selectVertex` to `SurfaceManager`
9 years ago
Krisjanis Rijnieks
0a3c6ff8a2
Move vertex on `moveSelectionBy`
9 years ago
Krisjanis Rijnieks
1a09a6e268
Add `SurfaceManager::moveSelectionBy`
9 years ago
Krisjanis Rijnieks
456845f33f
Implement `SurfaceManager` `selectNextVertex` and `selectPrevVertex` methods
9 years ago
Krisjanis Rijnieks
9182ddbc05
Add `SurfaceManager::selectNext` and `::selectPrevVertex` method placeholders
9 years ago
Krisjanis Rijnieks
0f1ded7ba3
Add `selectNextSurface` and `selectPrevSurface` methods to `SurfaceManager`
9 years ago
Krisjanis Rijnieks
13b1fdd506
Add `surfaceSelectedEvent`
9 years ago
Krisjanis Rijnieks
5726357069
Make surfaces emit events when vertices change
9 years ago
Krisjanis Rijnieks
058eb23b13
Clean up `SurfaceManager`
10 years ago
Krisjanis Rijnieks
6bb151b369
Move XML settings save and load to `SettingsLoader` singleton
10 years ago
Krisjanis Rijnieks
ad76db5319
Clean up `SurfaceManager`
10 years ago
Krisjanis Rijnieks
5cfa51718b
Remove `SurfaceStack` test from `SurfaceManager`
10 years ago
Krisjanis Rijnieks
b4f2e7bcb7
Fix `SurfaceManager::saveXmlSettings()`
10 years ago
Krisjanis Rijnieks
3ec8ba7abb
Simplify surface creation code. Use `SurfaceFactory` class.
10 years ago
Krisjanis Rijnieks
b954dec21e
Replace `surfaces` vector with `SurfaceStack` class
10 years ago
Krisjanis Rijnieks
8df88a5163
Add simple `SurfaceStack` test
10 years ago
Krisjanis Rijnieks
dbc4eb0d07
Make `loadXmlSettings()` return `bool` value
10 years ago
Krisjanis Rijnieks
ac2a2e7834
Rename `SurfaceManager::addSurface(...)` to `createSurface` where it creates surface
There has to be a difference between creational and "additional" methods.
10 years ago
Krisjanis Rijnieks
2b268349c7
Remove `addSurface(int surfaceType, BaseSource * newSource)` from `SurfaceManager`
It is not used anywhere.
10 years ago
Krisjanis Rijnieks
26e89f11a7
Move `SurfaceManager` variable initialization to constructor body
Because sticking to this kind of convention is so much more readable.
10 years ago
Krisjanis Rijnieks
bdd3f88d2b
Remove `addSurface(int surfaceType)` from `SurfaceManager`
Cleaning up. This method is not used anywhere.
10 years ago
Krisjanis Rijnieks
0fbfe7174b
Remove `std::` prefix everywhere in `src`
10 years ago
Krisjanis Rijnieks
f160fbd232
Replace `NULL` with `0` everywhere
10 years ago
Krisjanis Rijnieks
95b366ada5
Change src code style using ofStyler
10 years ago
Krisjanis Rijnieks
423d17af86
Reset color to white before drawing each of the surfaces
10 years ago
Krisjanis Rijnieks
8867edb8f2
Add AddSurfaceCmd and move surface creation key commands
- from ofxPiMapper to application state machine
10 years ago