1335 Commits

Author SHA1 Message Date
Jack Mac
5bdd4f819c added end frame handle 2021-10-01 11:36:24 -04:00
Jack Mac
2a8374a339 removed ZST for Ui and changed shared font atlas to be based on UnsafeCell 2021-10-01 11:36:24 -04:00
Jack Mac
63267ddf56 better support for non-send-sync 2021-10-01 11:36:24 -04:00
Jack Mac
9b6f6c0fb8 fix tests 2021-10-01 11:36:24 -04:00
Jack Mac
11b7e87c64 clippy fixes 2021-10-01 11:36:24 -04:00
Jack Mac
b30cb740ba aaaand fixed up the examples 2021-10-01 11:36:24 -04:00
Jack Mac
41ab364384 and added the thorn in this method 2021-10-01 11:36:24 -04:00
Jack Mac
1d15196b5e removed the lifetime from the majority of the library 2021-10-01 11:36:22 -04:00
Jack Mac
191a346545 init significant changes 2021-10-01 11:28:36 -04:00
Jonathan Spira
4d183cffa6
Merge pull request #536 from sanbox-irl/mint-support
Switch [f32; _] types in the public api to `mint` equivalents
2021-09-30 19:13:48 -04:00
Jack Mac
bda3319d21 fixed examples 2021-09-30 19:01:47 -04:00
Jack Mac
83b6dc8d5f slightly borked the rebase 2021-09-30 18:58:38 -04:00
Jack Mac
f743fefe79 aaand examples compile. complex trait bounds there... 2021-09-30 18:58:38 -04:00
Jack Mac
8b22856090 OKAY and this is mostly done 2021-09-30 18:58:38 -04:00
Jack Mac
635cbfd01d added more bounds. wow this is gonna take awhile 2021-09-30 18:58:38 -04:00
Jack Mac
b23e0483ae init effort 2021-09-30 18:58:38 -04:00
Jack Mac
804ebd8b8c fixed textcallback 2021-09-30 18:45:35 -04:00
Jonathan Spira
7b9ce6bb1c
Merge pull request #537 from dbr/uiwindowredux
Window::new -> Ui::window attempt 2
2021-09-30 18:33:16 -04:00
Jack Mac
5cf67c22d4 the input widget may have had an incorrect text callback. this should fix that 2021-09-28 11:09:10 -04:00
Jack Mac
9417eb4c42 removed the other deprecation 2021-09-25 13:06:31 -04:00
Jack Mac
1082a29a37 removed push style color multiple, which was silly 2021-09-25 12:57:52 -04:00
Jack Mac
c68632d9e4 removed min const generics feature 2021-09-25 12:47:28 -04:00
dbr
82ad709167 fmt 2021-09-25 13:03:06 +10:00
dbr
9eb6b410b4 Example for push_id 2021-09-25 13:02:51 +10:00
dbr
db5953a10c Docs on push_id 2021-09-25 12:49:34 +10:00
dbr
54598aa24d Example showing various methods of creating windows
- ui.window(...).build() versus ui.window.begin()
- ui.child_window(...)
2021-09-25 12:21:47 +10:00
dbr
7953c4858b More words in doc of imgui::Condition
Mainly to try and clarify difference between Once/FirstUseEver
2021-09-25 11:52:36 +10:00
dbr
cc7ffbe351 Update examples to ui.window(...) 2021-09-25 11:51:11 +10:00
dbr
0f7cb49865 Create windows via ui.window("title").build() [#454] 2021-09-25 11:41:53 +10:00
Jonathan Spira
8fddba0143
Merge pull request #535 from malikolivier/fix-button-documentation 2021-09-23 08:52:16 -04:00
Malik Olivier Boussejra
210ca57ecb fix typo in color documentation
In 4f1cde06, `ImColor` was renamed to `ImColor32`.

The documentation in color.rs appears to be wrong, so we fix it.
2021-09-23 14:45:11 +09:00
Malik Olivier Boussejra
49702e0a68 fix typo in Ui::button documentation 2021-09-23 13:51:39 +09:00
Jonathan Spira
7660776bb3
Merge pull request #526 from lwiklendt/style_accessors 2021-09-21 19:42:23 -04:00
Lukasz Wiklendt
9cee827d23 Update Ui Style accessor function doc safety 2021-09-22 08:54:02 +09:30
Jack Mac
31cc4b3df0 switched to using usings 2021-09-21 12:46:17 -04:00
Lukasz Wiklendt
a0a04cdb91 Update Ui Style accessor function doc 2021-09-21 12:29:02 +09:30
Lukasz Wiklendt
78e31f9584 Merge remote-tracking branch 'origin/style_accessors' into style_accessors
# Conflicts:
#	imgui/src/utils.rs
2021-09-21 12:05:27 +09:30
Lukasz Wiklendt
6670826e34 Swap multiple Style accessor functions from Ui for a single unsafe Style accessor 2021-09-21 12:04:29 +09:30
Lukasz Wiklendt
cb3d9c3609 Swap multiple Style accessor functions from Ui for a single unsafe Style accessor 2021-09-21 12:01:16 +09:30
Jonathan Spira
42e482138f
Merge pull request #534 from sanbox-irl/main
disabled debug_message_insert_support on apple
2021-09-20 10:30:25 -04:00
Jonathan Spira
2ff4de3918 disabled debug_message_insert_support on apple 2021-09-20 00:49:27 -04:00
Jonathan Spira
5539c9f5c7
Merge pull request #532 from toyboot4e/glow-doc 2021-09-19 14:06:50 -04:00
toyboot4e
0633f112c8 link to imgui-glow-renderer/examples 2021-09-18 15:11:47 +09:00
toyboot4e
c40be71bb4 Fix glow renderer doc links 2021-09-18 14:55:55 +09:00
Jack Mac
a6b61be583 incremented remaining crates to a pre-release version 2021-09-17 15:40:06 -04:00
Jack Mac
42f900770f oops forgot to remove them here 2021-09-17 15:37:49 -04:00
Jack Mac
f05a2e0147 yeeted imgui-gfx renderer.
Please see the new repository under this organization to see its grave
2021-09-17 15:36:46 -04:00
Jonathan Spira
f2fdfd47c9
Merge pull request #530 from sanbox-irl/prep-0.8.0
prep 0.8.0
2021-09-17 13:47:20 -04:00
Jack Mac
921a9d4ef0 noted that the gfx backends are deprecated.
They'll be removed from this repo after publishing 0.8.0
2021-09-17 12:42:59 -04:00
Jack Mac
4809d031b7 issuing version update! 2021-09-17 12:37:53 -04:00