61 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
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
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
b23e0483ae init effort 2021-09-30 18:58:38 -04:00
dbr
82ad709167 fmt 2021-09-25 13:03:06 +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
Jack Mac
31cc4b3df0 switched to using usings 2021-09-21 12:46:17 -04:00
Jack Mac
d4da98e0a1 decided to feature gate the tables API 2021-09-17 10:56:55 -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
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
eb455f032c fmt 2021-09-14 11:07:12 -04:00
Jack Spira
56dae31b91 rebased and updated further. No docs yet, and API isn't stable.
This would bring our MSRV up to 1.51 (const generics)
2021-09-14 11:07:12 -04:00
Chris Frantz
be4fe2af61 Initial Tables API
A naive and incomplete binding to the ImGui Tables API.

Signed-off-by: Chris Frantz <frantzcj@gmail.com>
2021-09-14 11:07:12 -04:00
dbr
79aaf9f62c fmt 2021-09-14 11:18:03 +10:00
dbr
32e0555f5f Add bindings to BeginDisabled/EndDisabled
Closes #518
2021-09-14 11:18:03 +10:00
dbr
28dece5682 Memories of DHTML snow effects, or, a typo 2021-09-14 11:18:03 +10:00
dbr
e39ab4249e Change structs to match imgui 1.84
Also change oddly-specific test to avoid having to change it every update
2021-09-14 11:18:03 +10:00
dbr
6007bc5a4b Update imgui to 1.84.2 #512
Changes required:
- Overloaded methods named slightly differently (e.g sys::igPlotHistogramFloatPtr to sys::igPlotHistogram_FloatPtr)
- ImGuiNavInput_KeyMenu_ was removed upstream, so NavInput::INTERNAL_COUNT needed tweaked
2021-09-14 11:17:55 +10:00
Jack Mac
ee1d921799 can't use intradoc...yet 2021-09-13 17:12:27 -04:00
Jack Mac
c62c609de5 making us have good links 2021-09-13 17:12:27 -04:00
Jack Mac
3eaee3359d imstr and imstring have been removed.
fixed some instability and added a hacky shim to input_text functions.
We're looking okay so far, but more testing will be needed
2021-09-13 17:12:00 -04:00
Jack Mac
694cd96d49 getting close! input_text resize is broken,
and i'll need to check the imgui docs example with std::string
to get a reference to how to do it properly.
2021-09-13 17:12:00 -04:00
Jack Spira
5143968429 updating more widgets. Wow this is boring! 2021-09-13 17:12:00 -04:00
Jack Spira
540aa5f292 converted combo_box and drag 2021-09-13 17:11:32 -04:00
Jack Spira
5802931a88 did some work and began converting modules over 2021-09-13 17:10:43 -04:00
Jack Spira
52e08bd09a init effort 2021-09-13 17:10:43 -04:00
Jack Spira
64f5787940 Somehow the text flags are getting sheared in multiline inputs?
let's just ignore them!
2021-09-07 15:04:30 -07:00
Jack Spira
9b27edf440 working on some tests. this commit is broken 2021-09-07 15:04:29 -07:00
dbr
28e66b833c fmt 2021-09-05 11:55:13 -07:00
dbr
5317eae5ec Also re-export InputTextFlags 2021-09-05 11:55:12 -07:00
dbr
1d9539754b Re-export imgui::widget::misc to expose ButtonFlags
Required to use ui.invisible_button_flags(...)
2021-09-05 11:55:12 -07:00
Thom Chiovoloni
cb918fc652 Update Dear Imgui to v1.82 2021-04-04 17:29:16 -07:00
dbr/Ben
965dd87892
Merge branch 'master' into drawimage 2021-03-09 10:27:23 +11:00
Thom Chiovoloni
d0e2be1678
Merge pull request #457 from dbr/imgui-v1.81 2021-03-06 15:49:11 -08:00
toyboot4e
9b90f0e9d0 Add doc aliases 2021-03-05 14:00:06 +09:00
Jonathan Spira
8c328001d0 Added ext function variants to the majority of overloaded functions in ImGui 2021-03-04 10:58:30 -08:00
dbr
507d5d5065 Update to imgui 1.81
Changes:

- No more ListBox::calculate_size(...) as this was deprecated upstream
2021-03-03 15:36:28 +11:00
Jonathan Spira
468d6c8a33 removed my changelog 2021-02-28 21:29:06 -08:00
Jonathan Spira
52b0da64a5 holy god, the suffering 2021-02-28 21:29:05 -08:00
dbr
a90989db58 Make draw_list module public 2021-02-20 20:01:26 +11:00
dbr
b3a50e6928 Finally, remove legacy.rs
Any use of imgui::ImGuiTreeNodeFlags should be updated to imgui::TreeNodeFlags
2021-02-11 14:33:10 +11:00