Giter Club home page Giter Club logo

ruby-imgui's People

Contributors

pyrareae avatar vaiorabbit avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

pyrareae

ruby-imgui's Issues

Fiddle support - a rather technical question.....

Hello!

I've tried this wrapper and it is awesome! Thank you very much for it! Although, I could not bundle this 'gem' into my rubyc compilled app.exe, since ffi is not a standard gem and It fails at the compillation due to ffi is a C ext gem (see rubyc...). Never mind, in short, I can only use fiddle but not ffi.... ๐Ÿ˜ฅ.
I saw that you've already dealt with both tool (fiddle, and ffi), and I would be so curious about whether there are any chance rewriting ImGui wrapper in fiddle? I've already solved the string pointers using fiddle in imgui-opengl.rb and imgui-glfw.rb, but - logically - I'm struggling with the imgui.rb conversion proccess.... Do you have any suggestion? I would be intrested in how to pass a struct as a struck's element in fiddle. (Like what you did with the FFI..by_value function)

Package as gem?

This and your nuklear binding would be really useful packaged as gems instead of stand-alone projects so that they could be used like any other gui library gem.

lib paths on linux

Hello.
The setup for opengl uses hardcoded paths on linux which are not "standard" on all distributions sadly, most have recently switched to abolishing the subdirectories like x86_64-linux-gnu or some have their libs installed themselves in /usr/local/lib.
The default library paths can be found via ld --verbose | grep -o SEARCH_DIR[^\;]* for example. Ideally it would try all of them sequentially and use the first one it finds. I am sadly not aware of any Ruby way to query that.
The only thing i can think of is doing something like:
Dir.glob("/usr/l*/**/libglfw.so") for example to get the actual path to an existing libglfw.so

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.