Nikita Zlobin
a27c6bf106
CanvasBox.updatePositions: fix horizontal port positioning
6 years ago
Nikita Zlobin
80d8dcf413
updatePositions: optimization
6 years ago
Nikita Zlobin
b490c26f11
updatePositions: refactoring 3
Merge as much as possible stuff from second loop to first. Use second
only to set width and X for ports.
6 years ago
Nikita Zlobin
7bd0d29576
CanvasBox.updatePositions: refactoring 2
More folding
Clean some magic height changes. Bottom space now consists of
max(port_spacing, port_spacingT) + border width - trailing port_spacing.
Port types are traversed in loop, using array.
6 years ago
Nikita Zlobin
aae1f71089
CanvasBox.updatePositions: refactoring 1
First stage of refactoring.
Fixed indentation of line, added in visual correction of lineHinting
effect.
6 years ago
Nikita Zlobin
e37bb018fe
refactoring: CanvasBox.paint()
Use single rect through all drawing sequence (change of decrement in one
place affects all next steps).
6 years ago
Nikita Zlobin
4dddf2ef4e
Better code to calculate connection line coordinates
6 years ago
Nikita Zlobin
dd7fc64ef6
small code optimizations
6 years ago
Nikita Zlobin
3fe061b83f
Middle corner hinting for polygon ports
6 years ago
Nikita Zlobin
34fdf57eea
Fold too long lines
6 years ago
Nikita Zlobin
acb9dff0ce
Restore original visible sizes, affected by border hinting
By shifting border inside of logical bound, free space around is
increased by one line weight.
6 years ago
Nikita Zlobin
c02a0e644f
comment typo
6 years ago
Nikita Zlobin
0248888e3c
code style fix
6 years ago
Nikita Zlobin
445d836302
Rename pointer_border to m_pointer_border
6 years ago
Nikita Zlobin
388fbfa847
Rubberband alignment to pixels
6 years ago
Nikita Zlobin
5d341b36ff
Port's border-to-pixel alignment
6 years ago
Nikita Zlobin
2ec917cdaa
Fix box position after movement in scaled state
When box is moved in scaled state, coordinates get random fraction,
which breaks border-to-pixel alignment.
6 years ago
Nikita Zlobin
070c58397f
Align box border to pixel grid (antialiasing fix)
Make border's outer edge aligned to pixel margin
6 years ago
Nikita Zlobin
5b0ae3e971
renamed line's delete() to triggerDisconnect()
6 years ago
Nikita Zlobin
98ea1d800c
More consistent names for some variables
Mouse buttons in nix world have numbers 1..3 for 3 primary buttons, but
qt has special meaning for numbered names, using symbolics for first
standard buttons.
6 years ago
Nikita Zlobin
fb10518304
Cut connections by Control+MButton3
Simple click removes connections, which are too close to pointer
(for now 1px, but would be nice to make configurable).
Dragging cuts all connections on the way.
6 years ago
falkTX
7b4507c663
Fix broken canvas with old settings
6 years ago
falkTX
69c24a915a
Active peaks and keyboard for carla-rack group
7 years ago
falkTX
eee6dc433a
Save and restore canvas positions in new sibling file to project
7 years ago
falkTX
39fd33506e
Keep canvas plugin id when split or join group; Cleanup
8 years ago
falkTX
e11b07a633
Show a custom menu when right-clicking empty rack & patchbay areas
Closes #231
9 years ago
falkTX
ec91ff364d
Rework patchbay animation system, now full eyecandy works 100% :D
9 years ago
falkTX
bd87821c3a
Add 'replace' action to canvas plugin right click menu
9 years ago
falkTX
5bbc6a04b6
Several fixes for renaming, and some cleanup too
9 years ago
falkTX
aa921090c0
comment small api change
9 years ago
falkTX
647e9169bd
Fix some issues with rename
9 years ago
falkTX
589b2cb043
Cleanup, set name on rack when renaming in canvas
9 years ago
falkTX
0ed93f318f
PatchCanvas: Add option to auto-select items on hover
9 years ago
falkTX
64b8803025
More cleanup
10 years ago
falkTX
fa05bd6d1c
Fix patchcanvas for when ports of different groups have the same id
10 years ago
falkTX
94eb3d8f30
Fix canvas connections right-click issues
10 years ago
falkTX
c53223afff
Start the final cleanup for beta2 and full utils check
10 years ago
falkTX
20ab636041
More osx stuff
10 years ago
falkTX
cf0716b044
Misc
10 years ago
falkTX
e2fbeced17
PatchCanvas: Use pixel size instead of point size
10 years ago
falkTX
a4603ef159
In-canvas parameters experiment
10 years ago
falkTX
43fd066ff5
Make the patchbay connections always have a group and port id
10 years ago
falkTX
4e7d34423f
Show CV ports as dark audio in canvas
10 years ago
falkTX
5b940ad6bd
PatchCanvas: Add port is_alternate var
10 years ago
falkTX
2393b8e1a7
PatchCanvas: Get rid of a2j port, add parameter
10 years ago
falkTX
cee62b42e5
Update makefile and py code to allow PyQt5 for the frontend
10 years ago
falkTX
3d4aff337d
Update canvas plugin ids when removing a plugin
10 years ago
falkTX
1483c3c54d
Misc
10 years ago
falkTX
a959d83144
Implement showing built-in dialog via canvas
10 years ago
falkTX
893ea105e8
Auto-enable/disable keys only when selection contains a plugin
10 years ago