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)
9 years ago
Krisjanis Rijnieks
61a2e25e4f
Use SurfaceManager::removeSurface(index) in RmSurfaceCmd
9 years ago
Krisjanis Rijnieks
ef52cf893b
Add SurfaceManager::removeSurface(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
d955a54c37
Replace ofMain.h with ofEvents.h and ofLog.h
9 years ago
Krisjanis Rijnieks
c182d96b10
Remove obsolete includes from ofxPiMapper.h
9 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
Krisjanis Rijnieks
d7b458393f
Add l shortcut to Info
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
ed0ee4fd96
React to image added events
9 years ago
Krisjanis Rijnieks
1cc8ba5ae4
Add some todos
9 years ago
Krisjanis Rijnieks
c83c001967
Add usb0 to usb3 to media server locations
9 years ago
Krisjanis Rijnieks
21533b6b90
Add tex coord polling in case texture not loaded yet
9 years ago
Krisjanis Rijnieks
abb17e88fe
Fix texture coords not matching tex crop area
After hitting TAB and changing to nex texture in texture mode, joints were not matchin the
actual texture coordinates. Fix here. There is another problem though. There is a problem
with videos that have not been allocated yet. There is no size for the texture, thus it is
not possible calculate the texture coods.
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