Due to the yanking of imgui-winit-support 0.6.1, builds that did
not have a lock file started failing in places. I've now locked
the versions of imgui and friends to exactly 0.6.0 to avert those
issues for the time being, with the longer-term fix being the
upgrade of all those to 0.7.0 in #13.
- This commit also fixes an issue with legend rotation and orientation
always being set to values even if the user did not specify any.
This broke the interactive configuration of where the legend should
be.
- This updates the bindings generator, the low-level bindings as
well as the higher-level bindings and the examples to work
with a newer master of cimplot that links to implot 0.7.
- Several things are not done properly yet:
- Contexts can be created and as long as they are not dropped
things work out (shown in the examples). However, this should
be done more imgui-rs like, where operations that require a context
make that explicit by requiring a context reference to be passed.
- The README has not been updated yet to all the new features that
were added.
- This now builds the bindings (still with cbindgen in build.rs,
will change that in a bit) and links to them successfully. Everything
currently points to the master branch at Gekkio/imgui-rs, because
there has not been a release yet with the PR merged that exposes
the defines in the sys crate.
- I have now included a little demo crate that calls into the unsafe
generated bindings as a proof of concept. Next there will need to
be safe and more Rust-y bindings written around this, just like
imgui-rs has them.
This points to aloucks' fork instead of imgui-rs directly
so I can try out the PR. Doesn't seem to work as expected
yet though, trying to read the env var doesn't show anything.
I'm probably doing it wrong.