abstreet/widgetry/src
Michael Kirk 4f81f186af
embed mode and reworked web build system (#592)
* root element id from Settings, respect element size

* Plumb assets root via settings

* adapt crates to new wasm api

* more FileLoader cleanup

* use tsc bin from node_modules

* avoid spurious unlink errors

GNU Make considers the src/*/wasm_pkg targets as intermediate build
files and attempted to `rm` them. We can stop that my marking them as
`.PRECIOUS`

https://www.gnu.org/software/make/manual/html_node/Special-Targets.html

* `open` doesn't work on Linux

We could do something with xdg-open, but meh, not worth having platform
dependent logic for this.

* fix typo, clarify instructions

* make server compatible with older python install on linux

* revert change - we dont want to include music on web

the leading "-" means exclude a subdir of an included dir.

* better wrap of comments

* fix misfire in copy/pasted comment

* update docs
2021-04-01 19:31:02 -07:00
..
geom minimap controls: agent toggles and meters into one row 2021-03-16 18:28:50 -07:00
style fixup proposal "tabs" 2021-03-22 12:00:43 -07:00
tools Seemingly fix the first screenshot of some maps by double drawing the first tile. Not sure what the problem is or why this appears to fix it. 2021-01-07 20:22:27 -08:00
widgets Make the start/end rectangular filter actually apply to the trip tables. #574 2021-03-31 16:35:56 -07:00
app_state.rs Improve the traffic signal timing UI. There's a choice between fixed and 2021-03-11 11:39:58 -08:00
assets.rs embed mode and reworked web build system (#592) 2021-04-01 19:31:02 -07:00
backend_glow_native.rs embed mode and reworked web build system (#592) 2021-04-01 19:31:02 -07:00
backend_glow_wasm.rs embed mode and reworked web build system (#592) 2021-04-01 19:31:02 -07:00
backend_glow.rs Fix a few stray warnings from rustc, and improve a panic error message when data/system gets unexpected directory names 2021-02-23 11:16:43 -08:00
canvas.rs Move CameraState to map_gui. Now widgetry has no dependency on abstio! #253 2021-01-04 10:39:15 -08:00
color.rs theme slider/scrollbars 2021-02-26 18:59:19 -08:00
drawing.rs embed mode and reworked web build system (#592) 2021-04-01 19:31:02 -07:00
event_ctx.rs rename txt.add -> txt.add_line 2021-03-19 17:48:30 -07:00
event.rs Fix tooltips and hotkey for day-theme (#528) 2021-02-24 10:52:57 -08:00
input.rs - Tune sprite size 2020-12-13 12:44:43 -08:00
lib.rs Create a dummy widget to stash generic state in a Panel, and use it to plumb around the rectangular regions to the trip table filters. #574 2021-03-31 16:35:56 -07:00
runner.rs embed mode and reworked web build system (#592) 2021-04-01 19:31:02 -07:00
screen_geom.rs fixup! wip apply tabs to TimeWarp 2021-03-19 11:56:22 -07:00
svg.rs cache SVG's when reasonable. Clarify when they aren't cached. 2021-01-22 09:54:50 -06:00
text.rs rename txt.add -> txt.add_line 2021-03-19 17:48:30 -07:00