1688 Commits

Author SHA1 Message Date
Robin Quint
ca05418cb4 Updated winit, glutin and glium dependencies 2023-12-14 09:57:21 -05:00
Jonathan Spira
8b2722d00b fixed doc links 2023-09-23 18:34:28 -04:00
Jonathan Spira
47bb38be50 proposed extra methods 2023-09-23 18:34:28 -04:00
Jonathan Spira
c61fd30eaf not calling void correctly 2023-09-23 18:34:28 -04:00
Rodrigo Rivas Costa
1d0858c5a3 Add functions begin_popup_context_*. 2023-09-23 18:34:28 -04:00
Jonathan Spira
4c80d0d5f3 simplifying testing:
- clippy runs on stable
- testing runs on msrv only
2023-09-18 08:52:26 -04:00
Jonathan Spira
00894927e4 basic updating 2023-09-18 08:52:26 -04:00
Sivaram Konanki
4618936344 update memoffset version 2023-09-17 17:27:04 -04:00
Lena
16faf4fda5 add support for adding analog key events
(e.g. gamepad analog sticks)
2023-09-17 17:25:23 -04:00
Andrea Frigido
0899b904c0 Update license field following SPDX 2.1 license expression standard 2023-09-17 16:57:30 -04:00
Giacomo Stevanato
0f655625b6 Require correct version of cc 2023-09-14 23:09:23 -04:00
Jonathan Spira
50e166e84f clippy don't be so mad! 2023-09-14 23:03:46 -04:00
Jonathan Spira
cef617ba02 unsafety in text fix 2023-09-14 23:03:46 -04:00
dbr
ba02f2287f Cargo metadata for viewport renderer 2023-04-05 22:01:30 +09:30
dbr
79955778f7 Set version in changelog 2023-04-05 21:49:56 +09:30
dbr
197128840c Bump version 2023-04-05 21:49:48 +09:30
dbr
fcbb8e7ee4 Update changelog 2023-04-05 21:49:02 +09:30
dbr/Ben
d4a1e38261
Merge pull request #702 from rodrigorc/AddCallback
Add callbacks to the draw_list.
2023-04-05 19:35:58 +09:30
Rodrigo Rivas Costa
08b1b89974 Add a glow-renderer example with an FBO and a callback. 2023-04-04 20:37:03 +02:00
Rodrigo Rivas Costa
1484742ab5 imgui_glow_renderer::AutoRender::gl is now an Rc<glow::Context>.
It can be cloned and stored on drawing callbacks, for example.
2023-04-04 20:37:03 +02:00
Rodrigo Rivas Costa
2fcfdd55f4 Add callbacks to the draw_list. 2023-04-04 10:00:01 +02:00
dbr/Ben
df331ba574
Merge pull request #721 from jbrd/OwnedDrawData-PR
Issue #687: Add OwnedDrawData for deep cloning DrawData
2023-04-03 23:10:21 +09:30
James Bird
c497742196 Fix linter warnings. Switch test to sys::igGetIO() 2023-04-03 08:10:01 +01:00
James Bird
84731273ca Add OwnedDrawData for deep cloning DrawData 2023-03-28 12:49:16 +01:00
dbr/Ben
9009022e02
Merge pull request #718 from dbr/msrv164
Bump MSRV to 1.64
2023-03-22 23:39:11 +10:30
dbr/Ben
7bade088b1
Merge pull request #715 from reduf/replace-crate-capture-by-copypasta
Replaced crate "clipboard" by "copypasta"
2023-03-22 23:13:29 +10:30
dbr
4608516120 More clippy pedantry 2023-03-22 23:12:36 +10:30
dbr
6e684c8781 Other clippy lint
I think the lint was relegated to nursery in later releases but seems reasonable enough in this case
2023-03-22 23:07:54 +10:30
dbr
07673e8eba Use $crate in create_token macro 2023-03-22 23:02:00 +10:30
dbr
b7fbd575c5 Fix clippy warnings
Mostly unnecessary 'as' casts to same kind, and unneeded borrows
2023-03-22 23:01:37 +10:30
dbr
3e995f481c Bump MSRV to 1.64
raw-window-handle now requires this. No hard-requirement from imgui-rs - projects with lock file pinning indirect dependencies will likely keep working in 1.60
2023-03-22 20:02:22 +10:30
Laurent Dufresne
27f7d2fa57 Replaced crate "clipboard" by "copypasta"
The crate clipboard is not maintained anymore and has a dependency with
multiple security issues.
2023-03-08 17:52:22 +01:00
dbr/Ben
9ff2eabf29
Merge pull request #710 from dbr/modfix
Fix handling of modifier keys in winit-support
2023-03-03 19:34:29 +10:30
dbr
b49572871a Fix copypaste-errors 2023-03-03 19:21:40 +10:30
dbr
4e146f2ef0 fmt 2023-03-03 18:57:01 +10:30
dbr
b781572e33 Copy modified-handling code for viewport renderer 2023-03-03 18:56:52 +10: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/Ben
52820dbb3e
Merge pull request #711 from Rob2309/glow-0.12
Update to glow 0.12
2023-03-03 18:48:48 +10:30
Robin
0ef604bbb1 Update to glow 0.12 2023-02-02 15:00:28 +01:00
dbr/Ben
a2ad8dd955
Merge pull request #619 from Rob2309/main
Expose Viewport functionality
2023-02-02 13:02:18 +10:30
dbr
29978d3a31 Fix clippy lint in example 2023-01-30 17:03:56 +10:30
dbr
6cd80834e5 Missing 'mut' in unsafe{} comment 2023-01-30 17:00:11 +10:30
dbr
b730a88d00 Rename viewport example
Mostly so when running "cargo run --example" it is clearer
2023-01-30 16:55:56 +10:30
Robin
ce92bd6dd1 Clippy fixes in imgui-winit-glow-renderer-viewports 2023-01-21 21:16:12 +01:00
Robin
3ac84559fa viewports renderer now uses event-based io 2023-01-21 21:05:37 +01:00
Robin
29b23ec5dc Bumped everything to MSRV 1.60 2023-01-21 20:48:18 +01:00
Robin
bc9cb1c246 viewports renderer now backups OpenGL state 2023-01-21 20:44:22 +01:00
Robin
5528eef52d cargo fmt 2023-01-21 20:10:19 +01:00
Robin Quint
a84610ee03 Fixed renderer on wayland 2023-01-21 20:04:59 +01:00