Andrew Belt
|
f47729b40d
|
Add back force-moving of modules.
|
2 years ago |
Andrew Belt
|
e0b223605b
|
Don't refresh Browser on show.
|
3 years ago |
Andrew Belt
|
2e6f5d1ed7
|
In ModuleWidget::removeAction() unset module position from rack and push to history.
|
3 years ago |
Andrew Belt
|
6cf85035e2
|
Fix ModuleWidget::cloneAction() position of cloned module.
|
3 years ago |
Andrew Belt
|
e6354957a5
|
Separate RackWidget::setModulePosForce() into multiple methods.
|
3 years ago |
Andrew Belt
|
92d3196ac0
|
Place cloned module directly to the right of the original module.
|
3 years ago |
Andrew Belt
|
9fec91438d
|
Clean up RackWidget::setModulePosForce(). Use grid coordinates instead of pixels.
|
3 years ago |
Andrew Belt
|
32acefe1d5
|
Reorder and tweak behaviors in RackWidget::setModulePosForce() algorithm.
|
3 years ago |
Andrew Belt
|
0033ab76a3
|
Tweak position of meter percentage text. Omit "%" for 2 HP modules.
|
3 years ago |
Andrew Belt
|
950d73444e
|
Add menu item to port menu to set color of cables.
|
3 years ago |
Andrew Belt
|
d1683067c6
|
Only dispatch ActionEvent on mouse down in SvgButton.
|
3 years ago |
Andrew Belt
|
974fe13d2f
|
Increase ref counter of module JSON in ModuleWidget::pasteJsonAction() when giving shared ownership to history::ModuleChange action.
|
3 years ago |
Andrew Belt
|
b42c433930
|
Don't consume Button in ModuleWidget when Shift-clicking to select/deselect.
|
3 years ago |
Andrew Belt
|
c7bb0b7cf1
|
Make RackWidget::setModulePosNearest() and setSelectionPosNearest() always set the same row.
|
3 years ago |
Andrew Belt
|
074bca645a
|
In RackWidget::setModulePosForce(), only shove right modules left if module's new box does not occupy old box.
|
3 years ago |
Andrew Belt
|
30a31e858b
|
Rename RackWidget::getModuleMoveAction() back to getModuleDragAction() for ABI compatibility.
|
3 years ago |
Andrew Belt
|
88db0b74e9
|
Improve RackWidget::setModulePosForce() with a few intuitive special cases.
|
3 years ago |
Andrew Belt
|
957350c9ff
|
In RackWidget::setModulePosForce(), if module old position is to the left of the new position, shove other modules to the left instead of the right.
|
3 years ago |
Andrew Belt
|
5beab691e6
|
Constrict dragged module to left/right of other modules.
|
3 years ago |
Andrew Belt
|
e19347d6da
|
Use setModulePosForce() in RackWidget::addModuleAtMouse(). Push ModuleMove action when calling addModuleAtMouse().
|
3 years ago |
Andrew Belt
|
9c512458cf
|
Refactor RackWidget::addModuleAtMouse().
|
3 years ago |
Andrew Belt
|
f4eae161e8
|
Change RackWidget::setModulePosForce() behavior to insert module between other modules, remove gaps, and shove other modules to the right only.
|
3 years ago |
Andrew Belt
|
e57d87e708
|
If ModuleWidget is selected, don't dispatch Button event to children.
|
3 years ago |
Andrew Belt
|
1535b110cb
|
Don't always consume buttons in ModuleWidget.
|
3 years ago |
Andrew Belt
|
2283de5792
|
Make module dragging always force-move modules. Allow creating selections and moving selections of modules if "Lock module positions" is enabled.
|
3 years ago |
Andrew Belt
|
f79c7dc75f
|
Simpilfy RackWidget::onButton().
|
3 years ago |
Andrew Belt
|
bee494a3d7
|
Make force-moving default module drag behavior.
|
3 years ago |
Andrew Belt
|
74f372ec3f
|
Make force-moving move other modules to their "old" position when moving began.
|
3 years ago |
Andrew Belt
|
6a7bd37389
|
Remove ModuleWidget::oldPos, store old module positions in RackWidget::Internal.
|
3 years ago |
Andrew Belt
|
6258edeaf4
|
Don't consume key in TextField is Ctrl is held.
|
3 years ago |
Andrew Belt
|
7032be4725
|
Don't re-adjust module positions based on patch bounding box when serializing RackWidget.
|
3 years ago |
Andrew Belt
|
8fca198dfe
|
Fix initial angle of PlugWidget.
|
3 years ago |
Andrew Belt
|
41324f8079
|
Fix Module ID printf type.
|
3 years ago |
Andrew Belt
|
7bb39b339b
|
Add "Support" item to Help menu. Rearrange Help menu.
|
3 years ago |
Andrew Belt
|
8e7acf9b74
|
Log all calls to Model::createModule() and createModuleWidget().
|
3 years ago |
Andrew Belt
|
cdcb4bded1
|
Rename and reorder File > "Save template" to "Overwrite template".
|
3 years ago |
Andrew Belt
|
6ef77b1b88
|
Add "Save a copy" to File menu.
|
3 years ago |
Andrew Belt
|
5861aeb843
|
Don't close Rack when user clicks "Help > Update Rack" menu item.
|
3 years ago |
Andrew Belt
|
ffe340f4b2
|
Use %lld with long long type instead of PRId64 for printf.
|
3 years ago |
Andrew Belt
|
947d5bc16e
|
Use percentage unit for cable tension slider in View menu bar.
|
3 years ago |
Andrew Belt
|
02e9c1dd65
|
Move Import Selection menu item to File menu bar.
|
3 years ago |
Andrew Belt
|
f218f48098
|
Truncate browser's BrandButton more.
|
3 years ago |
Andrew Belt
|
704590eb6e
|
Add secret key command for dumping all visible modules from the browser into the rack.
|
3 years ago |
Andrew Belt
|
058c25caf4
|
Fix Exception format in CableWidget.
|
3 years ago |
Andrew Belt
|
77de1da2f6
|
Tweak favorites border in module browser.
|
3 years ago |
Andrew Belt
|
7317ac5afd
|
If input or output PortWidgets do not exist when adding a CableWidget, delete the CableWidget and remove Cable from Engine.
|
3 years ago |
Andrew Belt
|
169b869d32
|
Change label of allowCursorLock setting in menu.
|
3 years ago |
Andrew Belt
|
02cceecc3e
|
Don't assert if ModuleLightWidget accesses out of bounds lights, simply set brightness to 0. If module is bypassed, set brightness to 0.
|
3 years ago |
Andrew Belt
|
fe0a8c58a1
|
Add full version number to window title.
|
3 years ago |
Andrew Belt
|
6dff695198
|
Rename plugin::getPlugin() to getPluginFallback(), getExactPlugin() to getPlugin(), and similar renaming for Model. Don't check plugin fallback in library.
|
3 years ago |