Skip to content

Commit

Permalink
v1.76-0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
SpaiR committed May 18, 2020
1 parent a4b73ca commit 9cb55e0
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.7.2/imgui-lwjgl3/src/main/java/imgui/gl3/ImGuiImplGl3.java).
See how things are done in [ImGuiImplGl3](https://github.com/SpaiR/imgui-java/blob/v1.76-0.8/imgui-lwjgl3/src/main/java/imgui/gl3/ImGuiImplGl3.java).

Binding has the next version naming: `imguiVersion-bindingVersion`.<br>
For example `1.74-0.1` means that binding uses `1.74` version of **ImGui** and binding itself has version `0.1`.
Expand All @@ -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.7.2 https://github.com/SpaiR/imgui-java.git
git clone --branch v1.76-0.8 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.7.2/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.2/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.76-0.8/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.76-0.8/imgui-lwjgl3/src/test/java/ImGuiGlfwExample.java#L346)
method to try different ImGui widgets in action.

**GIF with example:** https://imgur.com/a/E2rfuCR
Expand All @@ -57,7 +57,7 @@ method to try different ImGui widgets in action.

ext {
lwjglVersion = '3.2.3'
imguiVersion = '1.75-0.7.2'
imguiVersion = '1.76-0.8'
}

dependencies {
Expand Down Expand Up @@ -85,13 +85,13 @@ repositories {
### Step 2
Add binding dependency:
```
implementation 'io.imgui.java:binding:1.75-0.7.2'
implementation 'io.imgui.java:binding:1.76-0.8'
```

### Step 3
If you want to use LWJGL3 renderer:
```
implementation 'io.imgui.java:lwjgl3:1.75-0.7.2'
implementation 'io.imgui.java:lwjgl3:1.76-0.8'
```
**Disclaimer!**<br>
LWJGL3 renderer is based on the `3.2.3` version of the [LWJGL](https://www.lwjgl.org/).
Expand All @@ -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.7.2"
runtimeOnly "io.imgui.java:$imguiNatives:1.76-0.8"
```
Where `imguiNatives` could be:
- `natives-linux`
Expand Down
Binary file modified bin/imgui-java.dll
Binary file not shown.
Binary file modified bin/imgui-java64.dll
Binary file not shown.
Binary file modified bin/libimgui-java.so
Binary file not shown.
Binary file modified bin/libimgui-java64.so
Binary file not shown.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version=1.75-0.7.2
version=1.76-0.8

0 comments on commit 9cb55e0

Please sign in to comment.