1504 Commits

Author SHA1 Message Date
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
45c2d28ced Missed one 1.56 -> 1.57 2022-09-26 21:33:10 +09:30
dbr
5d14676362 Bump MSRV to 1.57
Needed by ~glutin
2022-09-26 19:35:05 +09:30
dbr/Ben
f4817a0ad5
Merge pull request #659 from dbarkar/winit-27
Support winit v0.27.2
2022-09-26 17:51:36 +09: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
dbr/Ben
236537578c
Merge pull request #666 from linw789/doc-fix
Update docs from old token pop method to end
2022-09-02 15:01:21 +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
dbr/Ben
f5da97d115
Merge pull request #660 from dbr/bumpmsrv
Update MSRV to 1.56
2022-08-22 14:42:13 +10:00
dbr
4ad2b7f3bd Update MSRV to 1.56
The winit->x11-dl 2.22.0 dependency now requires the 2021 edition which forces us to at least Rust 1.56 (at least on Linux)
2022-08-18 15:19:10 +09:30
Denis Barkar
5fa0f27564 Support winit v0.27.2 2022-08-17 17:37:07 +03:00
dbr/Ben
2d49ef7eb3
Merge pull request #647 from robertkeizer/main
Removing note in README about being under new management.
2022-08-15 19:01:06 +09:30
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
tetenpapier
5fc64b7e68 add TextFilter 2022-08-10 18:01:44 +02:00
Robert Keizer
1ec57fa1d9 Removing note in README about being under new management. 2022-06-06 20:42:25 -05:00
dbr
1de842a402 Move note about robustness into Scope section 2022-05-31 15:28:30 -07:00
dbr
59c5538cd9 glow: move vertex creation to same method as deletion
Prevents leak if set_up_render_state is called without calling render

Closes #643
2022-05-31 15:28:30 -07:00
dbr
f58744e579 Fix CI
--all-features doesn't do as expected, just list all (two) features we want to test
2022-04-30 10:12:56 -04: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
69f43e3025 Deduplicate ui.enabled(...) and ui.disabled() 2022-04-23 13:23:35 +10:00
dbr
5ec80ec584 Documenting a bunch of methods 2022-04-23 13:22:50 +10:00
Will Cassels
592af95697 Fix problematic TextCallbackData::selection implementation 2022-04-10 14:22:40 -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/Ben
12a12385de
Merge pull request #626 from dbr/clipperfix
Clipper bugfix and iterator interface
2022-03-22 20:09:11 +10:30
dbr
7861355fe8 Docstring for app_focus_lost 2022-03-22 20:37:16 +11:00
dbr/Ben
3e531edfed
Merge pull request #625 from MarijnS95/imgui-winit-support-buildtest-docs
imgui-winit-support: Build-test documentation example and fix compiler errors
2022-03-20 11:09:28 +10:30
dbr
5cd71fef4c cargo fmt --all 2022-03-19 21:10:22 +11:00
dbr
a658073bd7 Booleano 2022-03-19 21:07:57 +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
dbr
091e5a6a15 Workaround to turn imgui <~ 1.88 segfault into a panic 2022-03-19 20:31:06 +11:00
dbr
5a76ed7ce6 Clippy the wildly pedantic 2022-03-19 11:43:14 +11:00
dbr
68a5af174c fmt 2022-03-19 11:42:06 +11:00
dbr
39e45251b3 Example showing how to use list clipper+table 2022-03-18 22:07:58 +11:00
dbr
cc08285a04 Update the list clipper:
1. Avoid calling step() in destructor - incorrect and unnecessary, as it is not required to fully "use" the clipper (you can stop rendering half-way through)
2. Add a harder to misuse iterator interface to the clipper as an alterantive to the C++ style .step() interface

Closes #610
2022-03-18 22:07:27 +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
dbr
5e2ab214d1 fmt 2022-03-15 23:07:29 +11:00
dbr/Ben
71dff831de
Merge pull request #624 from MarijnS95/parking-lot-0.12
imgui: Upgrade parking_lot to 0.12 with windows-rs bindings
2022-03-15 22:36:46 +10:30
dbr
c0fb4b6369 Fix future clippy warning 2022-03-15 23:05:20 +11:00
dbr
2b9b938327 Fix misused anyhow! macro
Was msising a return, which bail! includes
2022-03-15 23:05:04 +11:00
Marijn Suijten
b5376c3fb4 imgui: Upgrade parking_lot to 0.12 with windows-rs bindings
`parking_lot` now uses windows-rs's `windows-sys` crate, officially
developed and vetted by Microsoft - the bindings are autogenerated from
metadata and faster to compile too.

See also https://github.com/Amanieu/parking_lot/pull/311.
2022-03-15 12:19:31 +01:00
Jiří Sejkora
30f8f04dcf Remove im_str! usage from examples in docs 2022-02-27 20:48:45 -05:00
Jack Mac
37926397fa lint comma 2022-02-22 10:33:59 -05:00