Dustin Carlino
|
acbd08240d
|
few things that should be in top menu
|
2018-12-17 13:16:31 -08:00 |
|
Dustin Carlino
|
bbacdfb676
|
declaring modal menus
|
2018-12-17 13:08:46 -08:00 |
|
Dustin Carlino
|
b3dea902de
|
handle window close event
|
2018-12-17 11:33:57 -08:00 |
|
Dustin Carlino
|
21c61e4a60
|
avoid typos in action_chosen
|
2018-12-17 10:23:14 -08:00 |
|
Dustin Carlino
|
e64c44da33
|
change calls in UI
|
2018-12-17 10:05:19 -08:00 |
|
Dustin Carlino
|
1f1f3b63e2
|
wiring up submenu events
|
2018-12-17 09:07:49 -08:00 |
|
Dustin Carlino
|
8aa12fb6d9
|
highlight selected item in top menu
|
2018-12-16 19:41:11 -08:00 |
|
Dustin Carlino
|
efc0db122a
|
specify top menu in UI, but it doesn't do anything yet
|
2018-12-16 18:23:17 -08:00 |
|
Dustin Carlino
|
4629015e12
|
delete unused TreeMenu and stop passing in the category for unimportant actions
|
2018-12-16 14:13:28 -08:00 |
|
Dustin Carlino
|
9adcb0315e
|
making my own event, mapping piston's event to it. will simplify downstream code and make moving away from piston even easier.
|
2018-12-15 20:44:28 -08:00 |
|
Dustin Carlino
|
cf74050758
|
dont call event() for a render event
|
2018-12-15 12:24:06 -08:00 |
|
Dustin Carlino
|
003881fe93
|
prototyping right-click context menus. solid start, lots of work needed.
|
2018-12-15 10:39:50 -08:00 |
|
Dustin Carlino
|
a3a41ed186
|
move PerMapUI to state module
|
2018-12-13 15:26:02 -08:00 |
|
Dustin Carlino
|
7c48ec02cc
|
making tutorial UIState that just wraps and delegates, doesn't do
its own thing yet
|
2018-12-13 14:51:40 -08:00 |
|
Dustin Carlino
|
bb71418fd3
|
make UI generic over UIState
|
2018-12-13 14:30:18 -08:00 |
|
Dustin Carlino
|
79dc9aee40
|
pulling UI state behind a trait. result is a bit convoluted still.
|
2018-12-13 14:03:09 -08:00 |
|
Dustin Carlino
|
f9016c6871
|
move recalc_current_selection... it's this temporary bit of state
|
2018-12-13 11:22:25 -08:00 |
|
Dustin Carlino
|
8e715de098
|
simplify UI state a bit... dont plumb around extra KML shapes to display. if we load an A/B test or different map edits, no need to preserve the KML; its for one-off debugging.
|
2018-12-13 11:13:33 -08:00 |
|
Dustin Carlino
|
87bbadecc1
|
change ColorScheme to use the generated code. remove the terrible mutability.
|
2018-12-12 17:18:47 -08:00 |
|
Dustin Carlino
|
010a636ae6
|
change the colorscheme method name to find more easily in parsing
|
2018-12-12 16:25:08 -08:00 |
|
Dustin Carlino
|
26af5526f2
|
just moving some plugin-bundling code to a separate module, but not really changing ownership structure yet
|
2018-12-12 14:36:26 -08:00 |
|
Dustin Carlino
|
d61255a4b3
|
lift panic handling from UI's event to ezgui runner, use also for draw
|
2018-12-12 14:11:18 -08:00 |
|
Dustin Carlino
|
e29ff690f8
|
move PluginCtx
|
2018-12-12 13:58:02 -08:00 |
|
Dustin Carlino
|
dd859ba76d
|
clean up interaction between UI and get_objects_onscreen a bit
|
2018-12-12 12:27:45 -08:00 |
|
Dustin Carlino
|
3c710c2e8a
|
fix the sim score plugin
|
2018-12-12 10:47:02 -08:00 |
|
Dustin Carlino
|
11584efbb6
|
starting a TutorialMode, sneakily installing the plugin based on filename (ew)
|
2018-12-10 16:12:31 -08:00 |
|
Dustin Carlino
|
dacd423080
|
clippy pt4
|
2018-12-09 12:04:02 -08:00 |
|
Dustin Carlino
|
e71fa25229
|
moving sim_controls into SimMode, expressing it as a Paused/Running state
|
2018-12-08 13:51:31 -08:00 |
|
Dustin Carlino
|
8ee38d8dba
|
defining a mode to control the sim, with diff trip/all and score split
out. more soon.
|
2018-12-08 13:07:48 -08:00 |
|
Dustin Carlino
|
c0317c0ce0
|
fix initial zoom when loading new PerMapUI. this broke a few commits ago when moving ToggleableLayers from per-UI to per-map plugins.
|
2018-12-07 14:17:40 -08:00 |
|
Dustin Carlino
|
cd4c39dec6
|
consolidating event and new_event
|
2018-12-07 14:06:47 -08:00 |
|
Dustin Carlino
|
dc0298a713
|
switch to new_color_for and new_draw everywhere (and rename them), cleaning up Ctx creations
|
2018-12-07 13:38:36 -08:00 |
|
Dustin Carlino
|
6a32166452
|
rewrite lots of stuff with NLL! \o/
|
2018-12-06 12:47:20 -08:00 |
|
Dustin Carlino
|
91b2b07fbd
|
remove more extern crate's; import macros directly
|
2018-12-06 11:22:12 -08:00 |
|
Dustin Carlino
|
f64f411093
|
upgrade all crates to 2018 in Cargo.toml. this requires switching to
crate:: paths everywhere. not yet fiddling with 'extern crate's
|
2018-12-06 10:57:31 -08:00 |
|
Dustin Carlino
|
6a0cd7f71e
|
rust 2018: run the new fmt, delete the unneeded script
|
2018-12-06 10:05:50 -08:00 |
|
Dustin Carlino
|
dc450a1959
|
moving search into view
|
2018-12-06 10:02:11 -08:00 |
|
Dustin Carlino
|
6a317aea33
|
moving warp into ViewMode
|
2018-12-06 09:47:51 -08:00 |
|
Dustin Carlino
|
63c80405f5
|
neighborhood summary part of ViewMode
|
2018-12-06 09:39:01 -08:00 |
|
Dustin Carlino
|
0b39be0d1a
|
moving each of the Modes into that directory's mod.rs
|
2018-12-06 09:34:10 -08:00 |
|
Dustin Carlino
|
5b6cdf24bd
|
making a View mode, with mostly ambient/stackable plugins
|
2018-12-05 21:13:36 -08:00 |
|
Dustin Carlino
|
7cac74457c
|
debug mode -- pt2, the stateful and ambient plugins
|
2018-12-05 19:17:29 -08:00 |
|
Dustin Carlino
|
d8492b7e17
|
bundling together a debug mode too -- pt1, the easy transient plugins
|
2018-12-05 18:22:18 -08:00 |
|
Dustin Carlino
|
da46544e99
|
bundling exclusive editor-like plugins together in one meta plugin,
edit_mode
|
2018-12-05 16:28:15 -08:00 |
|
Dustin Carlino
|
7a10378b00
|
make UI handle loading new maps with no buildings to focus on
|
2018-12-05 11:47:58 -08:00 |
|
Dustin Carlino
|
636eb1fb1c
|
overriding crosswalk colors for stop signs
|
2018-12-05 10:57:12 -08:00 |
|
Dustin Carlino
|
545b96a74a
|
also suppress stop sign icon when relevant
|
2018-12-05 10:11:57 -08:00 |
|
Dustin Carlino
|
4851761fc6
|
dont show shared sidewalk corner icons at all in the editor
|
2018-12-04 12:39:57 -08:00 |
|
Dustin Carlino
|
1aabbb1e32
|
bringing back turn icons to the editor. needs more tweaks, but a start
|
2018-12-04 12:25:15 -08:00 |
|
Dustin Carlino
|
2c7abcbc3a
|
hiding crosswalks way more sanely
|
2018-12-04 11:08:18 -08:00 |
|