Commit graph

19 commits

Author SHA1 Message Date
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
Benedikt Mandelkow
c5ec153488 update imgui 0.6 2020-11-29 12:49:26 +01:00
4bb4
8fe8238a60 Version bump 2020-11-11 20:08:07 +01:00
4bb4
af0996390a Updated to newest available implot 2020-10-31 11:04:13 +01:00
Benedikt Mandelkow
7d5df2f2d6 add wgpu example with option to make plot the same size as outer window 2020-10-30 11:57:51 +01:00
Benedikt Mandelkow
6bdfd76d51 only run bindgen on ImPlot... names
not sure why bindgen switches to i32 everywhere
moved imgui dependency up one step as this seems where its actually used
2020-10-27 08:08:37 +01:00
4bb4
305c244373 Switched to released imgui-rs 0.5.0, adapted readme 2020-10-12 17:57:00 +02:00
Benedikt Mandelkow
e5428c4093 specify cpp standard to compiler 2020-10-11 19:51:01 +02:00
4bb4
f85c50657b Initial work on move to implot 0.7 compatibility. See notes.
- 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.
2020-10-11 16:33:26 +02:00
4bb4
3d6e1ee938 Pinned imgui dependency to a fixed commit 2020-09-13 13:57:01 +02:00
4bb4
b832924fad Refactored Plot building, various example updates 2020-08-08 14:42:22 +02:00
4bb4
ee910152b7 Added main crate and some initial code for idiomatic bindings 2020-08-04 22:05:04 +02:00
4bb4
0f11df5989 Added a separate bindgen building crate and pre-generated bindings 2020-08-03 21:50:03 +02:00
4bb4
c1ccb4eb6f Got initial unsafe bindings working. See comments.
- 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.
2020-08-01 18:28:17 +02:00
4bb4
5d293f8f79 Addressed some feedback in build script 2020-07-12 22:25:27 +02:00
4bb4
d1ce31d8cf Got include to work, but bindgen still errors out 2020-07-12 14:29:02 +02:00
4bb4
42adfb57fb Added submodule for cimplot and some build code
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.
2020-07-02 21:15:22 +02:00
4bb4
f3e24283d1 Added initial skeleton files 2020-07-01 21:46:33 +02:00