Code Monkey home page Code Monkey logo

Comments (3)

raysan5 avatar raysan5 commented on May 29, 2024

raygui doesn't has one but I try to keep the library small and single-file.

from raygui.

 avatar commented on May 29, 2024

Hey @raysan5

Could you have a look and see if its not too bulky ??
It also looks very well supported..

The facebook code compiles to a small file.
https://github.com/facebook/yoga

There is also a golang port.
https://github.com/kjk/flex

A nice blog about it:
https://blog.kowalczyk.info/article/wN9R/experience-porting-4.5k-loc-of-c-to-go-facebooks-css-flexbox-implementation-yoga.html

The reason i bring this up is because i am playing around with raygui for golang, since i prefer golang. But i think its makes more sense to use the c yoga lib, so everyone gets it rather than doing it at the golang level.

That of course precludes this being useful. I think it is because:

  • GUI control layout is a very tough problem, and a good maths lib that can do it using a well known paradigm seems like a good approach
  • Will work anyway, even the with the html5 output from raylib, since its not DOM dependent.

Interested in hearing your thoughts.

from raygui.

raysan5 avatar raysan5 commented on May 29, 2024

Hi @gedw99,

Yoga seems a very interesting library but integrating it with raygui is out of my scope, I try to keep raygui small and single-file, also I'm working on abstracting it enough to avoid external dependencies like raylib (used for graphics drawing and inputs).

Just closing this issue for now.

from raygui.

Related Issues (20)

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.