Alain Emilia Anna Zscheile
e9ad380a58
feat(egui/overlay/bbox): allow multiple selection kinds of drag-selected BBoxes
...
Toggling is triggered by holding down `Ctrl` during `drag_start`.
Addition is triggered by holding down `Shift` during `drag_start`.
Substitution is used otherwise/by default.
2025-01-02 20:45:18 +01:00
Alain Emilia Anna Zscheile
044457e6bb
fix(egui): BBox selection should be solely triggered by drag
...
To complete the interface, menu buttons for selecting everything and nothing
were added. Trigger short-keys were taken from KiCAD.
Requested-By: @mikolaj https://codeberg.org/topola/topola/pulls/139#issuecomment-2561084
2025-01-02 19:43:00 +01:00
Alain Emilia Anna Zscheile
d703d5c3e3
feat(viewport,overlay): drag to select bbox
2025-01-02 18:51:45 +01:00
Alain Emilia Anna Zscheile
b070cd787b
fix(viewport): only capture mouse clicks actually intended for the viewport
2025-01-02 18:51:45 +01:00
Alain Emilia Anna Zscheile
e33633f8e1
chore: run cargo fmt (split to make previous commit more readable)
2025-01-02 18:51:45 +01:00
Alain Emilia Anna Zscheile
6fbdc8f738
feat: implement bounding box selection backend
2025-01-02 18:51:45 +01:00
Mikolaj Wielgus
44c30caafe
chore(licensing): add REUSE license headers to `**.{rs,md,toml}` files
...
I ran the following command in Fish shell:
```
reuse annotate --skip-unrecognised --copyright="Topola contributors" --license="MIT" **.{rs,md,toml}
```
The choice of year 2024 in the copyright statements is intentional.
2024-12-29 22:47:00 +01:00
Mikolaj Wielgus
0184a6537e
feat(egui): have a separate layout color theme for light mode
2024-12-09 14:22:38 +01:00
Mikolaj Wielgus
4b16285143
refactor(egui): move layer colors to `Config`
2024-12-09 14:22:38 +01:00
Alain Emilia Anna Zscheile
cbd3c77821
build/refactor: move secondary crates into 'crates' folder named by crate name
2024-11-20 15:44:02 +01:00