Dustin Carlino
|
c654bf2b06
|
revamp menu to work in screen-space, so canvas can move beneath modal menu. also fix the menu mouseover when a prompt is present.
|
2018-12-17 14:42:52 -08:00 |
|
Dustin Carlino
|
787c965985
|
explicit type for screen-space stuff in ezgui
|
2018-12-17 14:25:05 -08:00 |
|
Dustin Carlino
|
6595f804e0
|
spawn submenu in the proper place
|
2018-12-16 20:19:30 -08:00 |
|
Dustin Carlino
|
62bdd92ac3
|
move ownership of GlyphCache into Canvas, so calculating text dimensions can be done during event. Stick the glyphs behind a RefCell to avoid mutability creeping into canvas everywhere
|
2018-12-16 15:16:02 -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
|
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
|
038cd385d7
|
show cycle duration in sidebar
|
2018-12-04 11:20:51 -08:00 |
|
Dustin Carlino
|
f1d82a4c97
|
make the warp plugin animate the panning
|
2018-11-12 11:02:51 -08:00 |
|
Dustin Carlino
|
a610575701
|
changing ezgui API to return Bounds, not Rect
|
2018-11-01 15:31:06 -07:00 |
|
Dustin Carlino
|
2026acde32
|
draw_text_at centers the text box
|
2018-10-23 13:56: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
|
7ee75ea6be
|
renaming osd -> just text
|
2018-10-01 13:56:43 -07:00 |
|
Dustin Carlino
|
d9ff599332
|
refactoring text alignment
|
2018-09-28 07:59:05 -07:00 |
|
Dustin Carlino
|
8badd7a813
|
show optional sidepanel in UI with current sim score
|
2018-09-28 07:43:53 -07:00 |
|
Dustin Carlino
|
d32556f470
|
only take TextOSD in canvas API
|
2018-09-20 19:00:14 -07:00 |
|
Dustin Carlino
|
c7f2c50e25
|
draw menus centered in the screen, with highlighted lines
|
2018-09-19 17:38:31 -07:00 |
|
Dustin Carlino
|
ce91b77ad6
|
highlighting the cursor in text boxes
|
2018-09-18 18:52:25 -07:00 |
|
Dustin Carlino
|
8b0fb9248c
|
using Pt2D in ezgui's API when appropriate
|
2018-09-18 15:09:17 -07:00 |
|
Dustin Carlino
|
e65f3aecc7
|
update to rust 1.29, re-run format
|
2018-09-15 16:54:00 -07:00 |
|
Dustin Carlino
|
64d4117c0c
|
moving GUI runner to ezgui
|
2018-09-09 18:50:36 -07:00 |
|
Dustin Carlino
|
b1c74157d9
|
scale the zoom speed based on how far already zoomed in
|
2018-08-05 15:22:55 -07:00 |
|
Dustin Carlino
|
2ebc13140b
|
round of rustfmt after 1.27 upgrade
|
2018-07-09 12:30:59 -07:00 |
|
Dustin Carlino
|
18132e3c8b
|
consistently having one(ish) plugin do stuff at a time
|
2018-07-06 12:25:43 -07:00 |
|
Dustin Carlino
|
e2aabeb0e9
|
refactoring drawing primitives into GfxCtx
|
2018-07-06 11:04:18 -07:00 |
|
Dustin Carlino
|
8f244438c1
|
plumbing window_size with canvas
|
2018-07-06 10:26:35 -07:00 |
|
Dustin Carlino
|
9b1ce9b3b3
|
split canvas scrolling and text
|
2018-06-22 14:47:07 -07:00 |
|
Dustin Carlino
|
0d46b413bb
|
move gfxctx
|
2018-06-22 14:42:13 -07:00 |
|
Dustin Carlino
|
6b8a5a0103
|
moving more colors to scheme
|
2018-06-21 11:18:17 -07:00 |
|
Dustin Carlino
|
e7e334a460
|
using color scheme in most places
|
2018-06-21 10:32:07 -07:00 |
|
Dustin Carlino
|
03df50c96e
|
fill in parcel interior with color
|
2018-06-19 14:24:30 -07:00 |
|
Dustin Carlino
|
923883883b
|
updating README and trimming license declarations
|
2018-06-03 17:56:53 -07:00 |
|
Dustin Carlino
|
0e672f9e09
|
remove svg rendering. output is too large, never used.
|
2018-05-16 18:58:30 -07:00 |
|
Dustin Carlino
|
f2b7344940
|
using new rust 1.26 match stuff, and fmt
|
2018-05-10 16:19:26 -07:00 |
|
Dustin Carlino
|
1863289f6d
|
Initial import of A/B Street prototype.
|
2018-03-13 08:06:03 -07:00 |
|