Dustin Carlino
f3b396a7e9
set a window icon
2020-05-09 09:48:24 -07:00
Dustin Carlino
509eb87bf5
merge status and trips pages. and go back to latest lyon after fix in
...
https://github.com/nical/lyon/issues/558
2020-03-31 14:45:07 -07:00
Dustin Carlino
d109325b3f
force downgrade lyon to fix horrible text rendering regression [rebuild]
2020-03-27 13:05:32 -07:00
Dustin Carlino
4df64b4c83
remove last users of ModalMenu. so long, (some variant of) the original widget.
2020-03-22 20:59:44 -07:00
Dustin Carlino
2b2b30a6bb
express many ezgui widgets as a generic trait.
...
- prepares the API for anyone to implement widgets
- cleans up boilerplate code
- gets rid of hacks with Plot<T>
2020-03-22 14:06:02 -07:00
Dustin Carlino
81c5ae3700
consolidate ezgui internals a little, and start a little bit of rustdoc
2020-03-20 18:05:50 -07:00
Dustin Carlino
0bcbac1fee
upgrade a few misc packages
2020-03-17 10:35:37 -07:00
Dustin Carlino
b835f8a6f7
unused deps
2020-03-06 08:27:00 -08:00
Dustin Carlino
ee9485a144
use my glutin fix to start windows on linux faster, until it's upstreamed
2020-02-28 12:54:21 -08:00
Dustin Carlino
8693c4f0d2
upgrade to latest lyon, which has a new fill tesselator
2020-02-20 18:12:09 -08:00
Dustin Carlino
bdb0844512
make game crate compile under wasm
2020-02-14 16:15:44 -08:00
Dustin Carlino
b2c92ab8f9
upstreaming some changes for wasm here
...
- use instant crate
- bring in the wasm ezgui backend and necessary setup tweaks
- upgrade stdweb
but no map editor build magic yet
2020-02-14 14:28:25 -08:00
Dustin Carlino
606325ac77
make the glow and glium backends toggleable at build-time
2020-02-10 20:23:12 -08:00
Dustin Carlino
5205a0c43e
starting a stubbed out port to glow (glutin dependencies still). it
...
uploads the shaders, clears the window out so far!
2020-02-10 16:59:02 -08:00
Dustin Carlino
935e42aee6
upgrade glium and glutin
...
- reference events exported from glutin as winit events, which will ease a transition to wasm (where winit is used with glow, not glium)
- also winit stopped requiring a dance to convert logical to physical sizes, so stop tracking dpi!
2020-02-09 10:56:51 -08:00
Dustin Carlino
0fc864ee51
limit text cache size. work on build scripts again [rebuild]
2020-02-08 13:25:48 -08:00
Dustin Carlino
5a1e54f40e
override dims of text-based things. kinda fixes some problems, but...
2020-02-08 10:36:44 -08:00
Dustin Carlino
f262317b7e
trying to sort out line height
2020-02-08 10:36:44 -08:00
Dustin Carlino
6268b291b9
escape svg text
2020-02-08 10:36:44 -08:00
Dustin Carlino
bd20d61500
use my own enum for font. remove glium-glyph dependency completely
2020-02-08 10:36:44 -08:00
Dustin Carlino
ec08a9177e
custom font families
2020-02-08 10:36:44 -08:00
Dustin Carlino
59686dddbc
can we render svg text directly? need harfbuzz. [rebuild]
2020-02-08 10:36:44 -08:00
Dustin Carlino
bb141c7026
also clip text. not used quite yet.
2020-01-13 18:26:24 -08:00
Dustin Carlino
61e8003cca
upgrade glutin (and thus winit). maybe will help dpi issues on some
...
platforms? [rebuild]
2020-01-13 17:07:31 -08:00
Dustin Carlino
f1566b48c9
lift ManagedWidget and friends into ezgui. have a wrapper layer in game that adds callbacks. here's my herculean refactor of the week. :D
2019-12-20 15:56:04 -08:00
Dustin Carlino
77099a164b
try using usvg and lyon to produce Polygon+Colors from svg files. so
...
far, so good. dodging a dependency on harfbuzz (which doesn't build in
my windows cross-compilation env), now trying on mac...
2019-12-08 10:24:01 -08:00
Dustin Carlino
295f5b7786
managed widgets are now glued to flexbox rows and columns. need to plumb
...
more style options, but this was the crux
2019-11-30 09:15:51 -08:00
Dustin Carlino
b1bc7de2e8
prototype flexbox support via stretch. it unbreaks the challenge picker
...
screen, to start. :)
2019-11-25 16:51:45 -08:00
Dustin Carlino
e7bda09978
simple perf boosts: avoiding some unnecessary GPU uploads every frame
2019-11-22 14:06:44 -08:00
Dustin Carlino
10f2f6008f
improve map_editor's intersection preview
...
- timer for setting up world
- preview all intersections
- move world to map_editor; it's too oddly specialized
- dont show circle while previewing intersection geom
- show overlapping intersection polygons
2019-10-16 15:08:22 -07:00
Dustin Carlino
ae31d2d983
disable cpuprofiler dep in ezgui by default, since it requires manually installing some other stuff
2019-09-23 13:37:47 -07:00
Dustin Carlino
cb7121162b
folding viewer into ezgui crate
2019-09-11 15:27:12 -07:00
Dustin Carlino
fdd770088d
very hacky, minimal impl of texturing water
2019-09-10 15:21:58 -07:00
Dustin Carlino
9f897ef094
removing ezgui inline color parsing. pretty much unused, isn't helping
...
compile time. also fixing clippy issues
2019-08-22 13:38:16 -07:00
Dustin Carlino
4e83f492d8
upgrade rand, get rid of now unneeded serde1 feature, in hopes of fixing feature mismatch between deps
2019-08-15 12:14:35 -07:00
Dustin Carlino
5dc92e6eb8
strong steps towards real map-space text. not quite working yet, but
...
this shouldn't break anything in the meantime.
2019-08-12 15:38:57 -07:00
Dustin Carlino
1412a888d6
move Scroller to ezgui lib
2019-08-02 16:49:31 +02:00
Dustin Carlino
16926d57a1
upgrade glium, glutin, etc. fix the HIDPI issues properly!
2019-07-26 17:25:19 +02:00
Dustin Carlino
602a936440
using nom to create Text with inline colors. just using in a few places;
...
still buggy and kind of inconvenient actually.
2019-05-30 14:14:38 -07:00
Dustin Carlino
09493f9b7b
remove old color shifting
2019-05-20 11:58:35 -07:00
Dustin Carlino
3b2c1a1d73
new warp function that autocompletes street names
2019-04-30 12:48:00 -07:00
Dustin Carlino
46d24a7c58
compile on mac
2019-04-19 09:23:36 -07:00
Dustin Carlino
3eb5270d51
trying to cross-compile to windows. making some unix-only dependencies
...
optional.
2019-03-11 17:09:47 -07:00
Dustin Carlino
5ca359998c
upgrade some dependencies and list data source licenses in README
2019-03-11 16:04:47 -07:00
Dustin Carlino
40206eccc3
removing most log usage from editor
2019-02-20 11:29:36 -08:00
Dustin Carlino
06c8ed72a9
flag-based profiling of GUI
2019-02-14 13:16:43 -08:00
Dustin Carlino
ec01207369
try upgrading rand and serde again
2019-02-10 15:57:28 -08:00
Dustin Carlino
8afe83162b
collapsing all lane markings into a single Drawable
2019-01-25 11:21:46 -08:00
Dustin Carlino
d9d89e93dd
using glium_glyph... things initially kind of work
2019-01-23 12:10:17 -08:00
Dustin Carlino
af7596f9a5
remove piston stuff, cut over to glutin in some basic way. nothing
...
displays now. :D
2019-01-22 16:51:02 -08:00