Commit graph

58 commits

Author SHA1 Message Date
LoganDark 0d3899d8d1
Use EventLoopWindowTarget 2021-02-24 12:42:51 -08:00
LoganDark db2f86ce15
Add wakeup support (#7)
* Add wakeup support

This also fixes a bug (the `glutin_handle_basic_input` callback was never actually given mutable access to the `BasicInput`, so there's no way it could have set `BasicInput::wait` anyway).

Glad I got that before the 0.8 release, phew.

* Fix bug in reschedule_wakeup

* Fix adjust_wakeup
2021-02-21 21:10:27 -05:00
JR 59618adfed
Merge pull request #11 from LoganDark/builder
Implement builder pattern; closes #10
2021-02-21 19:31:07 -05:00
Logan Darklock 3a91ef772d
Building a Config cannot fail 2021-01-22 16:45:11 -08:00
Logan Darklock a51872fb82
Implement builder pattern; fixes #10 2021-01-22 16:33:07 -08:00
LoganDark 02b3b62520
Update glutin, docs, and adds a few other features (including multi window support) (#5)
Upgrades glutin, docs, and adds a few other features (including multi window support). But not the readme. That comes next.
2021-01-20 22:12:52 -05:00
shivshank 484ff092ba Bump version 2019-04-21 21:45:32 -04:00
shivshank 1dd829a8ed Fix doc tests 2019-04-21 21:40:30 -04:00
shivshank 2570ce152a
Merge pull request #3 from Huanzo/fix-hoveredfile
Update glutin to newest version 0.19.0
2019-02-13 18:45:07 -05:00
Huanzo 5f9953b01a updated glutin to newest version with fix for WindowEvent::HoveredFile and WindowEvent::HoveredFileCancelled 2019-01-26 15:39:14 +01:00
shivshank 6836050f19 Update Cargo.toml, remove invalid category 2018-08-25 16:55:58 -04:00
shivshank f64eaf1557 Update CHANGELOG 2018-08-25 16:55:02 -04:00
shivshank 1e71fefe90 Change BasicInput::mouse_pos from usize to f64 2018-08-25 16:31:43 -04:00
shivshank ac966f9a40 Bump version 2018-08-25 16:08:48 -04:00
shivshank 8df4325917 Fix botched mouse handling 2018-08-25 16:08:23 -04:00
shivshank f71d48b814 Make things easier to find 2018-08-25 15:31:44 -04:00
shivshank dafc614729 Update version 2018-08-24 18:14:31 -04:00
shivshank 883b69f9c5 Be consistent with OpenGL coords, buffer[0] being the bottom left 2018-08-24 18:13:40 -04:00
shivshank cac568542a Fix GOL example 2018-07-28 17:15:47 -04:00
shivshank 1b06a521d6 Fix typo that broke the GOL! 2018-07-28 17:15:30 -04:00
shivshank 79c14c51c5 Bump version 2018-07-28 16:59:22 -04:00
shivshank a734d7de86 Add post process, input handling, and game of life example 2018-07-28 16:59:02 -04:00
shivshank 0d4e6a9822 Add support for basic input handling without breakout 2018-07-28 16:48:23 -04:00
shivshank 41fcc99608 Add basic game of life example 2018-07-28 15:25:59 -04:00
shivshank 5e006a73ac Add use_post_process_shader support 2018-07-28 14:56:48 -04:00
shivshank 03f17314ad Add is_running and redraw methods 2018-07-28 14:18:12 -04:00
shivshank 0ec51b2969 Update version 2018-07-27 22:56:19 -04:00
shivshank 226fafcc1c Fix warnings 2018-07-27 22:56:00 -04:00
shivshank 8b85a8f118 Remove left over persist_and_redraw 2018-07-27 22:55:13 -04:00
shivshank 0efe514a89 Expose resizable, enhance persist implementation 2018-07-27 22:54:52 -04:00
shivshank aa46df7f74 Update version, readme 2018-07-27 22:16:07 -04:00
shivshank 32c6a5ce09 Add example for black and white 2018-07-27 22:06:53 -04:00
shivshank de363927dd Fix texture alignment specified incorrectly 2018-07-27 22:06:40 -04:00
shivshank 256e20be8e Remove outdated comments 2018-07-27 22:04:11 -04:00
shivshank c2702fa36b Add safety check for update_buffer 2018-07-27 20:15:56 -04:00
shivshank 68cda2a7fb Add a few more buffer customization methods 2018-07-27 19:30:10 -04:00
shivshank 2cd65b90b1 Update version 2018-07-27 18:02:05 -04:00
shivshank b0f24913f0 Add example for scaled buffers 2018-07-27 18:01:34 -04:00
shivshank 6a99711833 Remove dependency on Config for init_glutin_context 2018-07-27 17:56:41 -04:00
shivshank f23f653413 Refactor init_framebuffer to take arguments instead of a config 2018-07-27 17:28:00 -04:00
shivshank 16e1c25e31 Fix broken export 2018-07-27 17:16:38 -04:00
shivshank 54af8986ab Prep Cargo.toml for crates.io 2018-07-27 17:10:51 -04:00
shivshank d3ae1b8bac Update version 2018-07-27 17:00:00 -04:00
shivshank 95e3bdcbfd Add viewport resize method 2018-07-27 16:40:31 -04:00
shivshank df5ea104d8 Forgot to commit the breakout module 2018-07-25 23:50:17 -04:00
shivshank 875eeeddc6 Update docs 2018-07-25 23:43:09 -04:00
shivshank 46f2bf4bbc Enhance the glutin breakout example 2018-07-25 23:31:35 -04:00
shivshank a027cf0e70 Add glutin breakout 2018-07-25 23:17:33 -04:00
shivshank 67b2b108c8 Update docs 2018-07-25 22:42:58 -04:00
shivshank f9127fb922 Add another Default impl for Config 2018-07-25 22:27:30 -04:00