Andrew Belt
|
90c43226cd
|
Clean up doc comments.
|
3 years ago |
Andrew Belt
|
0276fde5ab
|
Clean up app:: doc comments. Make some class variables internal.
|
3 years ago |
Andrew Belt
|
e6f5c62968
|
Add RackWidget::get/setNextCableColorId().
|
3 years ago |
Andrew Belt
|
3ec47bf575
|
Make RackWidget::incompleteCable internal with getter.
|
3 years ago |
Andrew Belt
|
19f806dbad
|
Implement PortCreateCableItem and PortCableItem.
|
3 years ago |
Andrew Belt
|
a786493ba1
|
Swap "Duplicate" and "Duplicate with cables" key commands. Add menu item to module and Edit menus.
|
3 years ago |
Andrew Belt
|
79036513c4
|
Resize mouse spotlight based on RackWidget zoom level.
|
3 years ago |
Andrew Belt
|
f374dd4c29
|
Add radial halo around mouse cursor in RackWidget.
|
3 years ago |
Andrew Belt
|
b28819a99d
|
Make LedDisplay draw on layer 1. Add translucent rectangle over ModuleContainer and draw lights on layer 1 instead of using nvgGlobalTint().
|
3 years ago |
Andrew Belt
|
aace0a075b
|
Draw LightWidget light and halo with drawLayer(args, 1) instead of resetting nvgGlobalTint().
|
3 years ago |
Andrew Belt
|
0839a7c041
|
Draw ModuleWidget shadow with drawLayer() instead of a custom drawShadow() method.
|
3 years ago |
Andrew Belt
|
cf2ca17156
|
Add Widget::drawLayer().
|
3 years ago |
Andrew Belt
|
357c0be7a1
|
Remove "Duplicate with cables" item from module and module selection
menu, but make key command Mod+shift+D disable cloning cables.
|
3 years ago |
Andrew Belt
|
35930bf7e9
|
Add "Duplicate with cables" menu item to module and module selections.
|
3 years ago |
Andrew Belt
|
967d99db97
|
Add return value to eachNearestGridPos() so compilers don't complain.
|
3 years ago |
Andrew Belt
|
95ed0bb5c5
|
Fix module paste key command. Fix crash when deleting module selection.
|
3 years ago |
Andrew Belt
|
f1635cd96b
|
Add Module::jsonStripIds().
|
3 years ago |
Andrew Belt
|
ea09f6df29
|
Use `RackWidget::selectedModules` set rather than `ModuleWidget::selected` bool.
|
3 years ago |
Andrew Belt
|
196e18ba0c
|
Rename ModuleBrowser to Browser.
|
3 years ago |
Andrew Belt
|
b63c9406eb
|
Duplicate cables attached to inputs in RackWidget::cloneSelectionAction().
|
3 years ago |
Andrew Belt
|
094382778f
|
Set JSON real precision to double (17 digits).
|
3 years ago |
Andrew Belt
|
f87f6af45b
|
Use nearest free position in RackWidget::fromJson() so resized modules don't overlap.
|
3 years ago |
Andrew Belt
|
b605c2c258
|
Don't close menu when Ctrl-clicking items. Add argument to MenuItem helpers to disable this behavior.
|
3 years ago |
Andrew Belt
|
74fdd9cb84
|
Rename "Load selection" menu item to "Import selection".
|
3 years ago |
Andrew Belt
|
c8f090aa1f
|
Add and implement RackWidget::loadSelection() and saveSelection().
|
3 years ago |
Andrew Belt
|
b341c90cc2
|
Clean up RackWidget selection method names. Add unimplemented RackWidget::loadSelectionDialog() and saveSelectionDialog().
|
3 years ago |
Andrew Belt
|
eb1048f6d0
|
Add names for a couple history actions.
|
3 years ago |
Andrew Belt
|
305e6f0a5c
|
Clean up eachNearestGridPos in RackWidget.
|
3 years ago |
Andrew Belt
|
69e4bb9deb
|
Reserve vectors in RackWidget methods to avoid reallocations.
|
3 years ago |
Andrew Belt
|
0e0b842749
|
Implement "cables" half of RackWidget::pasteJsonAction().
|
3 years ago |
Andrew Belt
|
19ea6d0e81
|
Don't remove ModuleWidget while holding Delete, only pressing/repeating.
|
3 years ago |
Andrew Belt
|
fe4191f9e5
|
Implement RackWidget::cloneSelectedModulesAction().
|
3 years ago |
Andrew Belt
|
76331f350c
|
Implement the "modules" half of RackWidget::pasteJsonAction().
|
3 years ago |
Andrew Belt
|
4fb2c9ac7c
|
Add RackWidget::fromJsonAction(), ModuleWidget::fromJsonAction(), and replace CableWidget::toJson() with CableWidget::mergeJson().
|
3 years ago |
Andrew Belt
|
aaf98bb16d
|
Implement RackWidget::copyClipboardSelectedModules(). Clean up RackWidget API.
|
3 years ago |
Andrew Belt
|
474dfdd26b
|
Disable Duplicate module selection menu item when nothing is selected.
|
3 years ago |
Andrew Belt
|
eeaafcfb88
|
Add menu item and key command for cloning selected modules.
|
3 years ago |
Andrew Belt
|
fb36f4f009
|
Add RackWidget::setSelectedModulesPosNearest() so dragging selected modules uses nearest position to the drag start.
|
3 years ago |
Andrew Belt
|
1a1a988535
|
Add Select All and Deselect menu items and key commands.
|
3 years ago |
Andrew Belt
|
c5374a878e
|
Move ModuleWidget::createSelectionContextMenu() to RackWidget::appendSelectionContextMenu(). Add selection context menu to Edit in menu bar.
|
3 years ago |
Andrew Belt
|
b017ebf887
|
Move module selection key commands to Scene so they are handled regardless of mouse position.
|
3 years ago |
Andrew Belt
|
8dc2b30c6b
|
Add module deselection to context menu.
|
3 years ago |
Andrew Belt
|
297561705a
|
Add key commands to selected modules.
|
3 years ago |
Andrew Belt
|
99c96c1e05
|
Implement RackWidget::bypassSelectedModulesAction() so bypassing the module selection works.
|
3 years ago |
Andrew Belt
|
5995391ef9
|
Add basic module selection dragging.
|
3 years ago |
Andrew Belt
|
bcc22eba61
|
Add actions to ModuleWidget::createSelectionContextMenu(). Refactor RackWidget and ModuleWidget as necessary.
|
3 years ago |
Andrew Belt
|
2a5180f101
|
Clean up RackWidget and ModuleWidget members.
|
3 years ago |
Andrew Belt
|
7d2ce0a6bb
|
Add ModuleWidget selection. (Currently does nothing.)
|
3 years ago |
Andrew Belt
|
99adc5c0fe
|
Add PlugWidget. Implement appearance of cables and plugs from Pyer. Add layer variable to Widget::DrawArgs. Add color::isEqual().
|
3 years ago |
Andrew Belt
|
1f079444a2
|
Add Widget::drawChild(). Make RailWidget draw a FramebufferWidget repeatedly as a tile.
|
3 years ago |