Commit graph

133 commits

Author SHA1 Message Date
ed1670604e Add infinite lines. 2023-10-09 05:47:11 +02:00
fa23f04fae Add colourmap to heatmap 2023-09-28 09:44:29 +02:00
03b356f575 Add simple heatmap support 2023-09-25 12:35:59 +02:00
e6a6f67b4d Update to imgui-rs 0.11.0.
Remove a lot of code 'temporarily' while we do some restructuring.
2023-09-22 13:09:38 +02:00
4bb4
cdd3888446 Marked label-setting function unsafe 2022-01-23 07:41:54 +01:00
4bb4
d1e728f419 More relaxing 2022-01-11 14:14:25 +01:00
4bb4
3a4696b6ce Relaxed version specifications a bit 2022-01-10 21:49:31 +01:00
4bb4
c0b2155bad Update rust.yml
Change the cloning method
2021-12-05 08:10:09 +01:00
4bb4
3c340b39b1 Update rust.yml 2021-12-05 08:10:09 +01:00
4bb4
4401d696b1 Removed im_str and ImString usage 2021-10-03 12:34:38 +02:00
4bb4
f132811e93 Updated to working versions of dependencies.
- This makes the WGPU example work again
2021-10-03 12:34:38 +02:00
4bb4
6bb1809690 Updated versions and fixed build errors. See comments.
- 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.
2021-10-03 12:34:38 +02:00
4bb4
07403f5802 Bumped versions, prepared changelog for release 2021-09-19 09:48:31 +02:00
Kyle Cesare
3231f488e3 examples: update to imgui-wgpu 0.17/wgpu 0.10 2021-09-12 11:44:04 +02:00
4bb4
f8c223a698 Updated wgpu-rs and imgui-wgpu-rs 2021-09-12 11:44:04 +02:00
4bb4
a90747dfeb Moved wgpu demo code closer to regular wgpu demo.
This was done in the hopes of fixing the "Invalid ScissorRect
parameters" problem, but it has not helped so far.
2021-09-12 11:44:04 +02:00
4bb4
e1fcd84a6a Pointed back to mainstream imgui-wgpu 2021-09-12 11:44:04 +02:00
4bb4
9e44b63fa3 Attempts at fixing wgpu example for imgui-rs 0.7.0 2021-09-12 11:44:04 +02:00
4bb4
5177415a25 Upgraded to imgui-rs 0.7, see comments.
- 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.
2021-09-12 11:44:04 +02:00
4bb4
2da7278061 Updated changelog 2021-09-07 19:30:47 +02:00
4bb4
bb8c707357 Bumped versions 2021-09-07 19:01:29 +02:00
4bb4
414efd1123 Added a changelog 2021-09-07 18:57:52 +02:00
Birk Tjelmeland
eba023b5f5 Use c_char instead of i8 for portability 2021-09-03 20:20:24 +02:00
4bb4
06cc3061c1 Added support for linked axes. See comments.
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.
2021-05-30 11:56:14 +02:00
4bb4
ad80781f4d Added direct limit setting API for y limits 2021-04-19 12:37:31 +02:00
4bb4
465e81d7f9 Some documentation fixes, added test for ImVec2 -> ImRange conversion 2021-04-19 12:00:25 +02:00
4bb4
f2a4c6a3d8 Merge branch 'improve_api_experiments' 2021-03-17 19:20:16 +01:00
4bb4
5779f7e6d6 Automated the work from #16 2021-03-17 19:17:14 +01:00
4bb4
3c30e3f919 Fixed conversions 2021-03-14 20:53:07 +01:00
4bb4
40766c3435 Merge remote-tracking branch 'a1ien/improove_api' into improve_api_experiments 2021-03-14 20:41:10 +01:00
4bb4
2cfd975250 Merge remote-tracking branch 'a1ien/improove_api' 2021-03-14 20:39:22 +01:00
Ilya Averyanov
861ee21b2d Remove lazy_static dependencie 2021-03-13 11:19:37 +01:00
Ilya Averyanov
e53dd6a0dd Use same convention for size as in imgui-rs 2021-03-06 02:11:42 +03:00
Ilya Averyanov
672bbc0052 Add converting from [f64; 2], (f64, f64), [..] for ImPlotRange
#15
2021-03-06 02:09:41 +03:00
4bb4
bfcaad3ad1 Bumped versions to 0.4.0 2021-02-10 21:21:48 +01:00
4bb4
2001f58dab Updated bindings 2021-02-06 10:07:28 +01:00
4bb4
6179cf1f8d Locked imgui versions down more. See comments.
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.
2021-02-06 10:02:58 +01:00
4bb4
69396149d0 Updated cimplot pin 2021-02-06 09:43:27 +01:00
4bb4
21aa28591c Added stem plots and legend entry hover checking 2021-01-31 12:40:13 +01:00
4bb4
2c56bd9803 Updated cimplot pin 2021-01-17 12:24:59 +01:00
4bb4
d11ea4a0f5 Bumped winit in wgpu demo 2021-01-13 21:33:47 +01:00
4bb4
ca0e273c9d Bumped Glium version in Glium demo 2021-01-13 21:24:57 +01:00
4bb4
191a6f2fd4 Added more doc aliases 2021-01-13 21:13:40 +01:00
4bb4
5d82bba3d6 Updated README 2020-12-12 12:56:28 +01:00
4bb4
51df275b4c Added FFI tests to CI 2020-12-12 12:45:28 +01:00
4bb4
092a1908fe Bumped cimplot/implot version, added "axis equal"
- 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.
2020-12-12 12:38:50 +01:00
4bb4
3f67c8501e Version bump 2020-11-29 19:22:54 +01:00
4bb4
af760648b6 Added some simple colorscheme setters
These don't properly expose the implot style yet in a way that is
consistent with imgui-rs' handling of styles. This is to be added
later.
2020-11-29 19:21:12 +01:00
Benedikt Mandelkow
d02f25fb32 apply some automatic clippy hints 2020-11-29 12:49:26 +01:00
Benedikt Mandelkow
c5ec153488 update imgui 0.6 2020-11-29 12:49:26 +01:00