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
Krisjanis Rijnieks
7a8e9d7032
Merge branch 'master' into feature-viewstate
10 years ago
Krisjanis Rijnieks
d1d9cd3421
Replace #import with #include in CmdManager.h
10 years ago
Krisjanis Rijnieks
296b5585fb
Update readme for v0.2.4
10 years ago
Krisjanis Rijnieks
0d0bae9f43
Remove the `auto` specifier from `i` variable in `for` loops
`auto` is available in C++11+ compilers and this is not the case of a basic RPi setup.
10 years ago
Krisjanis Rijnieks
377d37cebc
Add main view state feature base
Main view has one active state which is an object subclassed from the ViewState. Each of the states will be a singleton as they will relay on the data stored in the MainView class instance.
10 years ago
Krisjanis Rijnieks
ea55aa06f4
Update readme for v0.2.3
10 years ago
Krisjanis Rijnieks
05edf64d04
Fix another getSelectedSurface() relatedbug that caused crash
10 years ago
Krisjanis Rijnieks
bb720731f2
Fix crashing on mouse release if no source selected
- SurfaceManagerGui mouseRelease method did not check whether a surface is selected before checking if a selected surface has been moved
10 years ago
Krisjanis Rijnieks
7e7aa93226
Add SelSourceCmd select source undoable command
10 years ago
Krisjanis Rijnieks
35593c1612
Add MvTexCoordCmd undo command
10 years ago
Krisjanis Rijnieks
424a7827c1
Add MvAllTexCoordsCmd undo feature
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
2f42b0e783
Fix crash after RemoveSurfaceCommand undo call
- Surface had to be selected again after putting it back into surfaceManager
10 years ago
Krisjanis Rijnieks
ef8d701176
Add ofLogNotice on existing command undo calls
10 years ago
Krisjanis Rijnieks
5ab0caad34
Remove drawing undo test value
10 years ago
Krisjanis Rijnieks
ce6588d296
Add undo operation with MoveSurfaceVertexCommand
10 years ago
Krisjanis Rijnieks
746742fac0
Do not repeat SelectSurfaceCommand if surface already selected
10 years ago
Krisjanis Rijnieks
24fe4fdc94
Remove MoveSurfaceCommand from command stack via undo if surface not moved
10 years ago
Krisjanis Rijnieks
6d011c2e7a
Add undo feature with SelectSurfaceCommand
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
fbd485969c
Make surfaceManager public to allow access from commandManager
10 years ago
Krisjanis Rijnieks
7631497f8e
Rename executeCommand to exec and add log notice if nothing to undo
10 years ago
Krisjanis Rijnieks
2ea46acbb3
Add some thoughts in form of comments
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
2f02f4ccee
Merge branch 'develop', version 0.2.2
11 years ago
Krisjanis Rijnieks
423d88d318
Update readme for version 0.2.2
11 years ago
Krisjanis Rijnieks
655b7dbac3
Remove quad surface perspective warping as it was buggy. Next logincal steps:
- Add mesh warping (multiple cols and rows)
- Then add perspective warping as a wrapper of the mesh warp
11 years ago
Krisjanis Rijnieks
8a920b087e
Fix [issue 24] fbo source not highlighted as active in sources editor when the selected surface has it assigned
11 years ago
Krisjanis Rijnieks
9e7d07e0c1
Add fbo source protection against not allocating in derived classes
11 years ago
Krisjanis Rijnieks
42f42ff31c
Fix ofxOMXPlayer opt.h directory path
11 years ago
Krisjanis Rijnieks
6ca4834ffb
Fix selected surface not being initialized to null in surface manager
11 years ago
Krisjanis Rijnieks
bd3f23a349
Remove cout from QuadSurface constructor
11 years ago
Krisjanis Rijnieks
a0c3a1eff5
Add xcode project add to readme
11 years ago
Krisjanis Rijnieks
f22713d324
Merge branch 'release-v0.2.1'
11 years ago
Krisjanis Rijnieks
4d12bc2c0d
Merge branch 'release-v0.2.1' into develop
11 years ago