1451 Commits

Author SHA1 Message Date
Jack Mac
8dea2edcfa init. copying other work 2022-02-21 18:55:39 -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
Philippe Renon
169403c526 winit-support: fix dpi handling in attach_window() when not in default mode
attach_window() was using the imgui scale factor when converting
winit physical size to logical size instead of the winit scale factor.

This would cause the imgui display size to be incorrect when not using the
HiDpiMode::Default mode (in default mode the imgui and winit scale factors
are the same and the issue goes unnoticed).

Note that handle_window_event() has similar (and correct) logic when handling WindowEvent::Resized events.
This also explain why the issue went mostly undiscovered as winit tends to
generate quite a bunch of resize events that would hide the miscalculation
done in attach_window().

A similar issue was also fixed in the WindowEvent::ScaleFactorChanged handling code.

should fix https://github.com/imgui-rs/imgui-rs/issues/441
2022-02-21 17:16:34 -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/Ben
e6c5208d01
Merge pull request #597 from dbr/packagetidying
Fix up glob patterns in imgui-sys
2022-01-17 23:17:45 +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
641370ea22 Update updating-imgui docs 2022-01-11 18:56:02 +11:00
dbr
95cb7c7fe6 Minor/unrelated tweaks to CHANGELOG 2022-01-11 18:41:55 +11:00
dbr
adc31d6e9d Update changelog for 1.84->1.86 2022-01-11 18:41:31 +11:00
dbr
680d92341c Tidy 2022-01-11 18:12:28 +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
dbr
dac88186a1 Run bindgen 2022-01-11 15:17:40 +11:00
dbr
d77e5dadfa Rerun cimgui 2022-01-11 15:17:16 +11:00
dbr
6dd4517359 Update imgui to 1.86
Also script file-copy procedure
2022-01-11 15:15:31 +11:00
dbr/Ben
2b62b64605
Merge pull request #599 from PieKing1215/glow-minor-version-fix
Fix glow renderer not working for minor version = 0
2022-01-09 23:10:36 +11:00
David M
f03a0c3449
Fix glow renderer for minor version zero 2022-01-06 16:50:29 -05:00
dbr
9128066f01 Fix up glob patterns in imgui-sys
Were set based on old pre-docking-branch-support paths

Closes #596
2022-01-05 14:47:41 +11:00
dbr/Ben
9866a303a2
Merge pull request #591 from LoipesMas/patch-1
Minor fixes to README
2021-12-28 23:52:52 +11:00
LoipesMas
cb65a39217
Minor fixes to README 2021-12-28 12:23:09 +00: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
ce22eb3da5 updated CI 2021-12-23 13:02:44 -08:00
Jack OntheGoMac
e999579484 eh? 2021-12-21 21:10:35 -05:00
Connor Fitzgerald
c8b1647255 Support winit-0.26 2021-12-21 21:10:35 -05:00
Jack OntheGoMac
bebd4168fa fixed breaking my commits to dbr 2021-12-21 17:04:42 -08:00
dbr
22436d9341 Fix DPI scaling in examples
- winit handles the DPI factor scaling
- Remove "rounded" mode which is only sensible with default bitmap screen on a low pixel density screen
- As such change default font to the already-in-repo Roboto
- Adds env-var to examples to force scaling factor for debug purposes
2021-12-20 09:55:36 -05:00
Jasper Bekkers
f04bae561c Make sure docs get generated for optional features as well
We should probably publicly document the features we're exposing so they're more easy to find :-)
2021-12-20 09:54:19 -05:00
dbr/Ben
352b5d0b9e
Merge pull request #579 from kazatsuyu/fix/color-picker-alpha
Remove NO_ALPHA flag insertion in ColorPicker4::build
2021-12-04 11:35:08 +11:00
Shirayama Kazatsuyu
c2dfef0f4b Remove NO_ALPHA flag insertion in ColorPicker4::build 2021-12-03 23:20:23 +09:00
dbr/Ben
f43e33c15d
Fix note about ControlFlow::Wait 2021-11-30 11:33:14 +11:00
dbr/Ben
83f72f61cd
Merge pull request #568 from dbr/sliderissue565
Update slider example #565
2021-11-29 22:05:32 +11:00
Thom Chiovoloni
d4d2c50bff Update xflags 2021-11-28 19:00:01 -08: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