Comments (6)
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.
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.
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.
Thank you, i'm going to look into this. If I get it working i'll shoot you a PR
from imgui-java.
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.
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)
- Update ImNodes to latest version
- Unable to assign / use custom ImGuiStyle HOT 1
- Bug: Maven fat jar not working on windows HOT 1
- Calls to getCmdListVtxBufferData() and getCmdListIdxBufferData() overwrite eachother HOT 8
- Bug: Clone Issue
- Bug: OpenGL Rendering in Imgui HOT 2
- Bug: crash when debugging with JDK 21 HOT 1
- [Question] Is it supports lwjgl legacy? (2.7.3) HOT 2
- Bug: ImGuiInputTextCallbackData#insertChars handles UTF-8 characters incorrectly
- Git Clone HOT 1
- Bug: ImGui is setting the font texture ID to zero everytime the font atlas is built. HOT 1
- Bug: imgui UI is missing in the Gizmo example HOT 1
- Porting of ShowDemo_RealtimePlots over Java
- Missing Bindings: ImGui::ImageButton(ImGuiID id, ImTextureID texture_id, ...etc) HOT 1
- improve string handling performance HOT 3
- Bug: Doesn't work under macos arm64
- Missing Bindings: FileDialog icons support and file sort order
- Easier binding generations
- Bug: ImFontAtlas' ClearInputData method crashes without any error.
- Missing Bindings: ImGui::TableGetHoveredColumn, ImGui::TableGetHoveredRow
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from imgui-java.