Krisjanis Rijnieks
c2d3b9fef9
Select surface after creation
8 years ago
Krisjanis Rijnieks
61a2e25e4f
Use SurfaceManager::removeSurface(index) in RmSurfaceCmd
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
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
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
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
099e25baff
Optimize TextureMappingMode tex coord moving exec/undo
9 years ago
Krisjanis Rijnieks
dfa4fc8085
Improve SelPrevTexCoordCmd
9 years ago
Krisjanis Rijnieks
4b350db18c
Improve SelNextTexCoordCmd
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
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
59490ad198
Add deselect and select surface in SetActivePresetCmd
9 years ago
Krisjanis Rijnieks
b6797e77d5
Add SetActivePresetCmd
9 years ago
Krisjanis Rijnieks
7a2fc81c8b
Improve readability of the code
9 years ago
Krisjanis Rijnieks
5076b39c89
Make SurfaceStack not a singleton
9 years ago
Krisjanis Rijnieks
12f0d8abcf
Rename SetApplicationStateCmd to SetApplicationModeCmd
9 years ago
Krisjanis Rijnieks
a722ef1b2f
Rename application states to modes
9 years ago
Krisjanis Rijnieks
fc0055cad7
Integrate the SourcesEditorWidget into Application
9 years ago
Krisjanis Rijnieks
3644c25f95
Rename SourcesEditor to SourcesEditorWidget
9 years ago
Krisjanis Rijnieks
5c37c56ecb
Rename ProjectionEditor to ProjectionEditorWidget
9 years ago
Krisjanis Rijnieks
43e62ae9a9
Simplify SetApplicationStateCmd, remove SurfaceManagerGui parts
9 years ago
Krisjanis Rijnieks
42e8a8590f
Make Gui the owner of TextureEditorWidget
9 years ago
Krisjanis Rijnieks
324b2378cf
First step towards transforming TextureEditor into widget
9 years ago
Krisjanis Rijnieks
8d59cab508
Improve SetTexMapDrawModeCmd so it actually works
9 years ago
Krisjanis Rijnieks
164d95c21e
Add initial SetTexMapDrawModeCmd
9 years ago
Krisjanis Rijnieks
038758ce33
Fix ScaleWidget not capturing new surface after duplicate
9 years ago
Krisjanis Rijnieks
a1d4c013b4
Add TranslateCanvasCmd
9 years ago
Krisjanis Rijnieks
48052d7863
Add storing and reseting TextureMappingState canvas translation
In SetApplicationStateCmd
9 years ago
Krisjanis Rijnieks
81885d72df
Improve ClearSurfaceCmd with surface deselection
9 years ago
Krisjanis Rijnieks
73e68cc89d
Add ClearSurfaceCmd command
9 years ago
Krisjanis Rijnieks
8793e84bd8
Remove ScaleSurfaceUp/Dn commands, use ScaleSurfaceFromToCmd instead
9 years ago
Krisjanis Rijnieks
2a7c9e8481
Adjust surface selection commands to work well with the ScaleWidget
9 years ago
Krisjanis Rijnieks
ac32484445
Add ScaleSurfaceFromToCmd and integrate it
9 years ago
Krisjanis Rijnieks
8ad0a307e4
Add primitive and buggy ScaleWidget functionality
9 years ago
Krisjanis Rijnieks
aa4309637d
Add `ScaleSurfaceDnCmd`
9 years ago
Krisjanis Rijnieks
c565120580
Add `ScaleSurfaceUpCmd`
9 years ago
Krisjanis Rijnieks
5b5b5a7e28
Add `MvLayerDnCmd`
9 years ago
Krisjanis Rijnieks
4ea45384d4
Add `MvLayerUpCmd`
9 years ago
Krisjanis Rijnieks
c67e4e73fb
Add `ToggleAnimatedSourceCmd` for toggling video source pause
9 years ago
Krisjanis Rijnieks
80885348cb
Another attempt to fix TAB issue on RPi
9 years ago
Krisjanis Rijnieks
11a62e665d
Fix TAB not switching sources properly on Raspberry Pi
9 years ago
Krisjanis Rijnieks
eeb2a8192a
Fix not being able to `TAB` change sources
Ref #55
It was not possible to change a source using `TAB` just after a new surface creation while it had the default checker source set.
9 years ago
Krisjanis Rijnieks
f3e7db6bcc
Attempt to fix not showing image source on rpi
9 years ago
Krisjanis Rijnieks
4d5266f755
Clean up, rm `duplicateSurface` method from `CommandManager`
9 years ago
Krisjanis Rijnieks
801bcd310e
Finalize `DuplicateSurfaceCmd`
9 years ago