Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1.0.0] C++ API bindings #2

Open
ichordev opened this issue Jul 5, 2023 · 9 comments
Open

[1.0.0] C++ API bindings #2

ichordev opened this issue Jul 5, 2023 · 9 comments
Assignees
Labels
enhancement New feature or request

Comments

@ichordev
Copy link
Contributor

ichordev commented Jul 5, 2023

Nearly finished at present:

  • bindings for imgui.h
  • bindings for imgui_internal.h (for custom UI elements)

Planned additions:

  • native Dlang bgfx backend
  • porting a few more examples
@ichordev ichordev added the enhancement New feature or request label Jul 5, 2023
@ichordev ichordev self-assigned this Jul 5, 2023
@ichordev
Copy link
Contributor Author

Waiting for ImGui v1.90 to come out before restarting work on this.

@Herringway
Copy link

@ichordev v1.90 has come out

@ichordev
Copy link
Contributor Author

@ichordev v1.90 has come out

Fortunately, I already knew about this. :) The timing of the v1.90 release was rather amusing though.

@kassane
Copy link

kassane commented Jan 12, 2024

When the WiP is finished, will you port it to that repository, or will it remain its own project?
https://github.com/ichordev/bindbc-imgui

@ichordev
Copy link
Contributor Author

When the WiP is finished, will you port it to that repository, or will it remain its own project? https://github.com/ichordev/bindbc-imgui

When the new version is finished I will copy it to this repository & tag version 1.0.0.
The bindings in the current version of this repository were not made by me, I copied them here for backwards compatibility with the ‘bindbc-imgui’ package name.

@kassane
Copy link

kassane commented Jan 14, 2024

When the new version is finished I will copy it to this repository & tag version 1.0.0.

Fine!

The bindings in the current version of this repository were not made by me, I copied them here for backwards compatibility with the ‘bindbc-imgui’ package name.

Ok, I got it.


I intend to do some tests with the new binding and depending on the results I may try to experiment with libsokol.

@ichordev
Copy link
Contributor Author

ichordev commented Feb 1, 2024

The main part of the bindings has been updated to Dear ImGui 1.90. I think I’m only going to support minor version releases (e.g. 1.90, 1.91, 1.92, etc.)
Internal bindings are about 1/3 finished, and are a complete pain to create! That’s why I haven’t finished this yet… :’)

@ichordev
Copy link
Contributor Author

A much more sustainable version has reached a working state. I’m still not happy with some of the formatting but it’s available on my personal repository if you want to try it out. To use it you will have to build ImGui yourself as a library.

@kassane
Copy link

kassane commented Dec 10, 2024

I’m still not happy with some of the formatting but it’s available on my personal repository if you want to try it out. To use it you will have to build ImGui yourself as a library.

Ok. Currently, I use importC with cimgui.h and sokol-d build-system already has libimgui.
Taking this opportunity to use it as an additional alternative, I'll run some tests with your binding. Loading sokol_imgui.h also requires cimgui.

Today, dcimgui supports both C++ and C in the same repo.
https://github.com/floooh/dcimgui

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants