Dustin Carlino
|
73f32854be
|
fix up other ezgui apps, run clippy
|
2019-05-04 17:25:05 -07:00 |
|
Dustin Carlino
|
2384157108
|
simplify ezgui API -- event takes &mut EventCtx
|
2019-04-23 21:28:03 -07:00 |
|
Dustin Carlino
|
6c247d376c
|
clean up ezgui draw() API by putting screencap and naming_hint inside GfxCtx
|
2019-04-23 15:42:15 -07:00 |
|
Dustin Carlino
|
4eece7bae7
|
borrow text to draw, stop cloning everywhere
|
2019-04-22 13:29:24 -07:00 |
|
Dustin Carlino
|
8ff293bdc4
|
dont plumb last_data through ezgui layer. apps can just... store that themselves. removes unnecessary plumbing.
|
2019-04-21 13:20:40 -07:00 |
|
Dustin Carlino
|
4b1107bf57
|
clean up ezgui runner API
|
2019-04-20 15:10:03 -07:00 |
|
Dustin Carlino
|
c2791a6ead
|
using Warn in all of geom
|
2019-02-20 10:36:58 -08:00 |
|
Dustin Carlino
|
64573ea0ea
|
own canvas inside of ezgui, not in applications. lots of refactoring
unlocked now...
|
2019-01-31 22:33:36 -08:00 |
|
Dustin Carlino
|
7519fdf584
|
using strong Distance types in many more places
|
2019-01-30 15:54:54 -08:00 |
|
Dustin Carlino
|
76be0c1ad4
|
trying to restore original road geometry without polyline bugs, but...
only fixed one bug. :)
|
2019-01-26 16:59:01 -08:00 |
|
Dustin Carlino
|
07397c642a
|
rephrase trim_to_pt way more understandably
|
2019-01-26 15:05:34 -08:00 |
|
Dustin Carlino
|
623e578665
|
inverting the ezgui/GUI control to plumb Prerender
|
2019-01-25 10:19:58 -08:00 |
|
Dustin Carlino
|
e8e119dbbf
|
remove all the polyline shifting/polygon variants that might fail
|
2019-01-15 15:25:00 -08:00 |
|
Dustin Carlino
|
9590ee7e78
|
preps for Pt2D with 1cm resolution... immutable PolyLine, helper for
pt-pt distance
|
2019-01-12 19:13:16 -08:00 |
|
Dustin Carlino
|
daa55026ae
|
making shift left/right for polyline too
|
2019-01-12 14:13:15 -08:00 |
|
Dustin Carlino
|
2bc97fa609
|
adjust stuck car color, avoid weird black. and small clippy fixes
|
2019-01-10 19:58:12 -08:00 |
|
Dustin Carlino
|
9d32ef8b83
|
use const functions to construct constant colors in many cases, now that rust 2018 is here
|
2018-12-22 12:39:17 -08:00 |
|
Dustin Carlino
|
2510625efc
|
removing piston window size type from canvas, meaning piston deps are now very narrowly isolated to part of ezgui
|
2018-12-21 10:00:45 -08:00 |
|
Dustin Carlino
|
b7f31cc8f4
|
make canvas know initial screen size, so centering on map pt initially does work
|
2018-12-18 15:37:44 -08:00 |
|
Dustin Carlino
|
d4592f64a0
|
clippy run
|
2018-12-18 09:59:50 -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
|
2b16b9571e
|
making it easier to create one-line Texts
|
2018-12-14 11:01:14 -08:00 |
|
Dustin Carlino
|
f48757c5e7
|
clippy pt2
|
2018-12-08 19:56:54 -08:00 |
|
Dustin Carlino
|
ab86835611
|
initially playing with clippy... pt1
|
2018-12-08 18:21:56 -08:00 |
|
Dustin Carlino
|
375a923a9d
|
try removing most extern crate's
|
2018-12-06 11:00:13 -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
|
43fa67177d
|
plumbing generic things in ezgui runner
|
2018-12-04 10:20:08 -08:00 |
|
Dustin Carlino
|
f1d82a4c97
|
make the warp plugin animate the panning
|
2018-11-12 11:02:51 -08:00 |
|
Dustin Carlino
|
20347a6de9
|
splitting up code in playground
|
2018-10-29 11:03:39 -07:00 |
|
Dustin Carlino
|
cb4f4dcb9e
|
adding better controls to the playground GUI
|
2018-10-29 10:17:25 -07:00 |
|
Dustin Carlino
|
37006369af
|
fix other crates that have Color constants
|
2018-10-26 15:00:04 -07:00 |
|
Dustin Carlino
|
7b3069a1a1
|
clean up ezgui draw() API and hide window size inside ezgui entirely
|
2018-10-06 11:52:08 -07:00 |
|
Dustin Carlino
|
0048f90734
|
removing use_event_directly
|
2018-10-06 11:15:37 -07:00 |
|
Dustin Carlino
|
94ac54d7e8
|
stop using Color and Vec2d types from piston, to slowly move away from dependence on piston
|
2018-10-05 14:58:48 -07:00 |
|
Dustin Carlino
|
7ee75ea6be
|
renaming osd -> just text
|
2018-10-01 13:56:43 -07:00 |
|
Dustin Carlino
|
6c7b6fd4af
|
fix build for playground gui
|
2018-09-24 16:44:02 -07:00 |
|
Dustin Carlino
|
d32556f470
|
only take TextOSD in canvas API
|
2018-09-20 19:00:14 -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
|
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
|
1050d86e67
|
making a proper Circle type in geom
|
2018-09-18 14:00:55 -07:00 |
|
Dustin Carlino
|
49ebe97c21
|
small refactor in ezgui and polyline
|
2018-09-18 13:39:55 -07:00 |
|
Dustin Carlino
|
7dc192b0c9
|
refactoring helpers to draw lines
|
2018-09-18 13:29:30 -07:00 |
|
Dustin Carlino
|
e65f3aecc7
|
update to rust 1.29, re-run format
|
2018-09-15 16:54:00 -07:00 |
|
Dustin Carlino
|
986717dc76
|
dont expose ezgui's modules
|
2018-09-10 17:32:33 -07:00 |
|
Dustin Carlino
|
571aa2f786
|
split out experimental playground GUI stuff into its own crate
|
2018-09-09 19:16:41 -07:00 |
|