Robin Quint
ca05418cb4
Updated winit, glutin and glium dependencies
2023-12-14 09:57:21 -05:00
Jonathan Spira
00894927e4
basic updating
2023-09-18 08:52:26 -04:00
Andrea Frigido
0899b904c0
Update license field following SPDX 2.1 license expression standard
2023-09-17 16:57:30 -04:00
dbr
197128840c
Bump version
2023-04-05 21:49:48 +09:30
dbr
0863512c43
Handle modifiers properly in winit-support
...
Previously only the "LeftCtrl" was set, not ModCtrl (same for shift etc). Although winit also act weirdly, and once the window regains focus it starts starts triggering ModifierChanged which also sets ModCtrl, so this problem wasn't always noticeable
2023-03-03 18:50:32 +10:30
dbr
842cd0700b
Move ModifiersChanged handler
...
No longer needs to be handled outside of the main event match statement
2023-03-03 18:50:32 +10:30
dbr
fcc4263dce
Bump to v0.10
2023-01-16 19:26:14 +10:30
Rodrigo Rivas Costa
2106e17dea
Fix keyboard modifiers in Winit with the new ImGui version.
2023-01-14 13:26:23 +01:00
dbr/Ben
52a44edbbb
Merge pull request #692 from dbr/examples-reorg
...
Reorganization of examples
2023-01-09 19:20:41 +10:30
dbr
34453a9081
Placeholder for imgui-winit-support
...
A standalone example would either be missing a renderer (of minimal usefulness), or an exact duplicate of the linked examples
2023-01-04 19:05:15 +10:30
Robin Quint
bd3d59ce62
winit-support now uses event-io for everything
2022-12-22 15:04:58 +01:00
Robin
2d9efba59b
Added full keymap to winit backend, fixed keyboard example
2022-12-21 20:18:16 +01:00
Robin Quint
e51af80da7
upgraded imgui to 1.89.1, changed winit-support to use new event io
2022-12-21 15:14:31 +01:00
dbr
6d6cda275c
Add docs links to Cargo.toml
...
So docs link shows up nicely on crates.io
2022-11-30 10:31:02 +10:30
dbr
9776ebef90
Remove authors key from Cargo.toml
...
The field is now optional (as of Rust 1.53) and no longer used by crates.io (as per Rust RFC 3052)
2022-11-30 10:15:38 +10:30
dbr
2eb3f8c337
Bump to 0.9.0!
2022-11-30 10:10:19 +10:30
Lena Milizé
b377181c54
re-export winit and glow
...
Signed-off-by: Lena Milizé <me@lvmn.org>
2022-10-27 10:03:36 +02:00
Denis Barkar
5fa0f27564
Support winit v0.27.2
2022-08-17 17:37:07 +03:00
dbr
c032408329
sudo rm -rf old-winit
...
Somewhat experimental removal of old winit versions, to reduce maintenance burden
Significantly reduces (around half) the length of winit-support, should reduce amount of work done in CI
2022-04-30 10:12:56 -04:00
dbr/Ben
fef6509a6e
Merge pull request #628 from dbr/losingfocus
...
Handle window focus lost event
2022-03-23 12:12:56 +10:30
dbr
5cd71fef4c
cargo fmt --all
2022-03-19 21:10:22 +11:00
dbr
9648b40d85
Handle window focus lost event
...
Avoids keys getting stuck when window loses focus (e.g alt+tab)
Closes #602
2022-03-19 21:04:16 +11:00
Marijn Suijten
db71313f04
imgui-winit-support: Get DrawData from Context instead of Ui
...
As per a recent deprecation change scheduled for the 0.9 release.
2022-03-15 14:03:11 +01:00
Marijn Suijten
055c16b4e2
imgui-winit-support: Fix use of update_delta_time in example doc
2022-03-15 13:51:35 +01:00
Marijn Suijten
b08f3bfe29
imgui-winit-support: Compile doctest on winit 20+
2022-03-15 13:51:28 +01:00
Jack Mac
fadcd35c0a
grumble
2022-02-21 18:55:39 -05:00
Jack Mac
8dea2edcfa
init. copying other work
2022-02-21 18:55:39 -05:00
Philippe Renon
169403c526
winit-support: fix dpi handling in attach_window() when not in default mode
...
attach_window() was using the imgui scale factor when converting
winit physical size to logical size instead of the winit scale factor.
This would cause the imgui display size to be incorrect when not using the
HiDpiMode::Default mode (in default mode the imgui and winit scale factors
are the same and the issue goes unnoticed).
Note that handle_window_event() has similar (and correct) logic when handling WindowEvent::Resized events.
This also explain why the issue went mostly undiscovered as winit tends to
generate quite a bunch of resize events that would hide the miscalculation
done in attach_window().
A similar issue was also fixed in the WindowEvent::ScaleFactorChanged handling code.
should fix https://github.com/imgui-rs/imgui-rs/issues/441
2022-02-21 17:16:34 -05:00
Jack OntheGoMac
e999579484
eh?
2021-12-21 21:10:35 -05:00
Connor Fitzgerald
c8b1647255
Support winit-0.26
2021-12-21 21:10:35 -05:00
Jack Mac
1d78d18d82
updating license copyright data
2021-10-06 12:06:23 -04:00
Jack Mac
a6b61be583
incremented remaining crates to a pre-release version
2021-09-17 15:40:06 -04:00
Jack Mac
4809d031b7
issuing version update!
2021-09-17 12:37:53 -04:00
Jack Mac
694cd96d49
getting close! input_text resize is broken,
...
and i'll need to check the imgui docs example with std::string
to get a reference to how to do it properly.
2021-09-13 17:12:00 -04:00
Jack Spira
a57227d4cb
fmt
2021-09-05 23:32:54 -07:00
dzil123
610b2dc6ce
Enable winit default features by default, to avoid breakage
2021-09-05 23:24:52 -07:00
dzil123
b378477d64
Add winit 0.25 to CI and xtask
2021-09-05 23:24:24 -07:00
dzil123
9d34370989
Create dummy feature to fix clippy --all-features
2021-09-05 23:23:55 -07:00
dzil123
b3cf8ca4a6
Re-enable winit default features during CI
2021-09-05 23:23:38 -07:00
Daniel Z
481a72fda6
Disable winit default features
2021-09-05 23:23:30 -07:00
Jack Spira
ea356177eb
broke winit 19, fixed
2021-09-05 23:16:27 -07:00
Jack Spira
8ab0bb4496
at the end of my suffering, there was a door
...
hopefully fixed the last of examples annoyances
2021-09-05 15:48:37 -07:00
Jack Spira
6570f0bf40
okay fixed our winit hell situation
2021-09-05 14:30:47 -07:00
Thom Chiovoloni
918f79780d
Include LICENSE and README files where relevant
2021-06-07 17:35:46 -07:00
Thom Chiovoloni
9bfbb84095
imgui-winit-support release 0.7.1
2021-05-22 17:21:34 -07:00
Johan Andersson
79f9345362
Add support & upgrade to winit 0.25 ( #485 )
2021-05-22 17:19:02 -07:00
Thom Chiovoloni
34118dce9c
Prep release 0.7.0
2021-02-04 21:04:56 -08:00
Thom Chiovoloni
81e21f5853
Whoops, missed a spot
2020-12-31 19:32:44 -08:00
Thom Chiovoloni
64a8d3260d
Attempt to bludgeon the winit/glium/gfx versions into submission
2020-12-31 19:32:44 -08:00
Thom Chiovoloni
65bfc1469e
Use compare_exchange and not compare_and_swap
2020-12-31 13:06:04 -08:00