Krisjanis Rijnieks
c2d3b9fef9
Select surface after creation
8 years ago
Krisjanis Rijnieks
9996554b2f
Move surface command executors to Application
8 years ago
Krisjanis Rijnieks
a39042aab9
Remove ofEvents.h include from ProjectionMappingMode.h
8 years ago
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
bf07dabdb0
Replace ofxPiMapper::Mode with ofx::piMapper::Mode
8 years ago
Krisjanis Rijnieks
c52269a893
Add Mode.h for storing ofxPiMapper mode enum
8 years ago
Krisjanis Rijnieks
7c90b3ba0f
Add ofxPiMapper::eraseSurface(index)
8 years ago
Krisjanis Rijnieks
61a2e25e4f
Use SurfaceManager::removeSurface(index) in RmSurfaceCmd
8 years ago
Krisjanis Rijnieks
ef52cf893b
Add SurfaceManager::removeSurface(index)
8 years ago
Krisjanis Rijnieks
fa4e263321
Update RmSurfaceCmd
Instead of removing selected surface, let user remove specific surface without selecting it.
8 years ago
Krisjanis Rijnieks
9e0b302e1f
Add ofxPiMapper::createSurface(SurfaceType)
8 years ago
Krisjanis Rijnieks
d955a54c37
Replace ofMain.h with ofEvents.h and ofLog.h
8 years ago
Krisjanis Rijnieks
c182d96b10
Remove obsolete includes from ofxPiMapper.h
8 years ago
Krisjanis Rijnieks
03b06f108a
Improve ScaleWidget mouse dragged fix
The problem was in ofxPiMapper class where mousePressed(x, y, button) was transformed into
onMousePressed(ofMouseEventArgs & args) version. The event type was missing. Added now.
9 years ago
Krisjanis Rijnieks
882dafc3a8
Remove cout from BaseSurface::scaleTo
9 years ago
Krisjanis Rijnieks
25555be25c
Fix ScaleWidget
The issue was and still is that the ofMouseEventArgs::type is not set correctly in
openFrameworks.
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
dc13e607fd
Remove ofxPiMapper::loadXmlSettings
In favour of loadProject.
9 years ago
Krisjanis Rijnieks
e01c0585cf
Add ofxPiMapper::saveProject and loadProject
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
6f3ba63a9f
Add prev selected vertex to SelSurfaceCmd
9 years ago
Krisjanis Rijnieks
aec929d45b
Add prev selected vertex to SelPrevSurfaceCmd
9 years ago
Krisjanis Rijnieks
cb645a0847
Add prev selected vertex to SelNextSurfaceCmd
9 years ago
Krisjanis Rijnieks
1e860fe95a
Fix crash caused by ScaleWidget::onMousePressed
Adding check if surface is selected.
9 years ago