Giter Club home page Giter Club logo

Comments (6)

Kyjor avatar Kyjor commented on July 24, 2024 2

https://github.com/Kyjor/ImGuiSDLBackend.jl

Both SDL-OpenGL and SDL-Renderer Backends opening and running. There's still bugs to fix and lose ends to tie up, but it's mostly working.

from cimgui.jl.

Kyjor avatar Kyjor commented on July 24, 2024 1

Wanted to bump this. This would be super helpful for me, as I have to use two separate windows, instead of everything in one. I would be willing to implement it myself, if I could be pointed in the right direction.

from cimgui.jl.

Kyjor avatar Kyjor commented on July 24, 2024 1

Turns out long-term meant a couple of days 😄 I've gotten the sdl opengl backend working (I'm sure there are a lot of issues with it) and rendering UI elements with inputs. I'm really interested in getting the sdl sdlrenderer backend working, and am hacking away at it. Once I get it working, I'll extract it out to its own repo. But for anyone interested, I'm working on it here: https://github.com/Kyjor/JulGame.jl/tree/feature/sdl-imgui-backend

from cimgui.jl.

JamesWrigley avatar JamesWrigley commented on July 24, 2024 1

Very nice work :)

from cimgui.jl.

JamesWrigley avatar JamesWrigley commented on July 24, 2024

Speaking for myself I probably won't be able to get to it anytime soon 😅 Also not an expert, but I imagine that if you wanted to do it yourself you'd have to write an ImGui backend equivalent to ImGuiGLFWBackend.jl, but using SimpleDirectMediaLayer.jl. It should probably do the same thing as the official SDL backend: https://github.com/ocornut/imgui/blob/master/backends/imgui_impl_sdl2.cpp

from cimgui.jl.

Kyjor avatar Kyjor commented on July 24, 2024

Yeah I completely understand. This will be on my long-term backlog. I think I have a lot to learn so this will be a good task to take on after I learn some more about creating these bindings and such. Thanks!

from cimgui.jl.

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.