243 Commits

Author SHA1 Message Date
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
7861355fe8 Docstring for app_focus_lost 2022-03-22 20:37:16 +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
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
dbr
c0fb4b6369 Fix future clippy warning 2022-03-15 23:05:20 +11:00
Jiří Sejkora
30f8f04dcf Remove im_str! usage from examples in docs 2022-02-27 20:48:45 -05:00
Jack Mac
24ad9d526c reworked the combo box to be less annoying 2022-02-21 20:44:33 -05:00
Jack Mac
396512a982 lint 2022-02-21 18:05:49 -05:00
Jack Mac
4bb300e393 color edits 2022-02-21 18:05:49 -05:00
Jack Mac
f334bfb106 init 2022-02-21 18:05:49 -05:00
Jack Mac
d6037316a0 updated modal popup funtimes 2022-02-21 18:05:49 -05:00
Jack Mac
32cf2b9e6c clippy stop yelling at me 2022-02-10 14:31:19 -05:00
dbr
69fb34f0f8 Fix up running of begin_combo doctest 2022-02-10 11:07:04 +11:00
dbr
6dfa0a9533 More docs around combo methods
Add example to begin_combo doc
2022-02-10 10:23:43 +11:00
Gabe Weiner
d05827258f refactored Slider to match the new Ui based architecture 2022-01-28 12:00:47 -05:00
dbr/Ben
18ded1a58a
Merge pull request #603 from dbr/uipopup
Make ui.popup* methods consistent
2022-01-24 18:06:14 +11:00
dbr/Ben
f523dd2501
Merge pull request #600 from dbr/imgui186
Upgrade Dear ImGui 1.84.2 -> 1.86
2022-01-17 23:18:51 +11:00
dbr
45c7e2dd92 ...and once more 2022-01-17 14:47:17 +11:00
dbr
4bbbc459f1 clippy yelling 2022-01-17 14:35:07 +11:00
dbr
10eba1c25e fmt 2022-01-17 13:09:18 +11:00
dbr
dd061d4ad4 Make ui.popup* methods consistent [#454]
Closes #592
2022-01-17 12:51:55 +11:00
dbr
2eb0950a85 Add new Io field for docking branch 2022-01-12 17:36:54 +11:00
dbr
35342a0c82 Slightly better doc for push_id 2022-01-12 14:50:49 +11:00
dbr
b09b50e72c Remove incorrect docs 2022-01-12 14:47:43 +11:00
dbr
2a23779532 Fix interlinking 2022-01-12 14:44:05 +11:00
dbr
b345152ddb Document some things 2022-01-12 12:06:55 +11:00
dbr
d52177dc6c Fix up Io fields for imgui 1.86
A few things in the "docking" were actually just post-1.84 changes which were present in the docking branch
2022-01-11 18:10:52 +11:00
Jack OntheGoMac
92f94510c6 Fix cargofmt 2021-12-23 13:09:31 -08:00
Jack OntheGoMac
5cecf3f82c fix doc warnings 2021-12-23 13:04:55 -08:00
Jack OntheGoMac
bebd4168fa fixed breaking my commits to dbr 2021-12-21 17:04:42 -08:00
Shirayama Kazatsuyu
c2dfef0f4b Remove NO_ALPHA flag insertion in ColorPicker4::build 2021-12-03 23:20:23 +09:00
dbr/Ben
83f72f61cd
Merge pull request #568 from dbr/sliderissue565
Update slider example #565
2021-11-29 22:05:32 +11:00
Jiří Sejkora
0f314f4990 Add missing fields to memory tests 2021-11-27 11:08:20 -08:00
dbr
c4d7bc6c98 No -f32::MIN 2021-11-27 12:04:38 +11:00
dbr/Ben
aa58cea505
Merge pull request #571 from Sejsel/style-cellpadding
Add a StyleVar for CellPadding
2021-11-24 14:58:46 +11:00
Jiří Sejkora
b81edc7bf1 Add a StyleVar for CellPadding 2021-11-24 04:20:58 +01:00
Jiří Sejkora
f17af8487b Fix incorrectly copy-pasted documentation 2021-11-23 23:10:27 +01:00
dbr
744fc7cb79 Fix warning on badly named DrawData member 2021-11-16 17:08:50 +11:00
dbr
2ac1a56ec5 Update slider example #565
Full range of slider is half the ::MIN/MAX for f32/f64
2021-11-16 12:59:37 +11:00
dbr
a350e8dcd8 fmt 2021-10-27 23:26:46 +11:00
dbr
291b7a5b47 Misc fixes
Mainly changes from newer bindgen
2021-10-27 21:06:46 +11:00
dbr
929dd2fcfe Bulk of changes required to support main + docking 2021-10-27 19:24:12 +11:00
Jack Mac
6faa7f090a oops broke text 2021-10-19 19:16:07 -04:00
Jack Mac
daea06108f closes #553 2021-10-19 18:41:04 -04:00