falkTX
e00d5dd484
Rework parts of keyboard widget, add some options
6 years ago
falkTX
5af074b399
Move frontend code to its own folder
6 years ago
FilipeCSnuk
d37ca695a6
Cleanup
6 years ago
FilipeCSnuk
22c5b1b8e8
Fix canvas rubberband being invisible after a refresh
Fixes #656
6 years ago
falkTX
5581789302
Cleanup, small fix for previous commits
6 years ago
Nikita Zlobin
8d30a097c0
CanvasBox.updatePositions: fix horizontal port positioning
6 years ago
Nikita Zlobin
40bf7668bf
updatePositions: optimization
6 years ago
Nikita Zlobin
e3aadfbc3a
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
dc48fdd1a0
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
727138c3b2
CanvasBox.updatePositions: refactoring 1
First stage of refactoring.
Fixed indentation of line, added in visual correction of lineHinting
effect.
6 years ago
Nikita Zlobin
4387408f91
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
c219332e83
Better code to calculate connection line coordinates
6 years ago
falkTX
683869d9e5
Whitespace
6 years ago
Nikita Zlobin
52c3c8c283
small code optimizations
6 years ago
falkTX
09c575fe37
Whitespace
6 years ago
Nikita Zlobin
1bb196a78d
Fold too long lines
6 years ago
Nikita Zlobin
7e4348832c
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
e7e7c36e68
comment typo
6 years ago
falkTX
5fa3c7ba92
Fix mouse mid button release initiating rubberband selection
Closes #667
6 years ago
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