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

Annoucing Dear ImGui Bundle including ImFleDialog and many others; with support for C++, Python and emscripten #32

Open
pthom opened this issue Jan 25, 2023 · 3 comments

Comments

@pthom
Copy link

pthom commented Jan 25, 2023

I'm happy to announce the first public release of Dear ImGui Bundle. Dear ImGui Bundle is a bundle for Dear ImGui, including many powerful libraries from its ecosystem. It enables to easily create ImGui applications in C++ and Python, under Windows, macOS, Linux, emscripten. It is aimed at application developers, researchers, and beginner developers who want to quickly get started.

ImFleDialog is a included in the widgets provided with it.

@dfranx: sorry to hijack the issues list for this, and feel to close this issue; as this is just for your information. I informed @ocornut yesterday, and I plan to communicate about it in the ImGui gallery in the next hours.

@time-killer-games
Copy link

time-killer-games commented Feb 24, 2023

Hey, I was wondering if you'd like to help add emscripten support to my fork:

https://github.com/time-killer-games/libfiledialogs

My fork already supports python since you could either run the CLI with popen or call the library instead for better performance.

Running through a popen on Xorg or Wayland based platforms will need BEL characters "\a" removed from the stdout string otherwise the file paths returned will be incorrect.

No pressure, it's up to you.
Thanks!
Samuel

@pthom
Copy link
Author

pthom commented Feb 27, 2023

@time-killer-games : to add support for emscripten into your fork, you could take inspiration from this bit from hello_imgui

As is presently stands, I cannot use your fork in imgui-bundle, since it mixes too many libraries into one repository (imgui, freetype, sdl, lunasvg).

@time-killer-games
Copy link

Thanks for the link, that should be a good resource.

Depending on whether this would be acceptable to you, I'd like to make a special version which will remove sdl2 from the dependencies list. It will still use freetype because without it you won't be able to use anything besides English via the baked in imgui font, and lunasvg will be necessary as well for SVG freedesktop icon themes, and there is no real way around that other than reinventing the wheel and writing my own solution for those two things. If I removed sdl2 from the dependency list, and added freetype/lunasvg as git submodules coming from the original repositories and their authors, would that make it more acceptable?

It's ok if not, just wondering how we could make this work and whether a middle ground could be agreed on.

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

No branches or pull requests

2 participants