Dustin Carlino
|
16926d57a1
|
upgrade glium, glutin, etc. fix the HIDPI issues properly!
|
2019-07-26 17:25:19 +02:00 |
|
Dustin Carlino
|
36cddbf5df
|
recalculate current selection in all the places that used to before a big UI refactor. if not, hovering on agent + jumping savestates can crash badly. also refactor how mouseover is detected
|
2019-06-06 12:51:49 -07:00 |
|
Dustin Carlino
|
53e2c3e905
|
hack in a way to easily check for ctrl+key. use to jump between
sandbox, debug, and edit modes
|
2019-05-29 14:08:59 -07:00 |
|
Dustin Carlino
|
2f66c8ca5c
|
remember if modal menus are hidden or not
|
2019-05-04 09:30:44 -07:00 |
|
Dustin Carlino
|
4b4e6f17a0
|
start a really basic OSD
|
2019-05-02 12:38:12 -05:00 |
|
Dustin Carlino
|
2f6cc5fe4d
|
remove vestiges of top menu being in the way
|
2019-04-28 20:10:00 -07:00 |
|
Dustin Carlino
|
008b2f9de5
|
preps for variable font size
|
2019-04-22 20:02:18 -07:00 |
|
Dustin Carlino
|
5181a3db34
|
starting to move some text drawing code out of canvas
|
2019-01-31 23:40:15 -08:00 |
|
Dustin Carlino
|
4d5bafd551
|
slightly simplify interaction between Canvas and text module
|
2019-01-26 10:25:08 -08:00 |
|
Dustin Carlino
|
623e578665
|
inverting the ezgui/GUI control to plumb Prerender
|
2019-01-25 10:19:58 -08:00 |
|
Dustin Carlino
|
f1b81456a6
|
calculating line height from the font
|
2019-01-23 14:02:43 -08:00 |
|
Dustin Carlino
|
9b14206be0
|
implementing GfxCtx forking... aka, reset uniforms
|
2019-01-23 12:22:26 -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 |
|
Dustin Carlino
|
f018158aa3
|
remove copyright comment from remaining files
|
2019-01-20 13:57:55 -08:00 |
|
Dustin Carlino
|
af7e12e52b
|
bundle ttf
|
2019-01-11 10:13:29 -08:00 |
|
Dustin Carlino
|
ed318f0c9e
|
compute full width needed for signal diagram, including labels
|
2018-12-26 15:08:51 -06: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
|
92ce83dfdd
|
cant start dragging on top of covered area
|
2018-12-22 22:21:05 -08:00 |
|
Dustin Carlino
|
0edded5725
|
trying out a quick way to mark parts of the screen unavailable for map-space mouseover. oh hey, it works great.
|
2018-12-22 20:03:12 -08:00 |
|
Dustin Carlino
|
2d7034e9cb
|
canvas wont serve up map-space cursor when it's out of the window
|
2018-12-22 17:12:30 -08:00 |
|
Dustin Carlino
|
0aece4944d
|
prep for disabling mouseover by changing canvas API. fix neighborhood
plugin to handle out-of-bounds points while we're there.
|
2018-12-22 16:49:47 -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
|
ad497ac698
|
make menus handle window resizing
|
2018-12-19 11:48:35 -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
|
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 |
|