317 Commits

Author SHA1 Message Date
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
dbr
54f4bef7db Remove ye ol' deprecated im_str! marco
Closes #576
2022-11-30 00:19:12 +10:30
dbr
fa3404fbb5 Remove redundant clone in new TextFilter 2022-10-05 14:52:09 +10:30
dbr/Ben
f1c87a1755
Merge pull request #658 from tetenpapier/main
Add bindings to TextFilter
2022-10-05 13:37:25 +10:30
dbr/Ben
0c9341a41c
Merge pull request #662 from linw789/main
Allow users to hide tree_node label
2022-09-02 15:18:53 +10:00
Lin Wang
cddf42ada7 fix doc 2022-08-29 23:30:04 -04:00
Wang, Lin
6fa1fb6991 leave tree_node label None if not set
This allows users to hide tree_node label. This change also added an
example of making a tree_node as a button.
2022-08-24 13:42:14 -04:00
tetenpapier
c004b3a619 move text_filter file 2022-08-12 17:37:12 +02:00
tetenpapier
5f5450487f use &str instead of String 2022-08-12 17:32:11 +02:00
tetenpapier
2d8ae7c9d0 add new function in ui for textfilter and doc 2022-08-11 10:24:58 +02:00
tetenpapier
5450ee6136 add doc and example, remove useless function 2022-08-11 10:12:34 +02:00
tetenpapier
b02c1eb7b2 add doc 2022-08-10 19:51:52 +02:00
tetenpapier
3d7b56a331 add pass_filter_end 2022-08-10 19:40:58 +02:00