Krisjanis Rijnieks
|
fb6563759f
|
Rename PROJECTION_MODE to MAPPING_MODE
|
9 years ago |
Krisjanis Rijnieks
|
1ab7272924
|
Add ofxPiMapper::setMode
|
9 years ago |
Krisjanis Rijnieks
|
fdf39c8f7b
|
Simplify ofxPiMapper::setNextPreset
|
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
|
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
|
731e979af3
|
Add mode reporting at the top level of ofxPiMapper
|
9 years ago |
Krisjanis Rijnieks
|
b583a4c37b
|
Add ofxPiMapper::setNextPreset
|
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
|
038758ce33
|
Fix ScaleWidget not capturing new surface after duplicate
|
9 years ago |
Krisjanis Rijnieks
|
8c723d6746
|
Add `registerFboSource` overload method with pointer
|
9 years ago |
Krisjanis Rijnieks
|
bd44c0cc75
|
Make `ofxPiMapper` own _application`
Additionally implement `ofxPiMapper::loadXmlSettings` method
|
10 years ago |
Krisjanis Rijnieks
|
0d6106b22a
|
Move all essential application parts to `Application` class
|
10 years ago |
Krisjanis Rijnieks
|
2385a2181a
|
Do not exit after failing to load default setings
|
10 years ago |
Krisjanis Rijnieks
|
a218eec519
|
Remove orphan `bShowInfo` from `ofxPiMapper` root class
|
10 years ago |
Krisjanis Rijnieks
|
2c63f5d86d
|
Rename `isSetUp` to `_setupComplete`
|
10 years ago |
Krisjanis Rijnieks
|
a681bfbd49
|
Add `SurfaceManager` as pointer in `ofxPiMapper` root class
Update the rest of the code to treat `getSurfaceManager()` return value as a pointer.
|
10 years ago |
Krisjanis Rijnieks
|
873edcfa60
|
Add `SurfaceManagerGui` as pointer in `ofxPiMapper` class
Update the rest of the code to treat it as a pointer.
|
10 years ago |
Krisjanis Rijnieks
|
2e311e89b0
|
Add `_cmdManager` as a pointer to `ofxPiMapper` root class
- Change the getter to return pointer as well.
- Update code elsewhere to call methods on `CmdManager` as if it was a pointer.
|
10 years ago |
Krisjanis Rijnieks
|
8c8a2b6e27
|
Remove `getMediaServer()` from `ofxPiMapper` root class as it is not used anywhere
|
10 years ago |
Krisjanis Rijnieks
|
e932b30d1c
|
Initialize `Info` in the constructor of `ofxPiMapper`
|
10 years ago |
Krisjanis Rijnieks
|
5bd3e53d46
|
Make `MediaServer` a pointer in `ofxPiMapper` class
|
10 years ago |
Krisjanis Rijnieks
|
2aa24ad581
|
Use the new `Info` class instead of inline code
|
10 years ago |
Krisjanis Rijnieks
|
1606f38b92
|
Remove `addTriangleSurface()` and `addQuadSurface()` methods from `ofxPiMapper` class
|
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
|
a3e2f621d7
|
Add `ofxPiMapper::loadXmlSettings()` method.
|
10 years ago |
Krisjanis Rijnieks
|
95b366ada5
|
Change src code style using ofStyler
|
10 years ago |
Krisjanis Rijnieks
|
e425856a93
|
Rename `addFboSource()` to `registerFboSource()` and refactor a bit
|
10 years ago |
Krisjanis Rijnieks
|
502f76b4a9
|
Move keyboard input mappings completely to application state system
|
10 years ago |
Krisjanis Rijnieks
|
8867edb8f2
|
Add AddSurfaceCmd and move surface creation key commands
- from ofxPiMapper to application state machine
|
10 years ago |
Krisjanis Rijnieks
|
05396890eb
|
Move state change keyboard mappings to Application to handle
|
10 years ago |
Krisjanis Rijnieks
|
2306be1c5d
|
Rename MainView to Application and not just that
- Rename ViewState to ApplicationBaseState
- Rename all ..ViewState's to just ..State's
- Adjust ofxPiMapper main class so app compiles
|
10 years ago |
Krisjanis Rijnieks
|
5fd8c2bbd5
|
Add keyboard input handler and move the view switching functionality there
|
10 years ago |
Krisjanis Rijnieks
|
c5cea9004a
|
Add and test MainView as singleton and ViewStates
|
10 years ago |
Krisjanis Rijnieks
|
c69ca799b4
|
Add gui mode/state switch undo command
|
10 years ago |
Krisjanis Rijnieks
|
bbd462f551
|
Rename command class names to shorter versions
- Also remove initial undo test code
|
10 years ago |
Krisjanis Rijnieks
|
5ab0caad34
|
Remove drawing undo test value
|
10 years ago |
Krisjanis Rijnieks
|
c9a591a4ae
|
Add undo feature with MoveSurfaceCommand
|
10 years ago |
Krisjanis Rijnieks
|
bd69364284
|
Add undoable RemoveSurfaceCommand
|
10 years ago |
Krisjanis Rijnieks
|
7631497f8e
|
Rename executeCommand to exec and add log notice if nothing to undo
|
10 years ago |
Krisjanis Rijnieks
|
df840a293c
|
Add undoable command test
- Add UndoableCommand base class
- Add CommandManager that handles undoing
- Add test to main ofxPiMapper files
|
10 years ago |
Krisjanis Rijnieks
|
798ff75c8f
|
Add Command design pattern simple test
|
10 years ago |
Krisjanis Rijnieks
|
d88fe23773
|
Add FBO source via ofxPiMapper directly insteat through getMediaServer
|
11 years ago |
Krisjanis Rijnieks
|
7db249d890
|
Add saving and loading FBO source
|
11 years ago |
Krisjanis Rijnieks
|
557899da16
|
Make ofxPiMapper usable as one single object. Update example.
|
11 years ago |
Krisjanis Rijnieks
|
52883ccbbb
|
Add ofxTriangleSurface placeholder
|
11 years ago |