- This commit fixes the regular build and the glium example. The WGPU
example needs an updated imgui-wgpu to point to the new imgui-sys
version for things to work.
- The im_str and ImString usage deprecations are not fixed yet.
- There is no version bump for cimplot yet.
- The glium example was upgraded as well and works.
- The wgpu example was not yet touched in this commit, it will
require a version of imgui-wgpu that points to imgui-rs 0.7.0
as well to work.
This commit adds support for linked axes between plots. One can specify
such linked limits using the new `linked_x_axis()` function (and the
variants for the Y axes) by specifying an `Rc<RefCell<ImPlotRange>>`
value, and passing clones of the same `Rc` to other plots.
The values within those `Rc` need to be kept persistent between frames,
hence the way to use this functionality is to keep a clone of the `Rc`
outside the frame-drawing function as part of the application state.
The regular limit setting API is unaffected.
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.