1760 Commits

Author SHA1 Message Date
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
Robin Quint
57230dc81f Implemented basic context sharing in viewport example 2022-03-16 08:53:18 +01:00
Robin Quint
cbb98f5289 Added dockspace_over_main_viewport() to Ui, finished basic viewport example 2022-03-15 16:09:03 +01:00
Robin Quint
76bd236a95 Implemented working viewport example 2022-03-15 15:56:38 +01:00
Robin Quint
26df654967 Removed most example changes, working on viewport example 2022-03-15 14:08:17 +01: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
Robin Quint
768034a681 Added Documentation 2022-03-04 15:49:43 +01:00
Robin Quint
3da8f2cf33 Polishing for PR 2022-03-04 13:29:01 +01:00
Robin Quint
c2644cb0be imgui-winit-support now uses external storage for extra windows 2022-03-04 13:10:43 +01:00
Robin Quint
066d802979 Make sure imgui compiles with docking enabled and disabled 2022-03-04 13:09:59 +01:00
Robin Quint
07503ff500 clippy 2022-03-02 10:45:22 +01:00
Robin Quint
acda14c7f1 Fixed initial window position 2022-03-02 10:42:39 +01:00
Robin Quint
cb8f63fb8c Fixed initial window positioning and windows not rendering when focused 2022-03-02 08:37:53 +01:00
Robin Quint
e68ea5fe3b Fixed crashes 2022-03-01 14:40:26 +01:00
Robin Quint
0e9f39c942 More WIP 2022-03-01 14:24:31 +01:00
Robin Quint
daf039c098 WIP 2022-03-01 13:38:20 +01:00
Robin Quint
cf214ca397 Reverted integration changes 2022-03-01 11:26:36 +01:00
Robin Quint
b6617b2c0e WIP 2022-03-01 10:23:59 +01:00