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
eaadc60265
feat: allow toggling of all nodes in selected bbox
...
The complication here is that we need to take extra care to avoid
issuing self-vanishing/repeated togglings of the same pin/band,
as multiple graph nodes correspond to the same one (at least in case of polygons)
- refactor(layout): move reusable functions from Overlay to Layout
2025-01-02 18:51:45 +01:00
Alain Emilia Anna Zscheile
0a4a3e8351
feat: implement bounding box selection frontend
2025-01-02 18:51:45 +01:00
Alain Emilia Anna Zscheile
1f7c6eafc7
chore(egui/menu_bar): fix nitpicks
2024-12-31 13:36:07 +01:00
Alain Emilia Anna Zscheile
44bcdbc0aa
refactor(egui/menu_bar): remove unused `self` argument
2024-12-31 13:36:07 +01:00
Alain Emilia Anna Zscheile
f454e248d7
refactor(egui/actions): put menu rendering into `actions` module
2024-12-31 13:35:20 +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
1567a9a83e
style: rename "squeeze through under bands" to "(...) bends"
...
Everywhere except in translatable strings. I'm not changing these
because I prefer this to be done via Weblate.
2024-12-29 01:43:36 +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
a5503de0a2
feat(egui): use smaller color theme toggle like in Egui's demo
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
0fe23c9c71
build: put `specctra` module into separate crate
2024-12-06 14:38:00 +01:00
Mikolaj Wielgus
848a497991
fix(egui): show ratsnest by default
...
Closes https://codeberg.org/topola/topola/issues/118
2024-12-05 07:47:21 +01:00
Alain Emilia Anna Zscheile
e0de008f51
build/deps(egui): bump icu_experimental to v0.2; replace icu_locid -> icu_locale_core
2024-11-28 21:28:29 +01:00
Alain Emilia Anna Zscheile
070fe2c176
build(egui): depend on icu_{experimental,locid} directly to reduce deps
2024-11-28 17:19:18 +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