Krisjanis Rijnieks
|
ce81e9e15d
|
Add moveLayerUp and ..Down methods to ofxPiMapper
|
8 years ago |
Krisjanis Rijnieks
|
7c90b3ba0f
|
Add ofxPiMapper::eraseSurface(index)
|
9 years ago |
Krisjanis Rijnieks
|
fa4e263321
|
Update RmSurfaceCmd
Instead of removing selected surface, let user remove specific surface without selecting it.
|
9 years ago |
Krisjanis Rijnieks
|
9e0b302e1f
|
Add ofxPiMapper::createSurface(SurfaceType)
|
9 years ago |
Krisjanis Rijnieks
|
79034f24d5
|
Remove GuiMode.h include
|
9 years ago |
Krisjanis Rijnieks
|
197145bb33
|
Add piping down app events into fbo sources instead of registering
|
9 years ago |
Krisjanis Rijnieks
|
a0ce7cce39
|
Add SourceTypeHelper.h
Move SourceTypeHelper class code from SourceType.h to new file.
|
9 years ago |
Krisjanis Rijnieks
|
518bb76182
|
Fix SourceType, replace all int vars with decent type
Divide SourceType class into SourceType enum and SourceTypeHelper class
|
9 years ago |
Krisjanis Rijnieks
|
ff20c60789
|
Fix SurfaceType enum so it can be used as type for real
The problem was that wherever we use SurfaceType, the variable type was int, which leads to
confusion sometimes.
|
9 years ago |
Krisjanis Rijnieks
|
363d05679b
|
Fix crash on trying to get scale of non-selected surface
|
9 years ago |
Krisjanis Rijnieks
|
eef99d4465
|
Add ProjectionMappingMode::createSurface method
Use it with existing surface creation shortcuts.
|
9 years ago |
Krisjanis Rijnieks
|
c274d39e7b
|
Beautify TextureMappingMode code
|
9 years ago |
Krisjanis Rijnieks
|
e7424d492e
|
Add passing key events instead of registering to them
|
9 years ago |
Krisjanis Rijnieks
|
038c408919
|
Add passing mouse events instead of registering to them
|
9 years ago |
Krisjanis Rijnieks
|
c8c32f417e
|
Add ofxPiMapper::toggleInfo
|
9 years ago |
Krisjanis Rijnieks
|
3d75763382
|
Connect ofxPiMapper::selectNext and PrevVertex to TextureMappingMode
|
9 years ago |
Krisjanis Rijnieks
|
430996bb44
|
Fix select next and prev surface on > and < keypress
There was no check whether a surface is selected and thus an undoable command was created,
which is not what should happen.
|
9 years ago |
Krisjanis Rijnieks
|
08b6e1e13d
|
Add ofxPiMapper::selectNext and PrevVertex()
|
9 years ago |
Krisjanis Rijnieks
|
e7a23a4a2b
|
Hide/show layer panel on l press
|
9 years ago |
Krisjanis Rijnieks
|
517cbf1e69
|
Do not exec Sel..TexCoordCmd in tex mode if no surface selected
|
9 years ago |
Krisjanis Rijnieks
|
41c21c0cc4
|
Fix crash when hitting arrow in tex mode, close #81
|
9 years ago |
Krisjanis Rijnieks
|
b6b0c17713
|
Make use of DeselectTexCoordCmd when click drag all coords
|
9 years ago |
Krisjanis Rijnieks
|
77efc60938
|
Clean up TextureMappingMode
|
9 years ago |
Krisjanis Rijnieks
|
dd19417ad2
|
Create SaveTexCoordPosCmd only if tex coord move has happened
|
9 years ago |
Krisjanis Rijnieks
|
099e25baff
|
Optimize TextureMappingMode tex coord moving exec/undo
|
9 years ago |
Krisjanis Rijnieks
|
50e152f3d4
|
Make TextureMappingMode::moveSelection more elegant
|
9 years ago |
Krisjanis Rijnieks
|
9fd904cef4
|
Create command on TextureMappingMode::moveSelection
|
9 years ago |
Krisjanis Rijnieks
|
d78cd8f02e
|
Add TextureMappingMode::moveSelection
Discovery: the method used this far did not have an undoable command. Added a TODO as well.
|
9 years ago |
Krisjanis Rijnieks
|
94cbfcab79
|
Implement ProjectionMappingMode::moveSelection
Use the method when arrow keys are pressed instead of creating commands directly
|
9 years ago |
Krisjanis Rijnieks
|
a8a47892fa
|
Add ApplicationBaseMode::moveSelection empty virtual method
|
9 years ago |
Krisjanis Rijnieks
|
da547889d6
|
Put contents of TextureConsumersWidget into TextureHighlightWidget
|
9 years ago |
Krisjanis Rijnieks
|
19c47ff611
|
Rename SetActivePresetCmd to SetPresetCmd
|
9 years ago |
Krisjanis Rijnieks
|
1a1928259f
|
Rename setActivePreset to setPreset
|
9 years ago |
Krisjanis Rijnieks
|
22572e3bda
|
Refine ProjectionMappingMode::selectNext and PrevSurface
Do not create command if there is only one surface and it is selected.
|
9 years ago |
Krisjanis Rijnieks
|
f743fecfdd
|
Add ProjectionMappingMode::selectSurface method
|
9 years ago |
Krisjanis Rijnieks
|
a33f124b55
|
Add BaseMode::selectSurface method
|
9 years ago |
Krisjanis Rijnieks
|
636ac92100
|
Add ProjectionMappingMode::selectNext and PrevSurface methods
|
9 years ago |
Krisjanis Rijnieks
|
e358edd56d
|
Add BaseMode::selectNext and PrevSurface methods
|
9 years ago |
Krisjanis Rijnieks
|
8db988ca87
|
Prevent exec SelNext and SelPrevSurfaceCmd when no surfaces present
|
9 years ago |
Krisjanis Rijnieks
|
64f7fa5d29
|
Integrate TextureConsumersWidget into Application
Now in TextureMappingMode one can see the texture coordinates of other surfaces consuming the source.
|
9 years ago |
Krisjanis Rijnieks
|
875cc9e520
|
Add TextureMappingMode::setup
|
9 years ago |
Krisjanis Rijnieks
|
900adab1e6
|
Fix switching to mapping mode instead of presentation
After creating Application::set..Mode methods there was a mistake on <1> keypress.
|
9 years ago |
Krisjanis Rijnieks
|
e413e073a8
|
Remove fullscreen toggle on <f> keypress
If one needs it, it can be integrated on the ofApp level,
|
9 years ago |
Krisjanis Rijnieks
|
303a8e736b
|
Hide cursor on startup
|
9 years ago |
Krisjanis Rijnieks
|
36b2d1fe7f
|
Add autosave
|
9 years ago |
Krisjanis Rijnieks
|
8455ac9a17
|
Move Application mode switching to methods
This gives the possibility to call CommandManager managed calls from the ofxPiMapper class.
|
9 years ago |
Krisjanis Rijnieks
|
16e2473835
|
Add Application::setNextPreset on <n> keypress
|
9 years ago |
Krisjanis Rijnieks
|
1a2070139d
|
Integrate SetActivePresetCmd into Application
|
9 years ago |
Krisjanis Rijnieks
|
2d504160d5
|
Add HexagonSurface as base for CircleSurface
|
9 years ago |
Krisjanis Rijnieks
|
60fedb1277
|
Make presets a hidden feature for now
|
9 years ago |