Commit Graph

3731 Commits

Author SHA1 Message Date
Dustin Carlino
ce180f7228 merge TripStart and TripEnd 2020-03-25 13:42:33 -07:00
Dustin Carlino
f89fcb9b93 stop associating trips with buses. it makes no sense. 2020-03-25 13:18:16 -07:00
Dustin Carlino
0bed515bc6 more info about inactive trips 2020-03-25 12:22:19 -07:00
Dustin Carlino
4d690a2777 scroller for ped crowds 2020-03-25 11:25:51 -07:00
Dustin Carlino
0ab262be99 remove stretch style boilerplate 2020-03-25 10:45:17 -07:00
Dustin Carlino
b58cb470f6 cleanup settings page by using the new type-safe dropdowns 2020-03-24 23:36:38 -07:00
Dustin Carlino
dad4c9bef2 more fluidly glue together agents, trips, people 2020-03-24 22:47:06 -07:00
Dustin Carlino
76c0ecff43 OSM stuff in debug tab. list all trips per person, stub out unstarted
trips
2020-03-24 15:05:28 -07:00
Dustin Carlino
fdcb0e15bf slightly better API for make_table 2020-03-24 13:50:19 -07:00
Dustin Carlino
3c075f3e55 refactor tabs a bit [rebuild] 2020-03-24 13:41:03 -07:00
Dustin Carlino
c4942a0d2a add tabs to buildings. temporarily whittle down duplicated code, before the grand Outcome refactor 2020-03-24 13:10:33 -07:00
Dustin Carlino
cbc214ed38 tab-ify lanes and intersections, in a really messy quick way 2020-03-24 11:26:17 -07:00
Dustin Carlino
8b1f66a3ed clarify modes on main menu 2020-03-24 10:06:26 -07:00
Dustin Carlino
e22727ee98 reorganizing info panel code, splitting into modules 2020-03-23 14:25:16 -07:00
Dustin Carlino
fb8072d7b7 prototype embedding more state in info panels, starting with
building->people
2020-03-23 12:38:04 -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
b70037b4e8 new release 2020-03-22 16:42:05 -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
d7886fa85b move person counters to population panel 2020-03-22 10:34:32 -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
4ad75f99a1 implement a super basic heatmap (many many problems) for the dot map 2020-03-21 14:46:23 -07:00
Dustin Carlino
d7c855c556 speed up dot map in trivial ways 2020-03-21 13:40:42 -07:00
Dustin Carlino
3045f99266 stop plumbing back unused agent metadata from sim, now that ACS is gone 2020-03-21 13:13:46 -07:00
Dustin Carlino
9d3adfbe40 try the dot map as a debug-only overlay. slow and weird, but getting
somewhere.
2020-03-21 13:10:50 -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
b3028fd69c adjust edit overlay color, and add an explicit reset button to edits 2020-03-21 10:12:13 -07:00
Dustin Carlino
718c6a346a more arrows for one-ways. forces some changes to edit tracking -- more
computation, less code.
2020-03-21 09:56:43 -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
7592a36fe4 tool-assisted refactor of the last 2 WrappedComposite button helpers 2020-03-20 15:22:45 -07:00
Dustin Carlino
d8744648df clean up more old button constructors -- nice_text_button 2020-03-20 15:08:08 -07:00
Dustin Carlino
606e23f7cd refactoring WrappedComposite::svg_button 2020-03-20 13:47:49 -07:00
Dustin Carlino
469c11e532 fix up overlays, part 2:
- say what layer is active when zoomed in
- zoom out after opening an overlay, if needed
- sadly, scrap the heatmap icons for now
[rebuild]
2020-03-20 12:31:08 -07:00
Dustin Carlino
7368f9ef24 tiny button refactor -- svg_def instead of standard rewrite color 2020-03-20 11:59:20 -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
d4cd9c2899 put legend to the right of minimap, to emphasize its for minimap only 2020-03-19 18:54:06 -07:00
Dustin Carlino
5e824562ac remove Inner ACS; only one case now 2020-03-19 18:52:06 -07:00
Dustin Carlino
760ee795e7 scrap intersection delay, make a new road-or-intersection delay, based just on waiting turns 2020-03-19 08:34:02 -07:00