1278 Commits

Author SHA1 Message Date
Jonathan Spira
ebfe0d3af4
Merge pull request #527 from vojd/fix/remove-leftovers 2021-09-17 10:00:53 -04:00
Mathias Tervo
7397f26d67 Remove noisy println statements 2021-09-17 08:40:56 +02:00
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
Jonathan Spira
2ecd617218
Merge pull request #522 from EmbarkStudios/main
Fix text input deletion
2021-09-15 11:13:07 -04:00
Jake Shadle
97d62422f9 Fix text input deletion 2021-09-15 15:48:45 +02:00
Jack Mac
7d266d418c Merge branch 'cfrantz-tables-api' 2021-09-14 11:18:25 -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
b57cb04076 fixes cargo deadlinks 2021-09-14 11:07:12 -04:00
Jack Mac
3ffe82e488 clipppy 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
Jack Spira
7aba745c3d added documentation and examples 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
Jonathan Spira
1e94b4164b
Merge pull request #519 from dbr/disable
Add disable methods (and update to imgui 1.84.2)
2021-09-14 10:39:35 -04:00
dbr
e6cb406570 😍 2021-09-14 14:48:13 +10: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
a9e418c729 Minor tweak to upgrading-imgui doc 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
dbr
d9e12f12b4 Fix typo 2021-09-14 11:11:15 +10:00
dbr
78a0c81451 Remove autofix_submodules call from bindgen
Previously if you checked out a different rev of imgui submodule, this would be clobbered

With this change, you can checkout any revision of imgui, run bindgen, build, test, then commit change to the submodule

The autofix is still available via 'cargo task modfix'
2021-09-14 11:11:15 +10:00
Jonathan Spira
dd5110b57d
Merge pull request #517 from sanbox-irl/string
Remove ImStr and ImString
2021-09-13 17:19:09 -04:00
Jack Mac
fc708f4950 unbroke a change, fixing combo box 2021-09-13 17:12:27 -04:00
Jack Mac
759bfa5d88 fmt!!! 2021-09-13 17:12:27 -04:00
Jack Mac
611f46a71d fixed up deadlinks 2021-09-13 17:12:27 -04: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
b26243293b fixed examples issue 2021-09-13 17:12:27 -04:00
Jack Mac
8642508f6a fixed doc issues 2021-09-13 17:12:27 -04:00
Jack Mac
8037ca9e82 fixed formatting problems 2021-09-13 17:12:27 -04:00
Jack Mac
f635fd6438 fixed examples, removing warnings (i think) 2021-09-13 17:12:27 -04:00
Jack Mac
2a547f2a66 updated changelog to ignore combobox message.
also removed the previous notion that some things required &str -- we figured out how to not need that
2021-09-13 17:12:24 -04:00
Jack Mac
7bc3715f42 1.48 required T: Debug for unsafe cell's Debug impl 2021-09-13 17:12:00 -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
e0125f4c06 removed imstr and imstring from clipboard support 2021-09-13 17:12:00 -04:00
Jack Spira
fc49af214a removed imstr from the tree 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
d490093dae finished menu 2021-09-13 17:11:52 -04:00
Jack Spira
540aa5f292 converted combo_box and drag 2021-09-13 17:11:32 -04:00
Jack Spira
08d285d029 added more bounds, somewhat chaotically 2021-09-13 17:10:43 -04:00