Giter VIP home page Giter VIP logo

Comments (6)

SpaiR avatar SpaiR commented on May 20, 2024 1

As I understand, you're already know how to build libraries, so things go easier.

To create binding itself I use jnigen from libgdx. Its overview and introduction of how to use it could be found here: https://github.com/libgdx/libgdx/wiki/jnigen#how-it-works

Go through the code inside of imgui-binding module. Most of the time everything goes pretty straightforward: https://github.com/SpaiR/imgui-java/blob/master/imgui-binding/src/main/java/imgui/ImGui.java#L260-L262

Sometimes things require more specific approach (especially when you need to transfer an object between native and java layers), but examples could be found as well.

from imgui-java.

SpaiR avatar SpaiR commented on May 20, 2024

I don't know. It's a part of the internal API, which I didn't plan to port. At least until I won't need some of its functionality for myself. For now I don't need anything of it though.

from imgui-java.

MrManiacc avatar MrManiacc commented on May 20, 2024

I understand. Any chance you could give a quick overview of how I might implement it? All good if it's to hard to explain.

from imgui-java.

MrManiacc avatar MrManiacc commented on May 20, 2024

Thank you, i'm going to look into this. If I get it working i'll shoot you a PR

from imgui-java.

MrManiacc avatar MrManiacc commented on May 20, 2024

I can't seem to get it to build on windows. Would really like if you could look into adding that feature if you ever get some free time, I get this is a free project so you're not required to and you only need to add what you need; but I know it would benefit the community greatly, that is kinda a key feature that is directly in correlation with docking, would love to see it pushed. Anyway I understand if you're too busy, but if you ever get a chance it's be greatly appreciated!

from imgui-java.

SpaiR avatar SpaiR commented on May 20, 2024

DockBuilder API has been added with https://github.com/SpaiR/imgui-java/releases/tag/v1.78-1.1

Java example of how to create dockspace and docked windows: https://github.com/SpaiR/imgui-java/blob/v1.78-1.1/imgui-lwjgl3/src/test/java/ExampleUi.java#L50-L53

from imgui-java.

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.