Commit graph

6 commits

Author SHA1 Message Date
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
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
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
f3e24283d1 Added initial skeleton files 2020-07-01 21:46:33 +02:00