Dustin Carlino
e82fe996ad
reduce GfxCtx surface area
2020-08-05 07:56:57 -07:00
Dustin Carlino
41f4cfff6d
tool-assisted refactor of ezgui Outcome
2020-08-03 13:42:59 -07:00
Dustin Carlino
af26e8d143
cut over more button internals to use flexbox. almost at the point of collapsing some of the internal representation
2020-07-30 08:59:50 -07:00
Dustin Carlino
b57f5081cf
bit more, with pad. these hacks were put in before i understood you had
...
to wrap a widget in a container to make things like padding() work.
2020-07-29 18:51:28 -07:00
Dustin Carlino
28c3d0ef8e
fix some double-DPI scaling bugs with Btn::custom. this change makes
...
some things simpler, some more complex, but it at least fixes some
stuff without breaking anything.
2020-07-29 11:28:05 -07:00
Dustin Carlino
0e5dd551cd
construct switch checkboxes using the new trick
2020-07-29 10:56:38 -07:00
Dustin Carlino
e543b34799
use existing widget layout/style stuff to produce larger batches, for
...
crazy custom buttons. use to finally make a nice big trip button.
2020-07-29 10:45:24 -07:00
Dustin Carlino
90291777fd
somehow dropdown and persistent split widgets also broke. be more careful about letting inner menus populate outcome.
2020-07-27 09:07:19 -07:00
Dustin Carlino
4f8f659dfb
widget replacement keeps margins from the old
2020-07-19 11:28:12 -07:00
Dustin Carlino
614354271a
see modified trips in the table and info panels
2020-07-14 16:10:50 -07:00
Dustin Carlino
0c283d0da7
finish up the grand geom stabilization with ring and some docs.
...
regenerated everything from scratch. one effect is more parking
blockface gets matched onto border roads, but that's fine.
2020-07-11 16:05:26 -07:00
Dustin Carlino
94512d95b9
change LaneID from usize to u32. savings:
...
scenarios: 458MB -> 431MB
maps: 676MB -> 638MB
prebaked: 85MB -> 80MB
also fix #163
2020-07-08 08:47:02 -07:00
Dustin Carlino
068b4223c8
prototype controls for hiding z-orders, for #126 [rebuild]
2020-07-04 13:18:27 -07:00
Dustin Carlino
4f507ef96a
refactor Composite style
2020-07-03 13:01:54 -07:00
Dustin Carlino
1422643973
finish the ezgui layout refactor. most things are way more consistent now, and with less code
2020-07-01 15:39:04 -07:00
Dustin Carlino
c61371a777
variant of row/col that have good default margins. starting a big
...
refactor to make everything consistent. not sure mechanical refactor is
right here. lots left, but a start.
2020-07-01 09:50:35 -07:00
Dustin Carlino
915713babb
to mitigate #95 , add a setting to adjust scroll speed
2020-06-24 14:26:15 -07:00
Dustin Carlino
a25994123b
lift filtering out of scatter and line plots. makes everything
...
responsive by default and is way simpler. [rebuild]
2020-06-18 15:48:46 -07:00
Dustin Carlino
4aeb80cfce
recompute scatter plot avg when filtering stuff. but actually, should
...
probably implement the filtering differently anyway...
2020-06-18 14:50:48 -07:00
Dustin Carlino
dfb9e7e349
move gameplay meters to the side. also start capturing logs for linux
...
and mac too
2020-06-11 14:55:56 -07:00
Dustin Carlino
e87b2aca05
fancier slider finally
2020-06-09 09:45:46 -07:00
Dustin Carlino
03c63ab34d
working on new cutscene UI
2020-06-08 13:25:21 -07:00
Dustin Carlino
1b774b13b0
reviving tutorial...
...
- pick another building, now that the montlake market is demolished
- layouting (i understand flexbox now \o/)
- finally listen to reason and get rid of the extra "inspect" action.
not many per-object actions remaining at this point
- handle window resizing much better, making the --tutorial flag useful
again
2020-06-03 17:38:02 -07:00
Dustin Carlino
42a35c736a
starting a city region picker
2020-05-28 14:11:34 -07:00
Dustin Carlino
c119ca710f
fix lots of layouting! exact_size_percent can play well with scrolling
2020-05-27 11:52:57 -07:00
Javed Nissar
c34fe4f2c7
Resolve #11 by panning map when cursor is at edge of screen ( #57 )
2020-05-23 10:42:59 -07:00
Dustin Carlino
ba5d776bd0
draw a minimap with route preview below the trip table
2020-05-20 12:26:56 -07:00
Dustin Carlino
fa1273bd34
more dpi fixes:
...
- margin and padding
- Widget::draw_batch
- trip timeline
- custom buttons
and finally enable automatically setting DPI based on the monitor!!!
[rebuild]
2020-05-17 17:02:33 -07:00
Dustin Carlino
0d22127b76
consistent wording everywhere for Before/After changes
2020-04-13 14:20:07 -07:00
Dustin Carlino
03c00bcb3b
remove the defunct bus challenge for now. hide the traffic signal challenge. fix up the cutscene style a bit.
2020-04-12 11:20:22 -07:00
Dustin Carlino
1060ed208f
adding a cutscene to a challenge mode
2020-04-12 09:37:46 -07:00
Dustin Carlino
57e2d6a03a
make the table layouting a little better
2020-04-11 12:03:42 -07:00
Dustin Carlino
ebf31c33e6
preserve plot settings over time. also dropdowns
2020-04-06 14:05:59 -07:00
Dustin Carlino
5868fe4736
let plots have a chance to update themselves. hacky.
2020-04-06 12:16:54 -07:00
Dustin Carlino
fadae3aa85
improve checkbox API, use it for colored minimap checkboxes
2020-04-06 11:12:23 -07:00
Dustin Carlino
ae96627711
add the separator to split btns
2020-04-05 12:16:51 -07:00
Dustin Carlino
fec2bb51ca
start organizing ezgui internal constants into a Style struct
2020-04-05 11:57:27 -07:00
Dustin Carlino
8b6485b233
persistent split buttons for time increments. still need few tweaks, but
...
largely there
2020-04-04 13:22:14 -07:00
Dustin Carlino
edffcf3db7
small time/speed panel changes. also learning a little more about when
...
padding actually works in flexbox...
2020-04-04 12:06:06 -07:00
Dustin Carlino
24acb27934
force override width to make the table look nice
2020-04-03 13:35:20 -07:00
Dustin Carlino
5ba468f4cf
SVG border-radius is sometimes a lie. mimic the dirty trick.
2020-04-03 13:22:05 -07:00
Dustin Carlino
0b6418bdb6
finally make autocomplete a real widget
2020-04-02 13:33:42 -07:00
Dustin Carlino
2fe6303f9c
fix some buttons not having correct hover state when composites are
...
replaced due to time passing or values changing. handle for restoring
scroll state and realigning panels.
2020-04-02 11:27:21 -07:00
Dustin Carlino
a31d3baf1d
create a spinner widget, replace some bad heatmap sliders with it
2020-04-02 11:03:27 -07:00
Dustin Carlino
87cc45752d
better person headers
2020-04-01 17:18:29 -07:00
Dustin Carlino
e12e788716
work on more small style improvements of info panels [rebuild]
2020-03-31 17:27:25 -07:00
Dustin Carlino
7be5b3f34a
change settings live for traffic/delay graphs [rebuild]
2020-03-31 12:31:40 -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
0ab262be99
remove stretch style boilerplate
2020-03-25 10:45:17 -07:00