Commit Graph

787 Commits

Author SHA1 Message Date
Dustin Carlino
403232e48e woops, fix a tutorial crash from the refactor. and tweak a few info
panels [rebuild]
2020-03-28 23:05:24 -07:00
Dustin Carlino
8288a4b6af fix unicode characters that arent in roboto 2020-03-27 16:56:34 -07:00
Dustin Carlino
e2cc9dbb55 improving trip details, adding links to src/goal [rebuild] 2020-03-27 15:02:11 -07:00
Dustin Carlino
d109325b3f force downgrade lyon to fix horrible text rendering regression [rebuild] 2020-03-27 13:05:32 -07:00
Dustin Carlino
863ed5877a approaching a better style for info panel tabs 2020-03-27 08:07:34 -07:00
Dustin Carlino
69dab9e27d typography overhaul... [rebuild] 2020-03-26 15:42:37 -07:00
Dustin Carlino
0133685eb7 converted the import.sh shell script into Rust. towards #27
as part of this, wound up grabbing fresh OSM and GTFS. but actually cant
reimport OSM right now, because fixes reference old OSM IDs and things
break. so sticking with old OSM, but new GTFS. urgh.
2020-03-25 19:54:33 -07:00
Dustin Carlino
0ab262be99 remove stretch style boilerplate 2020-03-25 10:45:17 -07:00
Dustin Carlino
8b1f66a3ed clarify modes on main menu 2020-03-24 10:06:26 -07:00
Dustin Carlino
b6eb46ec04 moving ezgui stuff around a little, cleaning up some of the APIs for
instantiating widgets
2020-03-22 23:50:14 -07:00
Dustin Carlino
96d7987c7e aha, dont need to plumb ScreenRectangle to widgets after all 2020-03-22 21:04:05 -07:00
Dustin Carlino
4df64b4c83 remove last users of ModalMenu. so long, (some variant of) the original widget. 2020-03-22 20:59:44 -07:00
Dustin Carlino
581956222c refactor some of the downcasting [rebuild] 2020-03-22 16:35:20 -07:00
Dustin Carlino
0e59efe15b trait-ifying nothing, row, column. the enum is hereby gone! 2020-03-22 16:19:05 -07:00
Dustin Carlino
1682b6c28f trait-ify Button 2020-03-22 15:20:46 -07:00
Dustin Carlino
10d3c0aa60 get rid of the warping and normal item sliders. do something more manual in the (dev tools only) places using them. going to rethink slider API more carefully later.
(removed individual/all PSRC trip viz; these haven't been useful for a
long time, and the people/schedule stuff is kinda replacing it anyway)
2020-03-22 14:55:16 -07:00
Dustin Carlino
67b21a334c trait-ify dropdowns (generic type plumbed in the right place now) 2020-03-22 14:23:01 -07:00
Dustin Carlino
2b2b30a6bb express many ezgui widgets as a generic trait.
- prepares the API for anyone to implement widgets
- cleans up boilerplate code
- gets rid of hacks with Plot<T>
2020-03-22 14:06:02 -07:00
Dustin Carlino
2712ea8c74 settle on using the common widget ID for everything (except rows/cols).
move some non-widget tools to a better module, and rename shaders
directory
2020-03-22 10:48:11 -07:00
Dustin Carlino
1259b42ab5 same for fillers and menus 2020-03-21 18:51:07 -07:00
Dustin Carlino
dbd9dcf5dd inline sliders in the tree directly 2020-03-21 18:41:01 -07:00
Dustin Carlino
acbeb2b499 expose some settings for interactively tuning the dot / heat map of people. this way is buggy (controls constantly being recreated), but a start. 2020-03-21 17:42:17 -07:00
Dustin Carlino
1abddda18b change how inactive buttons are created, finally completing the grand button refactor 2020-03-21 12:04:12 -07:00
Dustin Carlino
7edb8a6190 rename Widget -> WidgetImpl, ManagedWidget -> Widget 2020-03-20 23:41:07 -07:00
Dustin Carlino
81c5ae3700 consolidate ezgui internals a little, and start a little bit of rustdoc 2020-03-20 18:05:50 -07:00
Dustin Carlino
9644ff24be remove the last button constructor, except for the inactive ones 2020-03-20 15:40:43 -07:00
Dustin Carlino
d8744648df clean up more old button constructors -- nice_text_button 2020-03-20 15:08:08 -07:00
Dustin Carlino
d22b26d66b fix up overlays, part 1:
- dont show most of them when zoomed in
- change the layers icon when one is active
2020-03-20 11:55:32 -07:00
Dustin Carlino
3aacb06fa5 adjust tutorial top panel to make task selection more clear 2020-03-20 10:23:30 -07:00
Dustin Carlino
b08c2caa12 wittle down more old button constructors. also improve splash screen style. 2020-03-18 11:45:20 -07:00
Dustin Carlino
d63c79d87c popup info in map editor only when a key is held. lock down old
blocking_text methods a little more
2020-03-18 11:13:40 -07:00
Dustin Carlino
01b5617840 show recommended scale factor in options [rebuild] 2020-03-18 10:22:39 -07:00
Dustin Carlino
ad4ebeeb61 add z-buffering to glow/wasm backends. helps #21 2020-03-17 11:16:22 -07:00
Dustin Carlino
0bcbac1fee upgrade a few misc packages 2020-03-17 10:35:37 -07:00
Dustin Carlino
6de415033e more button refactor:
- custom tooltips
- get rid of a few old Button constructors
2020-03-17 09:46:51 -07:00
Dustin Carlino
2ae6992a3e continue button refactor 2020-03-16 12:20:37 -07:00
Dustin Carlino
122aa1e25c starting a refactor of buttons. very modest start. [rebuild] 2020-03-15 19:58:03 -07:00
Dustin Carlino
fedacfe202 reduce verbosity of constructing text widgets [rebuild] 2020-03-13 23:06:52 -07:00
Dustin Carlino
28babb414f display baseline plots for roads/intersections 2020-03-10 12:42:30 -07:00
Dustin Carlino
c316d918d7 can only type in text boxes with focus 2020-03-09 13:23:03 -07:00
Dustin Carlino
e8bb993dfd make dropdown menus work reasonably: fix z value, add background, recalculate button outline 2020-03-09 09:40:59 -07:00
Dustin Carlino
f9b2c5de4f optionally use touchpad for different canvas movement controls 2020-03-07 16:13:30 -08:00
Dustin Carlino
5a3263df47 quick fixes after ux study:
- double finish button on signal editor
- reset ACS on each tutorial stage
2020-03-07 15:59:45 -08:00
Dustin Carlino
727131145b doh 2020-03-06 12:33:21 -08:00
Dustin Carlino
509e0812b1 add a video of the ezgui demo 2020-03-06 12:32:12 -08:00
Dustin Carlino
599a9abd34 document ezgui example 2020-03-06 12:21:36 -08:00
Dustin Carlino
a8f862f83d fleshing out the ezgui demo, and fixing a little bug with checkboxes 2020-03-06 10:31:08 -08:00
Dustin Carlino
b835f8a6f7 unused deps 2020-03-06 08:27:00 -08:00
Dustin Carlino
476751147c starting a new dropdown widget and using it for picking walk buttons.
avoids the cloneable mess. but has lots of new little issues...
2020-03-05 15:00:42 -08:00
Dustin Carlino
54f4597166 just refactoring some places that mutably build up rows/cols 2020-03-04 16:13:17 -08:00