Krisjanis Rijnieks
|
17d7b95760
|
Remove ProjectionMappingMode::createSurface
Leave only Application::createSurface
|
8 years ago |
Krisjanis Rijnieks
|
f1a37adf2a
|
Move grid command includes to Application class
|
8 years ago |
Krisjanis Rijnieks
|
a96a8fb8c3
|
Beautify Application grid methods
|
8 years ago |
Krisjanis Rijnieks
|
1269e5661e
|
Move AddGridRow.. and ..Column methods to Application
|
8 years ago |
Krisjanis Rijnieks
|
0896c82e92
|
Add ofxPiMapper::scaleUp.. and ..Down()
|
8 years ago |
Krisjanis Rijnieks
|
76cfd74898
|
Improve Application::eraseSurface()
|
8 years ago |
Krisjanis Rijnieks
|
faf4b759d7
|
Organize Application includes
|
8 years ago |
Krisjanis Rijnieks
|
816e301d3a
|
Move TogglePerspectiveCmd include to Application
|
8 years ago |
Krisjanis Rijnieks
|
687960c537
|
Add ofxPiMapper::togglePerspective()
|
8 years ago |
Krisjanis Rijnieks
|
02f8ee8af6
|
Add TODO to Application
|
8 years ago |
Krisjanis Rijnieks
|
46cd88d33f
|
Move Duplicate.. and SetNextSource.. commands to Application
|
8 years ago |
Krisjanis Rijnieks
|
b6bbf5526b
|
Add ofxPiMapper::setNextSource()
|
8 years ago |
Krisjanis Rijnieks
|
5d043d1977
|
Add option to set custom info text
|
8 years ago |
Krisjanis Rijnieks
|
b3bc344ed7
|
Add ofxPiMapper::duplicateSurface()
|
8 years ago |
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 |