diff --git a/README.md b/README.md index 0a362c9..6052f82 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ JNI based binding for [Dear ImGui](https://github.com/ocornut/imgui) with no dep Please read **Binding Notice** to get more info about java-specific things of the API.
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 Dear ImGui. -Binding provides all the data you need to render Dear ImGui. If, for some reason, you want to use your own backend renderer, see how [ImGuiImplGl3](https://github.com/SpaiR/imgui-java/blob/v1.76-0.15/imgui-lwjgl3/src/main/java/imgui/gl3/ImGuiImplGl3.java) for reference. +Binding provides all the data you need to render Dear ImGui. If, for some reason, you want to use your own backend renderer, see how [ImGuiImplGl3](https://github.com/SpaiR/imgui-java/blob/v1.77-0.16/imgui-lwjgl3/src/main/java/imgui/gl3/ImGuiImplGl3.java) for reference. Versioning semantic of the binding: `imguiVersion-bindingVersion`.
For example `1.74-0.1` means that imgui-java uses `1.74` version of Dear ImGui and binding itself has the version `0.1`. @@ -21,12 +21,12 @@ _Make sure you have installed Java 8 or higher._ You can try Dear ImGui with Java by yourself in a three simple steps: ``` -git clone --branch v1.76-0.15 https://github.com/SpaiR/imgui-java.git +git clone --branch v1.77-0.16 https://github.com/SpaiR/imgui-java.git cd imgui-java gradlew :imgui-lwjgl3:startExample ``` -That's all! You will start an example app [ImGuiGlfwExample](https://github.com/SpaiR/imgui-java/blob/v1.76-0.15/imgui-lwjgl3/src/test/java/ImGuiGlfwExample.java). Feel free to modify [ExampleUi](https://github.com/SpaiR/imgui-java/blob/v1.76-0.15/imgui-lwjgl3/src/test/java/ExampleUi.java) class to try different Dear ImGui widgets in action. +That's all! You will start an example app [ImGuiGlfwExample](https://github.com/SpaiR/imgui-java/blob/v1.77-0.16/imgui-lwjgl3/src/test/java/ImGuiGlfwExample.java). Feel free to modify [ExampleUi](https://github.com/SpaiR/imgui-java/blob/v1.77-0.16/imgui-lwjgl3/src/test/java/ExampleUi.java) class to try different Dear ImGui widgets in action. ![imgui-java demo](https://i.imgur.com/ljAhD7a.gif) @@ -43,7 +43,7 @@ repositories { ext { lwjglVersion = '3.2.3' - imguiVersion = '1.76-0.15' + imguiVersion = '1.77-0.16' } switch (OperatingSystem.current()) { @@ -87,7 +87,7 @@ dependencies { 3.2.3 - 1.76-0.15 + 1.77-0.16 @@ -232,7 +232,7 @@ Even if the viewport feature is still in a very experimental state, yet the dock See an official documentation about how to work with [docking](https://github.com/ocornut/imgui/issues/2109). ## Using FreeType -Dear ImGui by default uses a stb_strutype library to render a fonts atlas. It's possible to use FreeType instead to get better fonts quality. See an example in [ImGuiGlfwExample](https://github.com/spair/imgui-java/blob/v1.76-0.15/imgui-lwjgl3/src/test/java/ImGuiGlfwExample.java). [Read more](https://github.com/ocornut/imgui/blob/v1.76/misc/freetype/README.md) +Dear ImGui by default uses a stb_strutype library to render a fonts atlas. It's possible to use FreeType instead to get better fonts quality. See an example in [ImGuiGlfwExample](https://github.com/spair/imgui-java/blob/v1.77-0.16/imgui-lwjgl3/src/test/java/ImGuiGlfwExample.java). [Read more](https://github.com/ocornut/imgui/blob/v1.76/misc/freetype/README.md) ## Binding Notice * All Dear ImGui methods are available in `camelCase`, not in `PascalCase`. diff --git a/bin/imgui-java.dll b/bin/imgui-java.dll index 29f7953..3eda4ca 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 79b52b5..713de9e 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 7951da3..f142b95 100755 Binary files a/bin/libimgui-java.so and b/bin/libimgui-java.so differ diff --git a/bin/libimgui-java64.dylib b/bin/libimgui-java64.dylib index d0d04cd..8c362e0 100644 Binary files a/bin/libimgui-java64.dylib and b/bin/libimgui-java64.dylib differ diff --git a/bin/libimgui-java64.so b/bin/libimgui-java64.so index 7f5ae31..2ab7d08 100755 Binary files a/bin/libimgui-java64.so and b/bin/libimgui-java64.so differ diff --git a/gradle.properties b/gradle.properties index d57f376..a12b15c 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1 +1 @@ -version=1.76-0.15 +version=1.77-0.16 diff --git a/imgui-lwjgl3/src/test/java/ExampleUi.java b/imgui-lwjgl3/src/test/java/ExampleUi.java index 011b492..57cbdea 100644 --- a/imgui-lwjgl3/src/test/java/ExampleUi.java +++ b/imgui-lwjgl3/src/test/java/ExampleUi.java @@ -17,7 +17,7 @@ import static org.lwjgl.opengl.GL32.*; @SuppressWarnings({"MagicNumber", "VisibilityModifier"}) final class ExampleUi { - private static final String IMGUI_DEMO_LINK = "https://raw.githubusercontent.com/ocornut/imgui/v1.76/imgui_demo.cpp"; + private static final String IMGUI_DEMO_LINK = "https://raw.githubusercontent.com/ocornut/imgui/v1.77/imgui_demo.cpp"; private static final int COLOR_DODGERBLUE = ImColor.rgbToColor("#1E90FF"); private static final int COLOR_CORAL = ImColor.rgbToColor("#FF7F50");