Giter Club home page Giter Club logo

Comments (4)

colesnicov avatar colesnicov commented on August 17, 2024 2

@colesnicov It has never been a problem for me in the last 6 years, and I released a dozen tools using raygui.

Course, these are things that can be lived with. Personally, I use Dear ImGui because it's been many years.. But RayGui appeals to me because it's actually such a companion for RayLib..

I like RayGui, but Dear ImGui has been around for many years, has a strong base and provides a lot of options. And it can be combined with RayLib. But RayGui is good. Good work.

from raygui.

colesnicov avatar colesnicov commented on August 17, 2024

Hello. That seems like a big problem. I haven't tried it that deeply yet, but I'm already scared of it.

I know about Dear ImGui.

Things like this were resolved there 7 years ago and I remember that it was resolved then. Back then it was like that, overlapping of windows, rendering of an element inappropriately, or the fact that the last window was not rendered...

At the time, it concerned, I think, the rendering lists..

O'Cornut is a dude..

from raygui.

raysan5 avatar raysan5 commented on August 17, 2024

Hello. That seems like a big problem. I haven't tried it that deeply yet, but I'm already scared of it.

@colesnicov It has never been a problem for me in the last 6 years, and I released a dozen tools using raygui.

@ssoher I'm afraid trying to address this issue could imply a considerable redesing of raygui and raylib library. As mentioned, it was never been a big issue for me. Do you have some proposed solution to address it in a simple way?

from raygui.

ssoher avatar ssoher commented on August 17, 2024

Do you have some proposed solution to address it in a simple way?

Sadly, no. An array of structs to represent gui draw calls, inside the struct a generic void pointer to a draw function along with a number of variables to pass as arguments to that function, a depth value and the control type from an enum to cast the function pointer back to the actual gui function call it represents, and a for loop that calls these functions in the array every frame would work I guess. Then the array can be sorted based on the depth variable inside each struct. I can't think of a "good" way. And in any case, as you said it would take some significant change on the library design side I guess.

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.