Giter Club home page Giter Club logo

Comments (3)

pthom avatar pthom commented on May 24, 2024 1

@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).

from imfiledialog.

time-killer-games avatar time-killer-games commented on May 24, 2024

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

from imfiledialog.

time-killer-games avatar time-killer-games commented on May 24, 2024

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.

from imfiledialog.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.