diff --git a/README.md b/README.md index 22c0a2e..7f523e5 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Please read **Binding notice** to get more info about specific of the binding AP See official [documentation](https://github.com/ocornut/imgui#usage) and [wiki](https://github.com/ocornut/imgui/wiki) to get more info about how to do things in ImGui. Binding doesn't force you to use backend renderer which is introduced here. Feel free to use your own render engine if you need so. -See how things are done in [ImGuiImplGl3](https://github.com/SpaiR/imgui-java/blob/v1.75-0.6/imgui-lwjgl3/src/main/java/imgui/gl3/ImGuiImplGl3.java). +See how things are done in [ImGuiImplGl3](https://github.com/SpaiR/imgui-java/blob/v1.75-0.7/imgui-lwjgl3/src/main/java/imgui/gl3/ImGuiImplGl3.java). Binding has the next version naming: `imguiVersion-bindingVersion`.
For example `1.74-0.1` means that binding uses `1.74` version of **ImGui** and binding itself has version `0.1`. @@ -25,13 +25,13 @@ _Make sure you have installed Java 8 or higher._ You can try this binding by yourself in a three simple steps: ``` -git clone --branch v1.75-0.6 https://github.com/SpaiR/imgui-java.git +git clone --branch v1.75-0.7 https://github.com/SpaiR/imgui-java.git cd imgui-java gradlew :imgui-lwjgl3:startExample ``` -That's it! This will start an example app [ImGuiGlfwExample](https://github.com/SpaiR/imgui-java/blob/v1.75-0.6/imgui-lwjgl3/src/test/java/ImGuiGlfwExample.java) -which relies on GLFW and LWJGL3. Feel free to modify [ImGuiGlfwExample#showUi](https://github.com/SpaiR/imgui-java/blob/v1.75-0.6/imgui-lwjgl3/src/test/java/ImGuiGlfwExample.java#L346) +That's it! This will start an example app [ImGuiGlfwExample](https://github.com/SpaiR/imgui-java/blob/v1.75-0.7/imgui-lwjgl3/src/test/java/ImGuiGlfwExample.java) +which relies on GLFW and LWJGL3. Feel free to modify [ImGuiGlfwExample#showUi](https://github.com/SpaiR/imgui-java/blob/v1.75-0.7/imgui-lwjgl3/src/test/java/ImGuiGlfwExample.java#L346) method to try different ImGui widgets in action. **GIF with example:** https://imgur.com/a/E2rfuCR @@ -57,7 +57,7 @@ method to try different ImGui widgets in action. ext { lwjglVersion = '3.2.3' - imguiVersion = '1.75-0.6' + imguiVersion = '1.75-0.7' } dependencies { @@ -85,13 +85,13 @@ repositories { ### Step 2 Add binding dependency: ``` -implementation 'io.imgui.java:binding:1.75-0.6' +implementation 'io.imgui.java:binding:1.75-0.7' ``` ### Step 3 If you want to use LWJGL3 renderer: ``` -implementation 'io.imgui.java:lwjgl3:1.75-0.6' +implementation 'io.imgui.java:lwjgl3:1.75-0.7' ``` **Disclaimer!**
LWJGL3 renderer is based on the `3.2.3` version of the [LWJGL](https://www.lwjgl.org/). @@ -101,7 +101,7 @@ You can find how to do that [here](https://www.lwjgl.org/customize). ### Step 4 Add binary lib dependency: ``` -runtimeOnly "io.imgui.java:$imguiNatives:1.75-0.6" +runtimeOnly "io.imgui.java:$imguiNatives:1.75-0.7" ``` Where `imguiNatives` could be: - `natives-linux` diff --git a/bin/imgui-java.dll b/bin/imgui-java.dll index ad57f29..4410360 100755 Binary files a/bin/imgui-java.dll and b/bin/imgui-java.dll differ diff --git a/bin/imgui-java64.dll b/bin/imgui-java64.dll index 38352dd..ebc9e93 100755 Binary files a/bin/imgui-java64.dll and b/bin/imgui-java64.dll differ diff --git a/bin/libimgui-java.so b/bin/libimgui-java.so index 4a68648..2f2fac5 100755 Binary files a/bin/libimgui-java.so and b/bin/libimgui-java.so differ diff --git a/bin/libimgui-java64.so b/bin/libimgui-java64.so index 6a38bb9..50d0a08 100755 Binary files a/bin/libimgui-java64.so and b/bin/libimgui-java64.so differ diff --git a/gradle.properties b/gradle.properties index 219275b..9ee06e5 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1 +1 @@ -version=1.75-0.6 +version=1.75-0.7 diff --git a/imgui-binding-natives/build.gradle b/imgui-binding-natives/build.gradle index ff51721..bc00741 100644 --- a/imgui-binding-natives/build.gradle +++ b/imgui-binding-natives/build.gradle @@ -49,7 +49,6 @@ bintray { user = System.getenv('BINTRAY_USER') key = System.getenv('BINTRAY_API_KEY') publications = ['MyPublication'] - override = true pkg { repo = 'io.imgui.java' name = packageName diff --git a/imgui-binding/build.gradle b/imgui-binding/build.gradle index 942aef6..eae0cf0 100644 --- a/imgui-binding/build.gradle +++ b/imgui-binding/build.gradle @@ -48,7 +48,6 @@ bintray { user = System.getenv('BINTRAY_USER') key = System.getenv('BINTRAY_API_KEY') publications = ['MyPublication'] - override = true pkg { repo = 'io.imgui.java' name = 'binding' diff --git a/imgui-lwjgl3/build.gradle b/imgui-lwjgl3/build.gradle index 441cf98..1ecd24c 100644 --- a/imgui-lwjgl3/build.gradle +++ b/imgui-lwjgl3/build.gradle @@ -59,7 +59,6 @@ bintray { user = System.getenv('BINTRAY_USER') key = System.getenv('BINTRAY_API_KEY') publications = ['MyPublication'] - override = true pkg { repo = 'io.imgui.java' name = 'lwjgl3' diff --git a/imgui-lwjgl3/src/test/java/ImGuiGlfwExample.java b/imgui-lwjgl3/src/test/java/ImGuiGlfwExample.java index 7baff48..0227ba1 100644 --- a/imgui-lwjgl3/src/test/java/ImGuiGlfwExample.java +++ b/imgui-lwjgl3/src/test/java/ImGuiGlfwExample.java @@ -59,7 +59,7 @@ public final class ImGuiGlfwExample { private final ImGuiImplGl3 imGuiGl3 = new ImGuiImplGl3(); // Local variables for application goes here - private final String imguiDemoLink = "https://raw.githubusercontent.com/ocornut/imgui/v1.74/imgui_demo.cpp"; // Link to put into clipboard + private final String imguiDemoLink = "https://raw.githubusercontent.com/ocornut/imgui/v1.75/imgui_demo.cpp"; // Link to put into clipboard private final byte[] testPayload = "Test Payload".getBytes(); // Test data for payload. Should be represented as raw byt array. private String dropTargetText = "Drop Here"; private float[] backgroundColor = new float[]{0.5f, 0, 0}; // To modify background color dynamically