Dustin Carlino
|
4aea666f56
|
use generic menus to make choosing a scenario very nice
|
2018-09-25 11:16:59 -07:00 |
|
Dustin Carlino
|
337d3f1586
|
generic menus in wizard
|
2018-09-25 11:10:49 -07:00 |
|
Dustin Carlino
|
d0b4e9cb3a
|
made a generic text entry function, with help from
https://www.reddit.com/r/rust/comments/9ip8cq/trouble_cloning_an_any/
|
2018-09-25 08:37:08 -07:00 |
|
Dustin Carlino
|
9704675239
|
making a generic wizard part 1: storing generic state
|
2018-09-24 18:39:43 -07:00 |
|
Dustin Carlino
|
6c7b6fd4af
|
fix build for playground gui
|
2018-09-24 16:44:02 -07:00 |
|
Dustin Carlino
|
f49998043d
|
gluing together wizard for editing a scenario
|
2018-09-24 16:03:09 -07:00 |
|
Dustin Carlino
|
9ec19452af
|
saving scenarios
|
2018-09-24 15:52:15 -07:00 |
|
Dustin Carlino
|
49ab31c1ca
|
woops, was displaying ansi codes in logscroller
|
2018-09-24 15:42:10 -07:00 |
|
Dustin Carlino
|
d134706db7
|
bigger FSM for managing scenarios... it initially seems to work? :P
|
2018-09-24 15:40:37 -07:00 |
|
Dustin Carlino
|
585bb1bcd3
|
generic way to load stuff from a dir
|
2018-09-24 14:54:31 -07:00 |
|
Dustin Carlino
|
8b5b7d806e
|
moving maps to a subdirectory inside data/
|
2018-09-24 14:40:16 -07:00 |
|
Dustin Carlino
|
7d8416c8f7
|
splitting up abstutil crate into modules
|
2018-09-24 14:37:01 -07:00 |
|
Dustin Carlino
|
19e6aaf244
|
defining scenarios, renaming polygons -> neighborhoods
|
2018-09-24 14:30:02 -07:00 |
|
Dustin Carlino
|
64e6f6c9cd
|
define a second unused wizard workflow, and move some mostly generic pieces to ezgui
|
2018-09-24 14:17:29 -07:00 |
|
Dustin Carlino
|
8ffc817501
|
logging handlers for headless
|
2018-09-24 10:54:11 -07:00 |
|
Dustin Carlino
|
7836df4580
|
storing associated data with menu
|
2018-09-24 08:34:02 -07:00 |
|
Dustin Carlino
|
de1033ac66
|
color log output on terminal
|
2018-09-23 14:22:25 -07:00 |
|
Dustin Carlino
|
09c3b017b9
|
logging in map layer too
|
2018-09-23 14:15:24 -07:00 |
|
Dustin Carlino
|
a53dd51ec4
|
filling out logging in editor crate
|
2018-09-23 14:01:03 -07:00 |
|
Dustin Carlino
|
e6e1f7cbc5
|
logging from sim crate, automatically noting the target
|
2018-09-23 13:56:29 -07:00 |
|
Dustin Carlino
|
6c7d4185b3
|
proper logging from the editor layer
|
2018-09-22 20:12:24 -07:00 |
|
Dustin Carlino
|
f9e0b6facc
|
adding a scrollable log buffer widget
|
2018-09-21 14:09:20 -07:00 |
|
Dustin Carlino
|
f6ddd8aeaa
|
adding categories to unimportant actions, arranging them in a tree
|
2018-09-21 13:16:46 -07:00 |
|
Dustin Carlino
|
0a50fbd8bd
|
scroll long menus
|
2018-09-21 09:55:56 -07:00 |
|
Dustin Carlino
|
13baaf6b6f
|
styled text spans
|
2018-09-21 08:57:01 -07:00 |
|
Dustin Carlino
|
f1f0683026
|
prompts on top of menus, too
|
2018-09-21 08:08:34 -07:00 |
|
Dustin Carlino
|
b66e6891f6
|
textbox and menu take UserInput and consume it
|
2018-09-20 19:19:08 -07:00 |
|
Dustin Carlino
|
4a9306e1e2
|
use 3-way result for menus and text boxes, letting text boxes be
canceled properly
|
2018-09-20 19:13:23 -07:00 |
|
Dustin Carlino
|
d32556f470
|
only take TextOSD in canvas API
|
2018-09-20 19:00:14 -07:00 |
|
Dustin Carlino
|
1d7417e851
|
display text entry boxes in the middle of the screen, not as part of the bottom OSD
|
2018-09-20 18:55:44 -07:00 |
|
Dustin Carlino
|
d9eef240aa
|
easily choose polygons, while drawing previews. very weird way to
implement this, but it works
|
2018-09-20 18:12:58 -07:00 |
|
Dustin Carlino
|
2c8edd07f8
|
moving selectable polygons to common place
|
2018-09-20 17:31:07 -07:00 |
|
Dustin Carlino
|
726adb6249
|
basic menu support to gui wizard
|
2018-09-20 17:04:52 -07:00 |
|
Dustin Carlino
|
081f7f2c35
|
move some logic to wrappedwizard
|
2018-09-20 15:31:41 -07:00 |
|
Dustin Carlino
|
caa8a97e93
|
input percentages in wizard
|
2018-09-20 15:28:34 -07:00 |
|
Dustin Carlino
|
8a91759782
|
refactoring textbox entry with wizard
|
2018-09-20 15:24:10 -07:00 |
|
Dustin Carlino
|
86c3a33526
|
input sim Ticks in gui wizard
|
2018-09-20 15:15:07 -07:00 |
|
Dustin Carlino
|
b365f595bd
|
populate OSD during event. this lets wizard display prompts easily.
|
2018-09-20 14:57:42 -07:00 |
|
Dustin Carlino
|
c95f5e7a4d
|
starting a stateful multi-question GUI wizard. just accepts usize's
right now
|
2018-09-20 14:29:50 -07:00 |
|
Dustin Carlino
|
4b26411794
|
show current selected polygon as preview
|
2018-09-19 18:44:17 -07:00 |
|
Dustin Carlino
|
c7f2c50e25
|
draw menus centered in the screen, with highlighted lines
|
2018-09-19 17:38:31 -07:00 |
|
Dustin Carlino
|
96994eb9bd
|
load existing polygon with pre-filled name
|
2018-09-19 14:24:09 -07:00 |
|
Dustin Carlino
|
60d4e0af33
|
list existing polygons with menu
|
2018-09-19 12:28:29 -07:00 |
|
Dustin Carlino
|
bcc65941f3
|
saving polygon areas
|
2018-09-19 09:30:01 -07:00 |
|
Dustin Carlino
|
ce91b77ad6
|
highlighting the cursor in text boxes
|
2018-09-18 18:52:25 -07:00 |
|
Dustin Carlino
|
0cd27d7f50
|
move existing points in a drawn polygon
|
2018-09-18 17:58:14 -07:00 |
|
Dustin Carlino
|
8b0fb9248c
|
using Pt2D in ezgui's API when appropriate
|
2018-09-18 15:09:17 -07:00 |
|
Dustin Carlino
|
20a1bb7923
|
dispersing the remainders of map_model::geometry
|
2018-09-18 14:35:10 -07:00 |
|
Dustin Carlino
|
2c7e281a8e
|
make renderables return Bounds, not the aabb type
|
2018-09-18 14:17:26 -07:00 |
|
Dustin Carlino
|
1050d86e67
|
making a proper Circle type in geom
|
2018-09-18 14:00:55 -07:00 |
|