329 Commits

Author SHA1 Message Date
dbr
b74f4eb8eb Remove unneeded re-export
Not needed as dock_space only adds thing to Ui
2024-05-05 12:14:51 +09:30
dbr
fb5133cc9c Fix clippy yelling 2024-05-05 12:09:24 +09:30
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
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
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
197128840c Bump version 2023-04-05 21:49:48 +09:30
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
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
Robin
0ef604bbb1 Update to glow 0.12 2023-02-02 15:00:28 +01:00
dbr
6cd80834e5 Missing 'mut' in unsafe{} comment 2023-01-30 17:00:11 +10:30
Robin
9dbcdabdaa Merge branch 'main' of https://github.com/imgui-rs/imgui-rs 2023-01-21 14:00:31 +01:00
dbr
0ffa2d1414 FIx clippy note on #[deprecated(...)] 2023-01-16 21:21:02 +10:30
dbr
36cf76a4c1 Format #[deprecated(...)] annotations 2023-01-16 19:39:14 +10:30
dbr
fcc4263dce Bump to v0.10 2023-01-16 19:26:14 +10:30
dbr
c0f9035ec9 Fixes for doc-links 2023-01-16 18:57:16 +10:30
dbr
5a43f28257 Misc doc strings 2023-01-16 18:54:40 +10:30
dbr
1f6195d1aa Mark Id::Str(...) etc as #[deprecated]
Also add doc strings to Ui.new_id_int(...) etc
2023-01-16 18:54:13 +10:30
Robin
45b9d27557 Adapted Viewport structs to new ImGui Version 2023-01-14 19:28:59 +01:00
Rodrigo Rivas Costa
2106e17dea Fix keyboard modifiers in Winit with the new ImGui version. 2023-01-14 13:26:23 +01:00
dbr
f44f8fe942 Mark Key, StyleColor, StyleVar as non-exhaustive
Likely to have new things added - rest are all either fairly closed sets of things (up/down/left/right) or likely to require some intentional change from user (e.g DrawCmd)

Closes #695
2023-01-13 14:06:44 +10:30
dbr
a08f0d63d9 Update to imgui 1.89.2
Closes #699
2023-01-12 10:12:47 +10:30
Robin Quint
07fc930ab9
Merge branch 'imgui-rs:main' into main 2023-01-09 12:04:31 +01:00
dbr/Ben
942f04d3b1
Merge pull request #688 from Rob2309/imgui-event-io
Update ImGui and use event-based io
2023-01-09 19:08:09 +10:30
ararem
9b614eaae3 Implement DataTypeKind for usize and isize
This allows direct use of the size types in `imgui-rs` functions, like `Slider`s. Previously, they had to be cast, passed in, then cast back. This change allows for direct use (no casts necessary)
2023-01-04 13:00:42 +01:00
dbr
71a2dbd066 Ignore clippy warning
In this case we are intentionally returning different struct for backwards-compat
2023-01-01 17:52:24 +10:30
dbr
b70981531e fmt 2023-01-01 17:34:31 +10:30
Robin
37a800c33c Added documentation to io test, added fallback implementation for ImageButton 2022-12-28 12:31:31 +01:00
Robin Quint
a8e2fb4fb4 Added new flags to ItemHoveredFlags, added documentation to new pub members of io 2022-12-22 15:41:27 +01:00
Robin Quint
1a1ea098c1 cargo fmt 2022-12-22 15:10:09 +01:00
Robin Quint
70b865a001 Added workaround for io tests 2022-12-22 15:09:23 +01:00
Robin
0cb64e8b59 Fixed build errors with docking feature 2022-12-21 21:21:57 +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
Robin
e3bdcffee0 Fixed bug in platform_io 2022-12-20 13:30:45 +01:00
Robin Quint
69528d7942 Merge branch 'main' of https://github.com/imgui-rs/imgui-rs 2022-12-16 15:00:29 +01:00
dbr/Ben
645d7eba55
Merge pull request #680 from dbr/rmimstr
Removing im_str! marco
2022-12-02 12:58:41 +10:30
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