183 Commits

Author SHA1 Message Date
Jonathan Spira
b798342157
Merge pull request #539 from sanbox-irl/simplify-ui-lifetime
Remove the lifetime from Ui
2021-10-01 13:03:51 -04:00
Jonathan Spira
3eaeab59ad
Merge pull request #479 from dzil123/delta_time
Fix update_delta_time() assertion fail from zero Duration
2021-10-01 12:43:41 -04:00
Jack Mac
5a98270944 added clone so i guess you can interact with it here... 2021-10-01 12:35:22 -04:00
Jack Mac
1f65184deb borked the lifetime, simplified here 2021-10-01 12:33:36 -04:00
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
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
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
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
db5953a10c Docs on push_id 2021-09-25 12:49:34 +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
0f7cb49865 Create windows via ui.window("title").build() [#454] 2021-09-25 11:41:53 +10: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
cb3d9c3609 Swap multiple Style accessor functions from Ui for a single unsafe Style accessor 2021-09-21 12:01:16 +09:30
Jack Mac
a6b61be583 incremented remaining crates to a pre-release version 2021-09-17 15:40:06 -04:00
Jack Mac
4809d031b7 issuing version update! 2021-09-17 12:37:53 -04:00
Jack Mac
d4da98e0a1 decided to feature gate the tables API 2021-09-17 10:56:55 -04:00
Mathias Tervo
7397f26d67 Remove noisy println statements 2021-09-17 08:40:56 +02:00
Lukasz Wiklendt
b86e54ffe9 Add Style accessor functions to Ui 2021-09-17 15:45:32 +09:30
Jack Mac
9ae254ad6d fixed up hack for edits on input widgets 2021-09-15 19:41:37 -04:00
Jack Mac
ff10eb01c8 added scare warning to string editing to explain null-termination 2021-09-15 12:14:05 -04:00
Jack Mac
c3dbd1b21f added a commented out deny(missing_docs)
This won't be done this release cycle, but i'd like this to be a goal of the repo to be well commented.
2021-09-15 12:00:16 -04:00
Jack Mac
50edf02d39 added deny(rust_2018_idioms)
we might as well be on 2018 if we're going to have to upgrade to 2021 in a few weeks!
2021-09-15 11:59:00 -04:00
Jack Mac
0a06c97526 simply used debug_assertions instead of test accidentally. 2021-09-15 11:50:53 -04:00
Jack Mac
31c4b98a98 adding a few fun tables api stuff 2021-09-15 11:47:29 -04:00
Jake Shadle
97d62422f9 Fix text input deletion 2021-09-15 15:48:45 +02:00
Jack Mac
6e1f359d08 rebased and waiting for green 2021-09-14 11:14:09 -04:00
Jack Mac
be9fd26595 rebased 2021-09-14 11:07:12 -04:00
Jack Mac
b57cb04076 fixes cargo deadlinks 2021-09-14 11:07:12 -04:00
Jack Mac
9d43206633 added controls for sorting...which should finish this guy off! 2021-09-14 11:07:12 -04:00
Jack Mac
eb455f032c fmt 2021-09-14 11:07:12 -04:00