diff --git a/README.md b/README.md index 46a6eb5..c644769 100644 --- a/README.md +++ b/README.md @@ -11,10 +11,10 @@ JNI based binding for [Dear ImGui](https://github.com/ocornut/imgui) with no dep Read official [documentation](https://github.com/ocornut/imgui#usage) and [wiki](https://github.com/ocornut/imgui/wiki) to see how to work with Dear ImGui. Almost everything from C++ could be done in Java in the same way. -Binding has an OpenGL renderer and a GLFW backend implementation, using a [LWJGL3](https://www.lwjgl.org/) library. Could be found in [imgui-lwjgl3](https://github.com/SpaiR/imgui-java/blob/v1.84.1.4/imgui-lwjgl3) module.
+Binding has an OpenGL renderer and a GLFW backend implementation, using a [LWJGL3](https://www.lwjgl.org/) library. Could be found in [imgui-lwjgl3](https://github.com/SpaiR/imgui-java/blob/v1.85.0/imgui-lwjgl3) module.
They are recommended, yet optional to use. The advantage of Dear ImGui is a portability, so feel free to copy-paste classes or write your own implementations.
-Additionally, there is an [imgui-app](https://github.com/SpaiR/imgui-java/blob/v1.84.1.4/imgui-app) module, which provides **a high abstraction layer**.
+Additionally, there is an [imgui-app](https://github.com/SpaiR/imgui-java/blob/v1.85.0/imgui-app) module, which provides **a high abstraction layer**.
It hides all low-level stuff under one class to extend, so you can build your GUI application instantly. ### Features @@ -39,12 +39,12 @@ _Make sure you have installed Java 8 or higher._ You can try binding by yourself in three simple steps: ``` -git clone --branch v1.84.1.4 https://github.com/SpaiR/imgui-java.git +git clone --branch v1.85.0 https://github.com/SpaiR/imgui-java.git cd imgui-java ./gradlew :example:run ``` -See [example](https://github.com/SpaiR/imgui-java/blob/v1.84.1.4/example) module to try other widgets in action. +See [example](https://github.com/SpaiR/imgui-java/blob/v1.85.0/example) module to try other widgets in action. # How to Use **[ImGui in LWJGL YouTube video](https://youtu.be/Xq-eVcNtUbw)** by [GamesWithGabe](https://www.youtube.com/channel/UCQP4qSCj1eHMHisDDR4iPzw).
@@ -53,7 +53,7 @@ You can use this video as a basic step-by-step tutorial. It shows how to integra Take a note, that integration itself is a very flexible process. It could be done in one way or another. If you just need a framework for your GUI - use **Application** module. Otherwise, if you need more control, the best way is not just to repeat steps, but to understand what each step does. ## Application -If you don't care about OpenGL or other low-level stuff, then you can use application layer from [imgui-app](https://github.com/SpaiR/imgui-java/blob/v1.84.1.4/imgui-app) module. +If you don't care about OpenGL or other low-level stuff, then you can use application layer from [imgui-app](https://github.com/SpaiR/imgui-java/blob/v1.85.0/imgui-app) module. It is a **one jar solution** which includes: GLFW, OpenGL and Dear ImGui itself. So you only need **one dependency** line or **one jar in classpath** to make everything to work. You don't need to add separate dependencies to LWJGL or native libraries, since they are already included.
Application module is the best choice if everything you care is the GUI for your app. @@ -94,7 +94,7 @@ repositories { } dependencies { - implementation "io.github.spair:imgui-java-app:1.84.1.4" + implementation "io.github.spair:imgui-java-app:1.85.0" } ``` @@ -107,7 +107,7 @@ dependencies { io.github.spair imgui-java-app - 1.84.1.4 + 1.85.0 ``` @@ -123,7 +123,7 @@ dependencies { ## Binding Using binding without the wrapper requires to "attach" it to your application manually. -You can refer to [imgui-app](https://github.com/SpaiR/imgui-java/blob/v1.84.1.4/imgui-app) module and see how things are done there. +You can refer to [imgui-app](https://github.com/SpaiR/imgui-java/blob/v1.85.0/imgui-app) module and see how things are done there. ### Dependencies For simplicity, example of dependencies for Gradle/Maven only shows how to add natives for Windows. @@ -147,7 +147,7 @@ repositories { ext { lwjglVersion = '3.2.3' - imguiVersion = '1.84.1.4' + imguiVersion = '1.85.0' } dependencies { @@ -172,7 +172,7 @@ dependencies { ``` 3.2.3 - 1.84.1.4 + 1.85.0 @@ -248,17 +248,17 @@ dependencies { ## Extensions -- [ImNodes](https://github.com/Nelarius/imnodes/tree/857cc860af05ac0f6a4039c2af33d982377b6cf4) | [Example](https://github.com/SpaiR/imgui-java/blob/v1.84.1.4/example/src/main/java/ExampleImNodes.java)
+- [ImNodes](https://github.com/Nelarius/imnodes/tree/857cc860af05ac0f6a4039c2af33d982377b6cf4) | [Example](https://github.com/SpaiR/imgui-java/blob/v1.85.0/example/src/main/java/ExampleImNodes.java)
A small, dependency-free node editor for dear imgui. (A good choice for simple start.) -- [imgui-node-editor](https://github.com/thedmd/imgui-node-editor/tree/687a72f940c76cf5064e13fe55fa0408c18fcbe4) | [Example](https://github.com/SpaiR/imgui-java/blob/v1.84.1.4/example/src/main/java/ExampleImGuiNodeEditor.java)
+- [imgui-node-editor](https://github.com/thedmd/imgui-node-editor/tree/687a72f940c76cf5064e13fe55fa0408c18fcbe4) | [Example](https://github.com/SpaiR/imgui-java/blob/v1.85.0/example/src/main/java/ExampleImGuiNodeEditor.java)
Node Editor using ImGui. (A bit more complex than ImNodes, but has more features.) -- [ImGuizmo](https://github.com/CedricGuillemet/ImGuizmo/tree/f7bbbe39971d9d45816417a70e9b53a0f698c56e) | [Example](https://github.com/SpaiR/imgui-java/blob/v1.84.1.4/example/src/main/java/ExampleImGuizmo.java)
+- [ImGuizmo](https://github.com/CedricGuillemet/ImGuizmo/tree/f7bbbe39971d9d45816417a70e9b53a0f698c56e) | [Example](https://github.com/SpaiR/imgui-java/blob/v1.85.0/example/src/main/java/ExampleImGuizmo.java)
Immediate mode 3D gizmo for scene editing and other controls based on Dear Imgui. -- [implot](https://github.com/epezent/implot/tree/555ff688a8134bc0c602123149abe9c17d577475) | [Example](https://github.com/SpaiR/imgui-java/blob/v1.84.1.4/example/src/main/java/ExampleImPlot.java)
+- [implot](https://github.com/epezent/implot/tree/555ff688a8134bc0c602123149abe9c17d577475) | [Example](https://github.com/SpaiR/imgui-java/blob/v1.85.0/example/src/main/java/ExampleImPlot.java)
Advanced 2D Plotting for Dear ImGui. -- [ImGuiColorTextEdit](https://github.com/BalazsJako/ImGuiColorTextEdit/tree/0a88824f7de8d0bd11d8419066caa7d3469395c4) | [Example](https://github.com/SpaiR/imgui-java/blob/v1.84.1.4/example/src/main/java/ExampleImGuiColorTextEdit.java)
+- [ImGuiColorTextEdit](https://github.com/BalazsJako/ImGuiColorTextEdit/tree/0a88824f7de8d0bd11d8419066caa7d3469395c4) | [Example](https://github.com/SpaiR/imgui-java/blob/v1.85.0/example/src/main/java/ExampleImGuiColorTextEdit.java)
Syntax highlighting text editor for ImGui. -- [ImGuiFileDialog](https://github.com/aiekick/ImGuiFileDialog/tree/4d42dfba125cbd4780a90fbc5f75e7dfbae64060) | [Example](https://github.com/SpaiR/imgui-java/blob/v1.84.1.4/example/src/main/java/ExampleImGuiFileDialog.java)
+- [ImGuiFileDialog](https://github.com/aiekick/ImGuiFileDialog/tree/4d42dfba125cbd4780a90fbc5f75e7dfbae64060) | [Example](https://github.com/SpaiR/imgui-java/blob/v1.85.0/example/src/main/java/ExampleImGuiFileDialog.java)
A file selection dialog built for ImGui. ## Freetype @@ -290,7 +290,7 @@ Don't forget to make clear for your Linux/Mac users, that they will need to inst ext { lwjglVersion = '3.2.3' - imguiVersion = '1.84.1.4' + imguiVersion = '1.85.0' } dependencies { diff --git a/gradle.properties b/gradle.properties index 089d3cd..bc73892 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1 +1 @@ -version=1.84.1.4 +version=1.85.0