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
d1d9cd3421
Replace #import with #include in CmdManager.h
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
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
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
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
99f7594cb5
Fix texture coord update for quad surface [issue 15]
11 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
ca5df071b7
Add FBO source support and selection in source editor
11 years ago
Krisjanis Rijnieks
557899da16
Make ofxPiMapper usable as one single object. Update example.
11 years ago
Krisjanis Rijnieks
fdb24a99e4
Move surface related files into Surfaces directory
11 years ago
Krisjanis Rijnieks
691a0a9879
Filter same video sources to all platforms
11 years ago
Krisjanis Rijnieks
9586771abe
Move remove update listener part from raspberry pi platform part
11 years ago
Krisjanis Rijnieks
cfc49b362f
Remove omxplayer.stop as there is no such method
11 years ago
Krisjanis Rijnieks
0d513baee8
Replace import with include
11 years ago
Krisjanis Rijnieks
911650c553
Add hint to ofxOMXPlayer workaround
11 years ago
Krisjanis Rijnieks
0c993d9870
Add RPi OMX player
11 years ago