Dustin Carlino
|
5dc8542856
|
upload data once per polygon, not once per triangle. derp.
|
2019-01-22 23:19:48 -08:00 |
|
Dustin Carlino
|
03215a5836
|
disable unneeded depth testing. enable antialiasing and alpha blending
|
2019-01-22 23:10:14 -08:00 |
|
Dustin Carlino
|
f896e92d25
|
simplifying camera math drastically... passing in stuff to the vertex
shader, which does transformations not using matrices! \o/
|
2019-01-22 17:43:25 -08:00 |
|
Dustin Carlino
|
fb7a809892
|
tweaked camera based on canvas. workable, not great.
|
2019-01-22 17:12:48 -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 |
|
Dustin Carlino
|
974b04e74d
|
start to move ezgui to glium. just copying extra code in, not deleting
existing stuff yet
|
2019-01-22 16:11:49 -08:00 |
|
Dustin Carlino
|
f018158aa3
|
remove copyright comment from remaining files
|
2019-01-20 13:57:55 -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
|
e607c6574a
|
actually, use screengrab
|
2019-01-13 17:54:58 -08:00 |
|
Dustin Carlino
|
a94fddb209
|
try screenshot capture again. it's very slow and broken.
|
2019-01-13 15:40:58 -08:00 |
|
Dustin Carlino
|
0522829d9a
|
draw my own arrows, which don't exceed distance too much... except they
dont work in all cases, so disable
|
2019-01-09 14:59:46 -08:00 |
|
Dustin Carlino
|
976f210b9a
|
stack modal states... also fix the show score plugin drawing a bit
|
2018-12-25 10:27:38 -08:00 |
|
Dustin Carlino
|
5d28acd1af
|
traffic signal editor left bar should be drawn below top menu
|
2018-12-22 22:18:03 -08:00 |
|
Dustin Carlino
|
099fd288fe
|
all arrows are rounded
|
2018-12-22 14:02:42 -08:00 |
|
Dustin Carlino
|
1d9f3320fa
|
implementing draw_line and draw_rounded_line directly
|
2018-12-22 13:58:45 -08:00 |
|
Dustin Carlino
|
0f62da0f63
|
centralize and adjust constants for text colors. also clean up places
unnecessarilly passing in RGB values for constants
|
2018-12-22 12:26:34 -08:00 |
|
Dustin Carlino
|
787c965985
|
explicit type for screen-space stuff in ezgui
|
2018-12-17 14:25:05 -08:00 |
|
Dustin Carlino
|
bbacdfb676
|
declaring modal menus
|
2018-12-17 13:08:46 -08:00 |
|
Dustin Carlino
|
21c61e4a60
|
avoid typos in action_chosen
|
2018-12-17 10:23:14 -08:00 |
|
Dustin Carlino
|
efc0db122a
|
specify top menu in UI, but it doesn't do anything yet
|
2018-12-16 18:23:17 -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
|
671dad6b02
|
make a blend between ScrollingMenu and ContextMenu... don't use it yet
|
2018-12-16 14:47:48 -08:00 |
|
Dustin Carlino
|
11945739bd
|
rename old ezgui menu to scrolling menu, which color picker will keep using for now
|
2018-12-16 14:18:43 -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
|
3f2a7d6e68
|
display when a traffic signal is in overtime
|
2018-12-14 12:01:00 -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
|
91b2b07fbd
|
remove more extern crate's; import macros directly
|
2018-12-06 11:22:12 -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
|
43fa67177d
|
plumbing generic things in ezgui runner
|
2018-12-04 10:20:08 -08:00 |
|
Dustin Carlino
|
3155bcbaf1
|
drawing a box to show time left in current cycle
|
2018-12-04 08:33:24 -08:00 |
|
Dustin Carlino
|
ac1e12b43a
|
draw ALL cycles in a sidebar, to summarize. needs tuning, but looks
initially good
|
2018-12-03 17:09:56 -08:00 |
|
Dustin Carlino
|
f36b967dee
|
drawing yield turns better in turn cycler
|
2018-12-03 10:37:14 -08:00 |
|
Dustin Carlino
|
7705289a62
|
specialize tooltip_lines to one plugin. solves the problem of not being able to look up objects in DrawMap
|
2018-11-20 11:32:03 -08:00 |
|
Dustin Carlino
|
7b6f1c4624
|
refactoring a proper way to draw/use rectangles
|
2018-11-14 09:57:58 -08:00 |
|
Dustin Carlino
|
f1d82a4c97
|
make the warp plugin animate the panning
|
2018-11-12 11:02:51 -08:00 |
|
Dustin Carlino
|
03909cc04f
|
make turn cycler able to draw all turns from a lane, even when the plugin isnt really 'active'
|
2018-11-05 17:52:35 -08:00 |
|
Dustin Carlino
|
a610575701
|
changing ezgui API to return Bounds, not Rect
|
2018-11-01 15:31:06 -07:00 |
|
Dustin Carlino
|
898e036c7e
|
the great color scheme refactor!
|
2018-10-24 19:18: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
|
d9ff599332
|
refactoring text alignment
|
2018-09-28 07:59:05 -07:00 |
|
Dustin Carlino
|
3d2255d728
|
move wizard to ezgui \o/
|
2018-09-25 14:43:56 -07:00 |
|
Dustin Carlino
|
7836df4580
|
storing associated data with menu
|
2018-09-24 08:34:02 -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
|
4a9306e1e2
|
use 3-way result for menus and text boxes, letting text boxes be
canceled properly
|
2018-09-20 19:13:23 -07:00 |
|