Windows libraries and README

This commit is contained in:
SpaiR committed 2020-01-02 01:09:37 +03:00
1 parent b813d49042
commit 4197ef7f9e
4 files changed
+10 -1

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
Folder contains libraries used by the binding.
Provide 'java.library.path' VM option to a folder with one of those file (ex: -Djava.library.path=./some/folder).
By default binding expects 'imgui-java' ('imgui-java64' for x64 arch) file name.
You can change that by using 'imgui.library.name' VM option (ex: -Dimgui.library.name=custom-lib-name).
- imgui-java.dll << win32
- imgui-java64.dll << win64
- libimgui-java.so << linux32
- libimgui-java.so << linux64
Binary file not shown.
Binary file not shown.
+1 -1
View File
@@ -6,7 +6,7 @@ import java.nio.ByteBuffer;
public final class ImGui {
private static final String LIB_NAME_PROP = "imgui.library.name";
private static final String LIB_NAME_DEFAULT = "imgui-java";
private static final String LIB_NAME_DEFAULT = System.getProperty("os.arch").contains("64") ? "imgui-java64" : "imgui-java";
private static final ImDrawData DRAW_DATA = new ImDrawData(100_000, 100_000, 1000);
private static final ImGuiIO IMGUI_IO = new ImGuiIO();