Krisjanis Rijnieks
|
7c6912dc2a
|
Add `pop_back()`, `back()` and avoid `delete` in `erase()` method
|
10 years ago |
Krisjanis Rijnieks
|
8df88a5163
|
Add simple `SurfaceStack` test
|
10 years ago |
Krisjanis Rijnieks
|
b73ab7bf96
|
Improve `SurfaceStack`
|
10 years ago |
Krisjanis Rijnieks
|
789342b320
|
Add `SurfaceStack` class untested yet
|
10 years ago |
Krisjanis Rijnieks
|
499f3ec475
|
Improve readability and add a TODO to `ofxPiMapper.h`
|
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
|
0c6659703c
|
Add `Info` class for displaying info
|
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
|
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
|
ef50c97e08
|
Add TODO for `SurfaceManager::loadXmlSettings()` method
|
10 years ago |
Krisjanis Rijnieks
|
a3e2f621d7
|
Add `ofxPiMapper::loadXmlSettings()` method.
|
10 years ago |
Krisjanis Rijnieks
|
ec3a60b742
|
Fix deprecations for oF v0.9.0 in src
|
10 years ago |
Krisjanis Rijnieks
|
95b366ada5
|
Change src code style using ofStyler
|
10 years ago |
Krisjanis Rijnieks
|
ed7d0fab02
|
Refactor RadioList to comply with oF code style
|
10 years ago |
Krisjanis Rijnieks
|
25770a92a2
|
Fix source selection for oF v0.9.0 and above, close #34
|
10 years ago |
Krisjanis Rijnieks
|
360021a09d
|
Fix deprecated `ofVideoPlayer` method calls
|
10 years ago |
Krisjanis Rijnieks
|
46de203b62
|
Fix missing semicolon
|
10 years ago |
Krisjanis Rijnieks
|
ffc2a54151
|
Improve indentation of `VideoSource`
|
10 years ago |
Krisjanis Rijnieks
|
aa1397f50a
|
Add static enableAudio member to `VideoSource` class
|
10 years ago |
Krisjanis Rijnieks
|
e425856a93
|
Rename `addFboSource()` to `registerFboSource()` and refactor a bit
|
10 years ago |
Krisjanis Rijnieks
|
b81cf62af4
|
Add `getWidth()` and `getHeight()`, additionally:
Additionally refactor the code according to oF guidelines. To be done for the rest of the code.
|
10 years ago |
Krisjanis Rijnieks
|
59da45360a
|
Reset color to white before drawing joints
|
10 years ago |
Krisjanis Rijnieks
|
423d17af86
|
Reset color to white before drawing each of the surfaces
|
10 years ago |
Krisjanis Rijnieks
|
9bf14255c8
|
Reset color to white before drawing texture
|
10 years ago |
Krisjanis Rijnieks
|
b554740a34
|
Remove yellow color overlay in PresentationState `draw()` method
|
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
|
04a345b377
|
Create a bridge between the new state system and the old solution
|
10 years ago |
Krisjanis Rijnieks
|
76f225de8d
|
Save current state of xcode project and add TODO to SurfaceManagerGui
|
10 years ago |
Krisjanis Rijnieks
|
175067dc98
|
Set application state instead of changing gui mode (in progress)
|
10 years ago |
Krisjanis Rijnieks
|
05396890eb
|
Move state change keyboard mappings to Application to handle
|
10 years ago |
Krisjanis Rijnieks
|
20904a8abf
|
Remove ofLogNotice when no source selected
|
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
|
a65a11bfed
|
Remove log messages from new view states
|
10 years ago |
Krisjanis Rijnieks
|
c5cea9004a
|
Add and test MainView as singleton and ViewStates
|
10 years ago |