Mikolaj Wielgus
9159312ea5
egui: add button and key to abort execution
...
It actually finishes execution, as I haven't implemented actual aborting
yet.
2024-10-02 02:32:06 +02:00
Alain Emilia Anna Zscheile
161fa002c1
chore(egui): fix rust warnings
2024-10-01 20:50:38 +00:00
Mikolaj Wielgus
cc0bf1845a
terminology: suffix some single-verb object type names with "Stepper"
2024-10-01 14:27:57 +02:00
Mikolaj Wielgus
001e4bcdcf
egui: rename "top" and "bottom" to "menu bar" and "status bar"
...
These are more recognizable terms.
2024-10-01 05:36:25 +02:00
Mikolaj Wielgus
c8a40860af
egui: s/ExecuteWithStatus/ActivityWithStatus, move it to own file
2024-09-30 01:36:22 +02:00
Mikolaj Wielgus
1c7042c8c3
autorouter: move `Execute` and `ExecuteWithStatus` to own file
2024-09-29 03:17:07 +02:00
Mikolaj Wielgus
92f82ff332
egui: give 20% margin from each side when zooming to fit
2024-09-15 12:22:37 +02:00
Mikolaj Wielgus
0239a49c73
egui: implement zooming to fit
2024-09-11 16:03:18 +02:00
Mikolaj Wielgus
89717f2b6e
egui: show root bbox
...
Helpful for debugging geometrical transformations.
2024-09-11 13:38:50 +02:00
Mikolaj Wielgus
8c671e5a2c
egui: allocate whole available height for canvas
2024-09-10 22:54:44 +02:00
Mikolaj Wielgus
0552dd3f33
egui: put debug visualization checkboxes in a dropdown menu
2024-07-21 13:59:08 +02:00
Mikolaj Wielgus
a644ac276b
egui: add widget to control showing bboxes
2024-07-19 23:11:38 +02:00
Mikolaj Wielgus
be9ff3a85a
layout: rename "zone" to "poly"
...
We'll keep the term "zone" for higher-level concepts.
2024-07-09 23:09:39 +02:00
Mikolaj Wielgus
def3f84d6a
egui,autorouter,router: highlight current obstacle
2024-07-04 00:39:08 +02:00
Mikolaj Wielgus
b6cb89c017
egui,autorouter,router: display infringement shapes (aka. "ghosts")
2024-07-03 21:00:50 +02:00
Mikolaj Wielgus
806742736a
cleanup: get rid of `*Trait` names for traits, use verbs and sentences
2024-07-03 13:40:37 +02:00
Mikolaj Wielgus
3c578ccada
egui: display both CW and CCW navvertices separately
2024-07-01 21:21:08 +02:00
Mikolaj Wielgus
47c888d21b
egui,autorouter,router: restore highlighting active navmesh edges
2024-07-01 18:56:41 +02:00
Mikolaj Wielgus
03f996721d
egui: restore drawing yellow dots at routing source and target
2024-07-01 14:09:17 +02:00
Mikolaj Wielgus
edf81feccc
egui: restore highlighting selected node shapes
2024-07-01 12:12:27 +02:00
Mikolaj Wielgus
2259a75d92
egui,autorouter: restore displaying navmesh
2024-07-01 00:50:24 +02:00
Mikolaj Wielgus
6cadcd3b41
egui: remove most of usages of shared-state parallelism
2024-06-29 17:11:29 +02:00
Mikolaj Wielgus
e2552a156b
egui: use smaller via size
2024-06-25 00:40:32 +02:00
Mikolaj Wielgus
169ddf7d80
egui: add button to toggle showing navmesh
2024-06-20 19:33:18 +02:00
Mikolaj Wielgus
ae2a862e0e
router: store every vertex (fails tests but almost functional)
...
Previously, rail vertices were not stored but generated on demand from
data stored in a `Triangulation<...>`. This functionality is removed in
favor of storing every vertex in `Navmesh`'s own graph built from the
`Triangulation<...>`, which is now afterwards discarded.
Tests still fail and rails aren't added yet, but this is close enough to
completion for me to commit so that I can now go to sleep without
worrying.
2024-06-20 01:32:27 +02:00
Mikolaj Wielgus
e15e1efe5e
router: remove observers
...
The observer "pattern", arguably, is an anti-pattern that managed to get
into textbooks. It causes a lot of problems, it was a bad idea to use
it.
2024-06-18 01:37:45 +02:00
Mikolaj Wielgus
7dd0f3e629
egui: fix painting zones (forgot to replace literal with var earlier)
2024-06-17 23:59:36 +02:00
Mikolaj Wielgus
d56d6046a4
egui: add bottom bar displaying cursor position
...
Useful for writing tests.
2024-06-17 23:59:36 +02:00
Mikolaj Wielgus
9d00e95457
specctra: change "dsn" to "specctra" where it's about both DSN and SES
2024-06-16 18:04:20 +02:00
Mikolaj Wielgus
1cca9fe6e1
egui: support displaying an arbitrary number of layers
2024-06-14 03:47:27 +02:00
Mikolaj Wielgus
300529ea75
egui: hide layers marked as hidden
2024-06-13 18:47:47 +02:00
Mikolaj Wielgus
6d66558a72
egui: move viewport to its own file
2024-06-13 13:37:54 +02:00